Account for the timeout condition

bug/bundler_fix
sinn3r 2012-12-11 16:24:42 -06:00
parent 25d888bebb
commit 0ca1dbd14e
1 changed files with 3 additions and 0 deletions

View File

@ -118,6 +118,9 @@ class Metasploit3 < Msf::Auxiliary
}
})
if not res
print_error("#{peer} - Unable to download the file. The server timed out.")
return
if res and res.body.empty?
print_error("#{peer} - File not found or empty.")
return