Fix #5766, check res for send_request_raw

Fix #5766
bug/bundler_fix
wchen-r7 2015-07-23 20:49:18 -05:00
parent 218201b925
commit f5387ab3f2
1 changed files with 5 additions and 0 deletions

View File

@ -88,6 +88,11 @@ class Metasploit3 < Msf::Auxiliary
}
)
unless res
vprint_error("#{peer} - Timed out :-(")
return Exploit::CheckCode::Unknown
end
vmessage = "#{peer} - Checking #{uri} [#{res.code}]"
if res && res.body.include?('Requested Range Not Satisfiable')