Skip to content

Commit

Permalink
Update struts-scan.py
Browse files Browse the repository at this point in the history
make a update
  • Loading branch information
Lucifer1993 authored Nov 1, 2016
1 parent 81112e4 commit 9864962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion struts-scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def check(self, pocname, vulnstr):
cprint("目标不存在" + pocname +"漏洞..", "green")

def scan(self):
cprint("-------检测struts2漏洞--------", "cyan")
cprint("-------检测struts2漏洞--------\n目标url:"+self.url, "cyan")
try:
req = requests.post(self.url, headers=headers, data=self.poc['ST2-005'], timeout=6, verify=False)
self.check("struts2-005", req.text)
Expand Down

0 comments on commit 9864962

Please sign in to comment.