2017-11-22 12:48 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0003692Kali Linux[All Projects] Kali Package Bugpublic2016-10-25 15:01
Reporterasketsus 
Assigned Tosbrun 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
Product Version2016.2 
Target VersionFixed in Version2017.1 
Summary0003692: w3af is not launched
DescriptionWhen I try to launch w3af, I receive this error:

root@kali-virtualbox:~# w3af
It seems that your Python installation does not have all the modules required by the w3af framework. For more information about how to install and debug dependency issues please browse to http://docs.w3af.org/en/latest/install.html
Traceback (most recent call last):
  File "/usr/bin/w3af", line 151, in <module>
    _main()
  File "/usr/bin/w3af", line 147, in _main
    sys.exit(main())
  File "/usr/bin/w3af", line 142, in main
    return console.sh()
  File "/usr/share/w3af/w3af/core/ui/console/console_ui.py", line 145, in sh
    self._context = rootMenu(name, self, self._w3af)
  File "/usr/share/w3af/w3af/core/ui/console/rootMenu.py", line 70, in __init__
    'kb': kbMenu
  File "/usr/share/w3af/w3af/core/ui/console/util.py", line 26, in mapDict
    fun(p, dct[p])
  File "/usr/share/w3af/w3af/core/ui/console/menu.py", line 110, in addChild
    name, self._console, self._w3af, self, *params)
  File "/usr/share/w3af/w3af/core/ui/console/exploit.py", line 47, in __init__
    plugin = self._w3af.plugins.get_plugin_inst('attack', plugin_name)
  File "/usr/share/w3af/w3af/core/controllers/core_helpers/plugins.py", line 247, in get_plugin_inst
    plugin_inst = factory('w3af.plugins.%s.%s' % (plugin_type, plugin_name))
  File "/usr/share/w3af/w3af/core/controllers/misc/factory.py", line 62, in factory
    __import__(module_name)
  File "/usr/share/w3af/w3af/plugins/attack/sqlmap.py", line 37, in <module>
    from w3af.plugins.attack.db.sqlmap_wrapper import Target, SQLMapWrapper
  File "/usr/share/w3af/w3af/plugins/attack/db/sqlmap_wrapper.py", line 33, in <module>
    from w3af.core.controllers.daemons.proxy import Proxy
  File "/usr/share/w3af/w3af/core/controllers/daemons/proxy/__init__.py", line 1, in <module>
    from .handler import ProxyHandler
  File "/usr/share/w3af/w3af/core/controllers/daemons/proxy/handler.py", line 25, in <module>
    from netlib.odict import ODictCaseless
ImportError: No module named odict

I've reproduced this error in two differents Kali installations.
Steps To Reproduceapt-get update
apt-get upgrade
apt-get dist-upgrade
w3af
Additional InformationIf I try to install python-netlib, apt removes w3af installation. In the same way, if I try to install w3af with python-netlib installed, it removes python-netlib.
Attached Files

-Relationships
+Relationships

-Notes

~0006074

asketsus (reporter)

root@kali-virtualbox:~# w3af -v
w3af - Web Application Attack and Audit Framework
Version: 1.7.6
Revision: unknown
Distribution: Kali Linux Rolling
Branch: unknown
Local changes: No
Author: Andres Riancho and the w3af team.

~0006075

asketsus (reporter)

root@kali-virtualbox:~# apt-get install w3af
Reading package lists... Done
Building dependency tree
Reading state information... Done
w3af is already the newest version (1.6.54+git20160429-3kali1).
w3af set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

~0006076

rhertzog (administrator)

the neblib python modules is now provided by mitmproxy (on which w3af-console depends) so the installation conflict is expected. But somehow there must be some version mismatch between the two explaining this error.

Thanks for the report, we will look into it.

~0006078

sbrun (manager)

the new mitmproxy (version 0.18.1) is not compatible with w3af. I included in w3af the old version of mitmproxy (mitmproxy, netlib and pathod).
New version of w3af is 1.6.54+git20160429+1-0kali1
+Notes

-Issue History
Date Modified Username Field Change
2016-10-25 06:32 asketsus New Issue
2016-10-25 06:35 asketsus Note Added: 0006074
2016-10-25 06:38 asketsus Note Added: 0006075
2016-10-25 07:00 rhertzog Note Added: 0006076
2016-10-25 07:00 rhertzog Assigned To => sbrun
2016-10-25 07:00 rhertzog Status new => assigned
2016-10-25 15:01 sbrun Note Added: 0006078
2016-10-25 15:01 sbrun Status assigned => resolved
2016-10-25 15:01 sbrun Resolution open => fixed
2016-10-25 15:01 sbrun Fixed in Version => 2017.1
+Issue History