错误:您有一个过时的python请求版本。请升级

时间:2015-04-14 15:47:08

标签: python linux wapiti

我的问题是每当我命令wapiti它给我这条消息时:

root@ kali: ~#wapiti
Wapiti - 2.3.0(wapiti.sourceforge.net)
Error: You have an outdated version of python - requests.Please upgrade 

我已将其升级到最新版本:

root@kali:~#  apt-get install python-requests
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-requests is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@kali:~# apt-get install wapiti
Reading package lists... Done
Building dependency tree       
Reading state information... Done
wapiti is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

我的kali版本是最新版本,我已经下载了Iso和图像其他版本来解决它但我在每一个版本中遇到它...如果这有帮助我就是amd64。

2 个答案:

答案 0 :(得分:3)

运行以下命令升级requests模块:

pip install requests --upgrade

答案 1 :(得分:3)

1- apt-get删除python-requests

2- pip安装请求

3- apt-get install python-requests

4- wapiti它会起作用。

Wapiti-2.3.0 (wapiti.sourceforge.net)
Wapiti-2.3.0 - Web application vulnerability scanner 
Usage: python wapiti.py http://server.com/base/url/ [options]