W3af installation under kali for web audit

Update of software packages

sudo apt-get install update

2. Entering the installation directory

cd /usr/local/src

3. Download W3af

git clone https://github.com/andresriancho/w3af.git

4. Installation of pybloomfiltermap graphviz after update

sudo apt install -y python-pybloomfiltermmap

这里写图片描述
Successfully installed. Here you can see that the pybloomfiltermap version is 0.3.15 w3af to install with 0.3.14, and the lxml and openssl versions of kali are different from those of W3af to change W3af files to Kali’s own version otherwise there will be errors 5 and changes w3af files after downloading W3af

  1. cd /usr/localI’m not sure if you’re going to be able to do this.W3af
  2. vim w3af/core/Controllers/dependency_check/requirements.py

PIPDpendency(‘pybloomfilter’, ‘pybloomfiltermmap’, ‘0.3.15′), PIPDpendency(‘OpenSSL’, ‘pyOpenSSL’, ‘16.2.0′), PIPDpendency(‘lxml’, ‘lxml’, ‘3.7.1′,

vim w3af/core/controllers/dependency_check/platforms/mac.py

MAC_CORE_PACKAGES.remove(IPDependency), `pyblooftermap’, `0.3.15 ‘ ) 6, execution …/w3af_gui

./w3af_gui

You will show the dependency on which you need to install and generate an enforcement command under/tmp./w3af_dependency_install.sh
这里写图片描述

Run commands under 7, to/tmp

  1. cd /tmp
  2. ./w3af_dependency_install.sh

It’s going to be a long installation.
这里写图片描述

Figure below indicates installation success
这里写图片描述

8 Execute w3af_console and enter y to show success

  1. cd /usr/local/src/w3af
  2. ./w3af_console

9. Execute w3af_gui alerts for the installation of graphviz packages

./w3af_gui

这里写图片描述

9. Installation of grampviz

sudo apt-get install graphviz

10, re-execut w3af_gui hintnomodule named webkit download package

  1. cd ../
  2. wget http://ftp.br.debian.org/debian/pool/main/p/pywebkitgtk/python-webkit_1.1.8–3_amd64.deb

And download dependency.

  1. wget http://ftp.br.debian.org/debian/pool/main/w/webkitgtk/libjavascriptcoregtk-1.0–0_2.4.11–3_amd64.deb
  2. wget http://ftp.br.debian.org/debian/pool/main/p/python-support/python-support_1.0.15_all.deb
  3. wget http://ftp.br.debian.org/debian/pool/main/w/webkitgtk/libwebkitgtk-1.0–0_2.4.11–3_amd64.deb

Installation of dependency and packages

  1. dpkg – I don’t know. libjavascriptcoregtk–1.0–0_2.4.11–3_amd64.Deb
  2. dpkg – I don’t know. python-support_1.0.15_all.Deb
  3. dpkg – I don’t know. libwebkitgtk–1.0–0_2.4.11–3_amd64.Deb
  4. dpkg – I don’t know. python-webkit_1.1.8–3_amd64.Deb

Here is the chart below if the installation order dpkg-i python-webkit_1.1.8-3_amd64.deb is executed, and the repair installation command is executed at –fix-broken install if hint or lack of dependence
这里写图片描述

这里写图片描述

You can re-energize dpkg-i python-webkit_1.1.8-3_amd64.deb
这里写图片描述

To verify whether webkit was installed successfully, access to python and execution of Import Webkit
这里写图片描述

11, re-execut …/w3af_gui hint missing module gtksourceview2

./w3af_gui

这里写图片描述

12. Installation of gtkourceview2

apt-get install python-gtksourceview2

13, re-executed …/w3af_gui, done
这里写图片描述

未经允许不得转载:萌萌Apprentissage » W3af installation under kali for web audit

Like (0) 打赏

Comments 0

Protected with IP Blacklist CloudIP Blacklist Cloud
  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏

//下一个脚本特效
//下一个脚本