parent
3a271e7cc7
commit
217d89fa7c
|
@ -63,7 +63,12 @@ class Metasploit3 < Msf::Auxiliary
|
|||
'uri' => uri + payload,
|
||||
}, 25)
|
||||
|
||||
if (res and res.code == 200 and res.body)
|
||||
if res.nil?
|
||||
print_error("Connection timed out")
|
||||
return
|
||||
end
|
||||
|
||||
if (res.code == 200 and res.body)
|
||||
if res.body.match(/\<html\>(.*)\<\/html\>/im)
|
||||
html = $1
|
||||
|
||||
|
|
Loading…
Reference in New Issue