Skip to content

Commit 77181bc

Browse files
committed
Prefer peer over rhost/rport
1 parent 587c967 commit 77181bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/http/jenkins_enum.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def run_host(ip)
5151
end
5252

5353
version = res.headers['X-Jenkins']
54-
print_good("#{rhost}:#{rport} Jenkins Version - #{version}")
54+
print_good("#{peer} - Jenkins Version #{version}")
5555
report_service(
5656
:host => rhost,
5757
:port => rport,

0 commit comments

Comments
 (0)