这次可能不一样。
代码: 全选
root@wlp2s0-computer:/opt/w3af# find /usr | grep bin/pip
/usr/local/bin/pip2.7
/usr/local/bin/pip
/usr/local/bin/pip2
/usr/bin/pip
/usr/bin/pip2
代码: 全选
Installed /usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg
Processing dependencies for pip==9.0.1
Finished processing dependencies for pip==9.0.1
在使用apt-get purge python-pip命令之后再执行w3af的按装程序,程序会重新安装python-pip
见下面代码。
代码: 全选
root@wlp2s0-computer:/opt# cd w3af
root@wlp2s0-computer:/opt/w3af# ls
circle.yml extras README.md tools w3af w3af_console
doc profiles scripts venv w3af_api w3af_gui
root@wlp2s0-computer:/opt/w3af# ./w3af_gui
w3af's requirements are not met, one or more third-party libraries need to be installed.
On Ubuntu 14.04 systems please install the following operating system packages before running the pip installer:
sudo apt-get -y install python-pip
A script with these commands has been created for you at /tmp/w3af_dependency_install.sh
root@wlp2s0-computer:/opt/w3af# ./w3af_console
w3af's requirements are not met, one or more third-party libraries need to be installed.
On Ubuntu 14.04 systems please install the following operating system packages before running the pip installer:
sudo apt-get -y install python-pip
A script with these commands has been created for you at /tmp/w3af_dependency_install.sh
root@wlp2s0-computer:/opt/w3af# . /tmp/w3af_dependency_install.sh
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
推荐安装的软件包:
python-dev-all
下列【新】软件包将被安装:
python-pip
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
需要下载 0 B/97.3 kB 的软件包。
解压缩后会消耗掉 477 kB 的额外空间。
正在选中未选择的软件包 python-pip。
(正在读取数据库 ... 系统当前共安装有 290359 个文件和目录。)
正准备解包 .../python-pip_1.5.4-1ubuntu4_all.deb ...
正在解包 python-pip (1.5.4-1ubuntu4) ...
正在处理用于 man-db (2.6.7.1-1ubuntu1) 的触发器 ...
正在设置 python-pip (1.5.4-1ubuntu4) ...
root@wlp2s0-computer:/opt/w3af# pip --version
pip 9.0.1 from /usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg (python 2.7)
root@wlp2s0-computer:/opt/w3af# ls
circle.yml extras README.md tools w3af w3af_console
doc profiles scripts venv w3af_api w3af_gui
root@wlp2s0-computer:/opt/w3af# ./w3af_gui
An old pip version was detected. We recommend a pip update before continuing:
sudo pip install --upgrade pip
root@wlp2s0-computer:/opt/w3af# pip --version
pip 9.0.1 from /usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg (python 2.7)
root@wlp2s0-computer:/opt/w3af# pip install --upgrade pip
/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg
root@wlp2s0-computer:/opt/w3af# ./w3af_gui
An old pip version was detected. We recommend a pip update before continuing:
sudo pip install --upgrade pip