Skip to content

Commit 3b44b4b

Browse files
committed
Use targeturi datastore option
1 parent 05f1f55 commit 3b44b4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/http/jenkins_login.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def run_host(ip)
4040

4141
scanner = Metasploit::Framework::LoginScanner::Jenkins.new(
4242
configure_http_login_scanner(
43-
uri: '/',
43+
uri: datastore['TARGETURI'],
4444
ssl: datastore['SSL'],
4545
method: datastore['HTTP_METHOD'],
4646
cred_details: cred_collection,

0 commit comments

Comments
 (0)