More verbose failure messages

bug/bundler_fix
Meatballs 2014-02-07 23:59:28 +00:00
parent 783a986a19
commit dcff06eba1
No known key found for this signature in database
GPG Key ID: 5380EAF01F2F8B38
1 changed files with 5 additions and 1 deletions

View File

@ -343,7 +343,11 @@ class Metasploit3 < Msf::Exploit::Remote
}, 1)
if r
print_error("Received response, exploit probably failed.")
if r.code == 404 and r.body =~ /not exist/
print_error("File: #{file_name} does not exist.")
else
print_error("Received response #{r.code}, exploit probably failed.")
end
end
end