Skip to content

Commit 328be3c

Browse files
committed
Fine Tuning Jenkins Login Module
At the request of the maintainers, I have deregistered the RHOST option and made the failure proof a verbose only print.
1 parent eed0958 commit 328be3c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/auxiliary/scanner/http/jenkins_login.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ def initialize
2828
], self.class)
2929

3030
register_autofilter_ports([ 80, 443, 8080, 8081, 8000 ])
31+
32+
deregister_options('RHOST')
3133
end
3234

3335
def run_host(ip)
@@ -66,7 +68,7 @@ def run_host(ip)
6668
print_good "#{ip}:#{rport} - LOGIN SUCCESSFUL: #{result.credential}"
6769
else
6870
invalidate_login(credential_data)
69-
print_status "#{ip}:#{rport} - LOGIN FAILED: #{result.credential} (#{result.status}: #{result.proof})"
71+
vprint_status "#{ip}:#{rport} - LOGIN FAILED: #{result.credential} (#{result.status}: #{result.proof})"
7072
end
7173
end
7274

0 commit comments

Comments
 (0)