PDA

View Full Version : w3af error , python-webkit lose



when123
2018-05-24, 13:31
root@debian:/var/pentest1/web/w3af# apt-get install python-webkit
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-webkit

Already up to date.
root@debian:/var/pentest1/web/w3af# ./w3af_console
w3af>>> version
w3af - Web Application Attack and Audit Framework
Version: 2018.5.24
Revision: d9aca97764 - 24 May 2018 12:12
Branch: master
Local changes: Yes
Author: Andres Riancho and the w3af team.
w3af>>>


root@debian:/var/pentest1/web/w3af# ./w3af_gui
Traceback (most recent call last):
File "./w3af_gui", line 110, in <module>
_main()
File "./w3af_gui", line 106, in _main
sys.exit(main())
File "./w3af_gui", line 100, in main
from w3af.core.ui.gui.main import main as gui_main
File "/var/pentest1/web/w3af/w3af/core/ui/gui/main.py", line 54, in <module>
from w3af.core.ui.gui import scanrun, helpers, profiles, compare
File "/var/pentest1/web/w3af/w3af/core/ui/gui/scanrun.py", line 27, in <module>
import webkit
ImportError: No module named webkit

root@debian:/var/pentest1/web/w3af# uname --all
Linux debian 4.15.0-kali3-amd64 #1 SMP Debian 4.15.17-1kali1 (2018-04-25) x86_64 GNU/Linux



python --version
Python 2.7.15rc1

grid
2018-05-24, 15:58
When I ran apt-cache on the kali-linux-full package, I didn't see w3af. I'm guessing that's why python-webkit is no longer in the repos, either.

If you want to use w3af, looks like you'll have to install it manually, along with its dependencies. Personally, I avoid that sort of thing; has caused me problems, but your mileage may vary.