print the body as verbose

bug/bundler_fix
jvazquez-r7 2015-09-25 13:51:18 -05:00
parent 80c9cd4e6f
commit f6f3efea75
No known key found for this signature in database
GPG Key ID: 38D99152B9352D83
1 changed files with 2 additions and 1 deletions

View File

@ -130,7 +130,8 @@ class Metasploit3 < Msf::Auxiliary
if res.code == 200
print_good("#{peer} #{map} #{action.name} succeeded")
else
print_error("#{peer} #{map} #{action.name} failed: #{res}")
print_error("#{peer} #{map} #{action.name} failed with response code #{res.code}")
vprint_status("#{res.body}")
end
else
print_error("#{peer} no response for #{map} #{action.name}")