andresriancho / w3af

w3af: web application attack and audit framework, the open source web vulnerability scanner.
http://w3af.org/
4.56k stars 1.22k forks source link

We recommend you install pip before continuing. http://www.pip-installer.org/en/latest/installing.html #18751

Open ibrahim5830 opened 3 years ago

ibrahim5830 commented 3 years ago

─(rootπŸ’€kali)-[~/w3af] └─# ./w3af_console
We recommend you install pip before continuing. http://www.pip-installer.org/en/latest/installing.html

can anyone help please thanks

jwalker5006 commented 3 years ago

Here is what I have tried so far.

Still no go.

sh-3.2# ./w3af_gui
We recommend you install pip before continuing.
http://www.pip-installer.org/en/latest/installing.html

So you go to the URL Listed, and see if pip (not pip3) is installed

sh-3.2# python -m pip --version
/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: No module named pip

So I try to install pip manually first, Installing with get-pip.py

sh-3.2# curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1891k  100 1891k    0     0  6501k      0 --:--:-- --:--:-- --:--:-- 6501k
sh-3.2# python get-pip.py
ERROR: This script does not work on Python 2.7 The minimum supported Python version is 3.6. Please use https://bootstrap.pypa.io/pip/2.7/get-pip.py instead.

Tells me my python is to old, so I try and upgrade Python https://docs.python-guide.org/starting/install3/osx/ And to use a slighting different installer https://bootstrap.pypa.io/pip/2.7/get-pip.py So we try this

sh-3.2# curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1863k  100 1863k    0     0  5133k      0 --:--:-- --:--:-- --:--:-- 5133k
sh-3.2# python get-pip.py
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Collecting pip<21.0
  Downloading pip-20.3.4-py2.py3-none-any.whl (1.5 MB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 1.5 MB 4.4 MB/s 
Installing collected packages: pip
Successfully installed pip-20.3.4

Which appears to make progress

sh-3.2# ./w3af_gui
Your python installation needs the following modules to run w3af:
    pyclamd github git.util pybloomfilter phply nltk chardet tblib pdfminer concurrent.futures OpenSSL ndg pyasn1 lxml scapy.config guess_language cluster msgpack ntlm Halberd darts.lib.utils jinja2 vulndb markdown psutil ds_store termcolor mitmproxy ruamel.ordereddict Flask yaml tldextract pebble acora esmre diff_match_patch bravado_core lz4 vulners ipaddresses subprocess32 xdot

After installing any missing operating system packages, use pip to install the remaining modules:
    sudo pip install pyClamd==0.4.0 PyGithub==1.21.0 GitPython==2.1.15 pybloomfiltermmap==0.3.14 phply==0.9.1 nltk==3.0.1 chardet==3.0.4 tblib==0.2.0 pdfminer==20140328 futures==3.2.0 pyOpenSSL==18.0.0 ndg-httpsclient==0.4.0 pyasn1==0.4.2 lxml==3.4.4 scapy==2.4.0 guess-language==0.2 cluster==1.1.1b3 msgpack==0.5.6 python-ntlm==1.0.1 halberd==0.2.4 darts.util.lru==0.5 Jinja2==2.10 vulndb==0.1.1 markdown==2.6.1 psutil==5.4.8 ds-store==1.1.2 termcolor==1.1.0 mitmproxy==0.13 ruamel.ordereddict==0.4.8 Flask==0.10.1 PyYAML==3.12 tldextract==1.7.2 pebble==4.3.8 acora==2.1 esmre==0.3.1 diff-match-patch==20121119 bravado-core==5.15.0 lz4==1.1.0 vulners==1.3.0 ipaddresses==0.0.2 subprocess32==3.5.4 xdot==0.6

External programs used by w3af are not installed or were not found.Run these commands to install them on your system:

    npm install -g retire@2.0.3
    npm update -g retire

A script with these commands has been created for you at /tmp/w3af_dependency_install.sh
The GTK package requirements are not met, please make sure your system meets these requirements:
    - PyGTK >= 2.12
    - GTK >= 2.12

The required "dot" binary is missing, please install the "graphviz" package in your operating system.

I think at this point you will be past the pip issue, and on to other dependencies.

caffeineglitch commented 3 years ago

I have the same issue trying to install w3af. I have pip installed:

which pip /usr/bin/pip

which pip3 /usr/bin/pip3

But I still get "We recommend you install pip before continuing" when I try to run w3af_gui or w3af_console.