新人求教,kali2.0中的w3af总是卡死,该如何解决

发布网友 发布时间:2022-04-23 01:01

我来回答

1个回答

热心网友 时间:2023-10-09 16:54

自带的w3af,扫描的时候回卡住,关不掉软件,必须结束进程
解决w3af卡死挂掉的方法是重启!
按照下面的命令操作

root@kali:~# apt-get update

root@kali:~# apt-get install -y python-pip w3af
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
python-pip 已经是最新的版本。
python-pip 已设置为手动安装。
w3af 已经是最新的版本。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 18 个软件包未被升级。

root@kali:~# pip install --upgrade pip
Downloading/unpacking pip from https://pypi.python.org/packages/py2.py3/p/pip/pip-8.0.3-py2.py3-none-any.whl#md5=b234250205337ff67967dff300001e3d
Downloading pip-8.0.3-py2.py3-none-any.whl (1.2MB): 1.2MB downloaded
Installing collected packages: pip
Found existing installation: pip 1.5.6
Not uninstalling pip at /usr/lib/python2.7/dist-packages, owned by OS
Successfully installemd d pip
Cleaning up...

root@kali:~# git clone https://github.com/andresriancho/w3af.git
正克隆到 'w3af'...
remote: Counting objects: 133697, done.
remote: Total 133697 (delta 0), reused 0 (delta 0), pack-reused 133697
接收对象中: 100% (133697/133697), 157.08 MiB | 151.00 KiB/s, 完成.
处理 delta 中: 100% (102499/102499), 完成.
检查连接... 完成。

root@kali:~# ls
w3af 公共 模板 视频 图片 文档 下载 音乐 桌面

root@kali:~# cd w3af

root@kali:~/w3af# ./w3af_console //命令行界面
w3af's requirements are not met, one or more third-party libraries need to be installed.

On Kali 2.0 systems please install the following operating system packages before running the pip installer:
sudo apt-get -y install libssl-dev libsqlite3-dev libxslt1-dev libyaml-dev

Your python installation needs the following moles to run w3af:
pyclamd github nltk chardet concurrent.futures pyasn1 lxml scapy.config markdown psutil

After installing any missing operating system packages, use pip to install the remaining moles:
sudo pip install pyClamd==0.3.15 PyGithub==1.21.0 nltk==3.0.1 chardet==2.1.1 futures==2.1.5 pyasn1==0.1.8 lxml==3.4.4 scapy-real==2.2.0-dev markdown==2.6.1 psutil==2.2.1

A script with these commands has been created for you at /tmp/w3af_dependency_install.sh

According to Kali's documentation [0] in order to avoid breaking the packaged w3af version you should run the following commands:

cd ~
apt-get install -y python-pip
pip install --upgrade pip
git clone https/github.com/andresriancho/w3af.git
cd w3af
./w3af_console
. /tmp/w3af_dependency_install.sh

[0] http://www.kali.org/kali-monday/bleeding-edge-kali-repositories/

root@kali:~/w3af# cd /tmp/

root@kali:~/tmp# cat w3af_dependency_install.sh //查看w3af命令行依赖包
!/bin/bash
sudo apt-get -y install libssl-dev libsqlite3-dev libxslt1-dev libyaml-dev

sudo pip install pyClamd==0.3.15 PyGithub==1.21.0 nltk==3.0.1 chardet==2.1.1 futures==2.1.5 pyasn1==0.1.8 lxml==3.4.4 scapy-real==2.2.0-dev markdown==2.6.1 psutil==2.2.1

root@kali:~/tmp# apt-get build-dep python-lxml

root@kali:~/tmp# ./w3af_dependency_install.sh //安装w3af命令行依赖包

root@kali:~/tmp# cd

root@kali:~# cd w3af

root@kali:~/w3af# ./w3af_gui //图形化行界面
you python installation needs the following moles to run w3af:
xdot

After installing any missing operating system packages, use pip to install the remaining moles:
sudo pip install xdot==0.6

A script with these commands has been created for you at /tmp/w3af_dependency_install.sh

root@kali:~/w3af# cat /tmp/w3af_dependency_install.sh
#!/bin/bash

sudo pip install xdot==0.6

root@kali:~/w3af# pip install xdot==0.6
Downloading/unpacking xdot==0.6
Downloading xdot-0.6.tar.gz
Running setup.py (path:/tmp/pip-build-xI8Xu7/xdot/setup.py) egg_info for package xdot

Installing collected packages: xdot
Found existing installation: xdot 0.5
Not uninstalling xdot at /usr/lib/python2.7/dist-packages, owned by OS
Running setup.py install for xdot

Installing xdot script to /usr/local/bin
Successfully installed xdot
Cleaning up...追答刚才写错了,是重装不是重启

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com