Lucifer1993 / struts-scan

Python2编写的struts2漏洞全版本检测和利用工具

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SyntaxError: Missing parentheses in call to 'print'的问题

dangshanli opened this issue · comments

执行python struts-scan.py [url]

报出:
File "struts-scan.py", line 195
print prompt,
^
SyntaxError: Missing parentheses in call to 'print'

是我使用的姿势不对么?

你用的是python3执行的吧?python2.x是不会出现这个问题的。

建议在 README 上写一下用 Python 2?或者过渡到 Python 3?