From 5e873d06972279b99306b7e4563bb530a2620888 Mon Sep 17 00:00:00 2001 From: jvazquez-r7 Date: Tue, 30 Oct 2012 12:15:01 +0100 Subject: [PATCH] adding peer information to error message --- .../scanner/http/manageengine_securitymanager_traversal.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/auxiliary/scanner/http/manageengine_securitymanager_traversal.rb b/modules/auxiliary/scanner/http/manageengine_securitymanager_traversal.rb index b716be0c79..94d7797e8e 100644 --- a/modules/auxiliary/scanner/http/manageengine_securitymanager_traversal.rb +++ b/modules/auxiliary/scanner/http/manageengine_securitymanager_traversal.rb @@ -65,7 +65,7 @@ class Metasploit3 < Msf::Auxiliary 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("\t2. The server does not have any patches deployed.") print_error("\t3. Your 'DEPTH' option isn't deep enough.") @@ -89,4 +89,4 @@ class Metasploit3 < Msf::Auxiliary end end -end \ No newline at end of file +end