Detailed steps for installing w3af in kali64 bit system version 2017
Enter the installation directory
Cd / usr/local/src/
Download w3af program files
Git clone https://github.com/andresriancho/w3af.git
Cd w3af
Modify the contents of the w3af/core/controllers/dependency_check/requirements.py file as follows
PIPDependency ('pybloomfilter',' pybloomfiltermmap', '0.3.15')
PIPDependency ('OpenSSL',' pyOpenSSL', '16.2.0')
PIPDependency ('lxml',' lxml', '3.7.1')
Modify a file
The vim w3af/core/controllers/dependency_check/platforms/mac.py content is as follows
MAC_CORE_PIP_PACKAGES.remove (PIPDependency ('pybloomfilter',' pybloomfiltermmap', '0.3.15')
Install apt-get install-y python-pybloomfiltermmap graphviz
Then execute the. / w3af_gui command
Will automatically generate the package file shell script that needs to be installed under / tmp, and execute this script
. / tmp/w3af_dependency_install.sh
Because the new version of kali's software no longer includes python-webkit and python-webkit-dev
So only install binaries to install webkit using the dpkg-I binary package name
Since my machine is a 64-bit kali system, I download and install a 64-bit software package. if it is 32-bit, please download the corresponding 32-bit package according to url.
Wget http://ftp.br.debian.org/debian/pool/main/p/pywebkitgtk/python-webkit_1.1.8-3_amd64.deb
This package installation also depends on the other three packages, so download the other three packages
Wget http://ftp.br.debian.org/debian/pool/main/w/webkitgtk/libjavascriptcoregtk-1.0-0_2.4.11-3_amd64.deb
Wget http://ftp.br.debian.org/debian/pool/main/p/python-support/python-support_1.0.15_all.deb
Wget http://ftp.br.debian.org/debian/pool/main/w/webkitgtk/libwebkitgtk-1.0-0_2.4.11-3_amd64.deb
Then execute the installation commands in turn
Dpkg-I libjavascriptcoregtk-1.0-0mm 2.4.11-3_amd64.deb
Dpkg-I python-support_1.0.15_all.deb
Dpkg-I libwebkitgtk-1.0-0mm 2.4.11-3_amd64.deb
Dpkg-I python-webkit_1.1.8-3_amd64.deb
If no error is reported at this time, it means that the webkit module has been installed.
You can verify that it is installed by commanding python to enter the python interpreter and then executing import webkit
It is carried out at this time. W3af/w3af_gui prompt no module named python-gtksourceview2
Execute the command apt-get install python-gtksourceview2 installation
Last。 The w3af/w3af_gui executes successfully and the w3af graphic launch page appears.