chown root:root /tmp/w3af_dependency_install.sh vim w3af_console
注释掉dependency_check()函数,在第13行 不注释有的即使装了环境也无法启动
1 2 3 4 5 6 7
┌──(root㉿kali)-[/opt/漏洞分析/w3af] └─# ./w3af_console /usr/share/offsec-awae-wheels/pyOpenSSL-19.1.0-py2.py3-none-any.whl/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release. Usage of w3af for sending any traffic to a target without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program. Do you accept the terms and conditions? [Ny] y w3af>>> exit
设置环境变量
1 2 3 4 5 6 7 8 9
┌──(kali㉿kali)-[/opt/漏洞分析/w3af] └─$ sudo vim /etc/profile