andresriancho / w3af

w3af: web application attack and audit framework, the open source web vulnerability scanner.
http://w3af.org/
4.52k stars 1.21k forks source link

Installation Issue (Kali) #18858

Open crypt0-kn1ght opened 1 year ago

crypt0-kn1ght commented 1 year ago

This came up when I tried to execute the command './w3af_console'

Traceback (most recent call last): File "/home/crypt/w3af/./w3af_console", line 12, in from w3af.core.controllers.dependency_check.dependency_check import dependency_check File "/home/crypt/w3af/w3af/core/controllers/dependency_check/dependency_check.py", line 26, in from w3af.core.data.db.startup_cfg import StartUpConfig File "/home/crypt/w3af/w3af/core/data/db/startup_cfg.py", line 22, in import ConfigParser ModuleNotFoundError: No module named 'ConfigParser'

cherdt commented 1 year ago

You are probably trying to run w3af_console using Python 3. Try using Python 2 instead.

murraycollingwood commented 1 year ago

FYI. I had the same problem.
I'm not a python user, but by default I appears to have python v3 installed for some other tool. Don't know how to install python 2, so I will delete w3af and try another tool.