From 4509c11916825b6d9dce822f8bae508992346079 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Sun, 15 Jul 2012 21:21:13 -0500 Subject: [PATCH] Fingerprint dd-wrt even when auth is required --- lib/msf/core/exploit/http/client.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/msf/core/exploit/http/client.rb b/lib/msf/core/exploit/http/client.rb index 7fee95da7c..6013245721 100644 --- a/lib/msf/core/exploit/http/client.rb +++ b/lib/msf/core/exploit/http/client.rb @@ -645,8 +645,8 @@ module Exploit::Remote::HttpClient case res.body when nil # Nothing - when /openAboutWindow.*\>DD\-WRT ([^\<]+)\DD\-WRT ([^\<]+)\<|Authorization.*please note that the default username is \"root\" in/ + extras << "DD-WRT #{$1.to_s.strip}".strip when /ID_ESX_Welcome/, /ID_ESX_VIClientDesc/ extras << "VMware ESX Server"