View Issue Details

IDProjectCategoryView StatusLast Update
0001018Kali LinuxKali Package Bugpublic2014-02-17 07:18
Reportersaberzaid Assigned Torhertzog  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionunable to reproduce 
Summary0001018: w3af
Description

hello

thank you dev for upgrading the w3af , anyway after trying to run w3af i face this error :

root@kali:~# w3af
Your python installation needs the following modules to run w3af:
esmre

After installing any missing operating system packages, use pip to install the remaining modules:
sudo pip install esmre

A script with these commands has been created for you at /tmp/w3af_dependency_install.sh

Activities

saberzaid

saberzaid

2014-02-07 09:19

reporter   ~0001492

after doing apt-get update and upgrade , there is sill some problem and to fix those problem :
we install esmre from the source

then we do : cd usr/share/w3af

then : git checkout feature/module

then

sudo pip install PyGithub==1.21.0 chardet==2.1.1 futures==2.1.5 pyOpenSSL==0.13.1 scapy-real==2.2.0-dev msgpack-python==0.2.4

, lease investigate this bugs dev , for me after doing all those steps the problems gone and it is working fine ,

saberzaid

saberzaid

2014-02-07 09:32

reporter   ~0001493

another way to fix it:

we install esmre from the source

cd w3af/
git pull
git checkout feature/module

then in the home folder we show the hidden folders and cd to the w3af and delete the old profile and past the new one ( profile folder)

rhertzog

rhertzog

2014-02-07 13:02

administrator   ~0001494

Saberzaid, the workaround you suggest will mess up your system with non-packaged files and can cause unexpected problems in the future.

I couldn't reproduce the problem described here. What version of w3af & w3af-console do you have installed?

The w3af-console package depends on python-esmre already. So you must have that package installed. If yes, what version do you have?

Please paste the output of “reportbug --template w3af-console” and “reportbug --template w3af”. Thank you.

saberzaid

saberzaid

2014-02-08 07:51

reporter   ~0001501

im using the ver from the kali repo (1.5) you can try to run w3af from your system after apt-get update and apt-get upgrade

and see , it will not work , or ist working with you fine?

LeeRock

LeeRock

2014-02-08 23:50

reporter   ~0001502

root@kali:/usr/share/w3af# ./w3af_console
w3af>>>

root@kali:/usr/share/w3af# ./w3af_gui
Starting w3af, running on:
Python version: 2.7.3 (default, Jan 2 2013, 13:56:14) [GCC 4.7.2]
GTK version: 2.24.10
PyGTK version: 2.24.0
w3af version:
w3af - Web Application Attack and Audit Framework
Version: 1.6
Revision: unknown
Distribution: Debian
Author: Andres Riancho and the w3af team.
Traceback (most recent call last):
File "./w3af_gui", line 91, in <module>
err_code = main()
File "./w3af_gui", line 88, in main
core.ui.gui.main.main(profile, doupdate)
File "/usr/share/w3af/core/ui/gui/main.py", line 907, in main
MainApp(profile, do_upd)
File "/usr/share/w3af/core/ui/gui/main.py", line 404, in init
self.pcbody = pluginconfig.PluginConfigBody(self, self.w3af)
File "/usr/share/w3af/core/ui/gui/pluginconfig.py", line 620, in init
self.pan = self._buildpan()
File "/usr/share/w3af/core/ui/gui/pluginconfig.py", line 640, in _buildpan
self.w3af, "standard", self.config_panel)
File "/usr/share/w3af/core/ui/gui/pluginconfig.py", line 226, in init
activated = set(w3af.plugins.get_enabled_plugins(plugintype))
File "/usr/share/w3af/core/controllers/core_helpers/plugins.py", line 128, in get_enabled_plugins
return self._plugins_names_dict[plugin_type]
KeyError: 'discovery'

muts

muts

2014-02-09 01:18

reporter   ~0001503

Last edited: 2014-02-13 20:57

Apologies, i have set up a new system from scratch, and have managed to confirm this bug.

rhertzog

rhertzog

2014-02-14 16:16

administrator   ~0001533

I uploaded w3af_1.5-0kali2.dsc that should fix the issue for people who upgraded from 1.2 to 1.5. Please let me know if this didn't work out as expected.

Issue History

Date Modified Username Field Change
2014-02-07 07:14 saberzaid New Issue
2014-02-07 09:19 saberzaid Note Added: 0001492
2014-02-07 09:32 saberzaid Note Added: 0001493
2014-02-07 13:02 rhertzog Note Added: 0001494
2014-02-07 13:03 rhertzog Assigned To => rhertzog
2014-02-07 13:03 rhertzog Status new => feedback
2014-02-08 07:51 saberzaid Note Added: 0001501
2014-02-08 07:51 saberzaid Status feedback => assigned
2014-02-08 23:50 LeeRock Note Added: 0001502
2014-02-09 01:18 muts Note Added: 0001503
2014-02-09 01:20 muts Note Edited: 0001503
2014-02-09 01:20 muts Status assigned => closed
2014-02-09 01:20 muts Resolution open => unable to reproduce
2014-02-09 01:21 muts Note Edited: 0001503
2014-02-13 20:53 muts Note Edited: 0001503
2014-02-13 20:53 muts Note Edited: 0001503
2014-02-13 20:56 muts Note Edited: 0001503
2014-02-13 20:57 muts Note Edited: 0001503
2014-02-14 16:16 rhertzog Note Added: 0001533