Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucifer1993 committed Aug 24, 2018
1 parent 7b9f73a commit 0e4e490
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions struts-scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,9 @@ def scan(self):
req = requests.get(self.url, timeout=6, verify=False, allow_redirects=True)
if r"670592745" in req.url:
cprint("目标存在struts2-057漏洞..(只提供检测)", "red")
filecontent.writelines("struts2-057 success!!!\n")
else:
cprint("目标不存在struts2-057漏洞..(只提供检测)", "green")
except:
cprint("检测struts2-057超时..", "cyan")
print "超时原因: ", e
Expand Down
Empty file added success.txt
Empty file.

0 comments on commit 0e4e490

Please sign in to comment.