adding peer information to error message

unstable
jvazquez-r7 2012-10-30 12:15:01 +01:00
parent 196d53aee4
commit 5e873d0697
1 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ class Metasploit3 < Msf::Auxiliary
if res and res.code == 500 and res.body =~ /Error report/ if res and res.code == 500 and res.body =~ /Error report/
print_error("Cannot obtain '#{fname}', here are some possible reasons:") print_error("#{peer} - Cannot obtain '#{fname}', here are some possible reasons:")
print_error("\t1. File does not exist.") print_error("\t1. File does not exist.")
print_error("\t2. The server does not have any patches deployed.") print_error("\t2. The server does not have any patches deployed.")
print_error("\t3. Your 'DEPTH' option isn't deep enough.") print_error("\t3. Your 'DEPTH' option isn't deep enough.")
@ -89,4 +89,4 @@ class Metasploit3 < Msf::Auxiliary
end end
end end
end end