-1

I'm trying to use the app wapiti to make some security test in a web project running in localhost, but i have some problems with the syntax of Python. I follow the instructions that they give in wapiti project site and write this:

C:\Python27\python C:\Wapiti\wapiti.py http://server.com/base/url/

but i get this:

SintaxError: Invalid Sintax

I had read that the syntax of python changed in that version... I really need help please.

4

2 回答 2

0

看起来 Wapiti 更喜欢 Python 2.3。我根据 Wapiti 2006 年的版权日期和手册中的注释来判断它的一个选项在 Python 2.4 中不起作用。

您可以简单地安装 Python 2.3。如果它在您的技能范围内,您可能希望将其安装在虚拟机或 Python virtualenv 中。

于 2012-02-24T04:54:21.217 回答
0

先做这个设置

转到控制面板->系统安全->系统->高级系统设置->单击环境变量->更改列表框中的路径->变量值=;C:\Python27\将其与实际文本连接起来..

  1. 运行命令提示符
  2. 转到 wapiti 文件路径

例子:

D:\wapiti\wapiti-2.2.1\src\python wapiti.py http://domainname.com/ -[options]
D:\wapiti\wapiti-2.2.1\src\python wapiti.py http://domainname.com/ -s
D:\wapiti\wapiti-2.2.1\src\python wapiti.py http://domainname.com/ -h
于 2012-11-27T06:20:54.400 回答