Skip to content

Commit 39c498f

Browse files
authoredNov 14, 2020
Update jenkins_password_spraying.py
Since Jenkins updated the security framework to spring (since version 2.266), the POST URL is different now Before: "URL + '/j_acegi_security_check'" Now: "URL + '/j_spring_security_check'" The login parameters are still the same "j_username" and "j_password" I have verified this works on the latest version 2.266 https://www.jenkins.io/changelog/
1 parent a2bc5a4 commit 39c498f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎password_spraying/jenkins_password_spraying.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
# UTILS ########################################################################
1313
def try_login(auth):
14-
r = SESSION.post(URL + '/j_acegi_security_check', data=auth, verify=False)
14+
r = SESSION.post(URL + '/j_spring_security_check', data=auth, verify=False)
1515

1616
if r.status_code == 200:
1717
return True

0 commit comments

Comments
 (0)
Please sign in to comment.