w3af安装升级及创建快捷方式(kali2.0自带的w3af一扫描就挂死)
查看关闭进程
ps aux | grep w3af
root 1653 0.7 2.5 747916 51928 tty2 S+ 00:33 0:01 /usr/bin/python /usr/share/w3af/w3af_gui
root 5392 0.0 0.0 12928 936 pts/0 S+ 00:35 0:00 grep w3af
kill -9 1653 5392
cd~
apt-get update
apt-get install -y python-pip w3af pip进行后续安装
pip install --upgrade pip
git clone http://github.com/andresriancho/w3af.git 下载源代码
cd w3af
./w3af_console(./w3af_gui)
our python installation needs the following modules to run w3af:
pyclamd github git.util pybloomfilter phply nltk chardet tblib concurrent.futures OpenSSL ndg lxml scapy.config guess_language cluster msgpack ntlm jinja2 markdown psutil mitmproxy ruamel.ordereddict Flask tldextract
After installing any missing operating system packages, use pip to install the remaining modules:
sudo pip install pyClamd==0.3.15 PyGithub==1.21.0 GitPython==0.3.2.RC1 pybloomfiltermmap==0.3.14 phply==0.9.1 nltk==3.0.1 chardet==2.1.1 tblib==0.2.0 futures==2.1.5 pyOpenSSL==0.15.1 ndg-httpsclient==0.3.3 lxml==3.4.4 scapy-real==2.2.0-dev guess-language==0.2 cluster==1.1.1b3 msgpack-python==0.4.4 python-ntlm==1.0.1 Jinja2==2.7.3 markdown==2.6.1 psutil==2.2.1 mitmproxy==0.13 ruamel.ordereddict==0.4.8 Flask==0.10.1 tldextract==1.7.2
A script with these commands has been created for you at /tmp/w3af_dependency_install.sh
cd /tmp/
cat w3af_dependency_install.sh
#!/bin/bash
sudo pip install pyClamd==0.3.15 PyGithub==1.21.0 GitPython==0.3.2.RC1 pybloomfiltermmap==0.3.14 phply==0.9.1 nltk==3.0.1 chardet==2.1.1 tblib==0.2.0 futures==2.1.5 pyOpenSSL==0.15.1 ndg-httpsclient==0.3.3 lxml==3.4.4 scapy-real==2.2.0-dev guess-language==0.2 cluster==1.1.1b3 msgpack-python==0.4.4 python-ntlm==1.0.1 Jinja2==2.7.3 markdown==2.6.1 psutil==2.2.1 mitmproxy==0.13 ruamel.ordereddict==0.4.8 Flask==0.10.1 tldextract==1.7.2
apt-get build-dep python-lxml
./temp/w3af_dependency_install.sh
./w3af_gui 图形化
cat /tmp/w3af_dependency_install.sh
#!/bin/bash
sudo pip install xdot==0.6
pip install xdot==0.6 直接执行命令安装
必须进入root/w3af/下 才可以运行安装的w3af ./w3af_console // ./w3af_gui(一般图形化用图标 创建快捷方式)
升级 ait pull
创建快捷方式 copy到桌面
cp /uer/share/applications/w3af.desktop /root/桌面/
然后 改文件内容
Exec=sh -c "/root/w3af/w3af_gui/"
chmod +x w3af.desktop 给予权限
一个是命令行 一个是图形化