apt-get update
apt-get install -y python-pip w3af
pip install --upgrade pip
git clone https://github.com/andresriancho/w3af.git
cd w3af
./w3af_console
. /tmp/w3af_dependency_install.sh
如果遇到:
ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately
解决:
pip2 install --ignore-installed PyYAML