Skip to content

Commit 5e873d0

Browse files
author
jvazquez-r7
committed
adding peer information to error message
1 parent 196d53a commit 5e873d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/scanner/http/manageengine_securitymanager_traversal.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def run_host(ip)
6565

6666

6767
if res and res.code == 500 and res.body =~ /Error report/
68-
print_error("Cannot obtain '#{fname}', here are some possible reasons:")
68+
print_error("#{peer} - Cannot obtain '#{fname}', here are some possible reasons:")
6969
print_error("\t1. File does not exist.")
7070
print_error("\t2. The server does not have any patches deployed.")
7171
print_error("\t3. Your 'DEPTH' option isn't deep enough.")
@@ -89,4 +89,4 @@ def run_host(ip)
8989
end
9090
end
9191

92-
end
92+
end

0 commit comments

Comments
 (0)