View Issue Details

IDProjectCategoryView StatusLast Update
0001052Kali LinuxKali Package Bugpublic2014-02-26 13:49
Reporterd0rm0us3 Assigned Torhertzog  
PriorityhighSeveritytweakReproducibilityalways
Status closedResolutionfixed 
PlatformwintelOS3.12.6-2kali1OS Version1.0.6
Product Version1.0.6 
Fixed in Version1.0.7 
Summary0001052: w3af fails
Description

WARNING: compile error while trying to byte-compile /usr/share/w3af/plugins/attack/db/sqlmap/extra/shutils/_sqlmap.py: SyntaxError: ('invalid syntax', ('/usr/share/w3af/plugins/attack/db/sqlmap/extra/shutils/_sqlmap.py', 7, 16, 'local curcontext="$curcontext" state line\n'))

Needs pip and esmre:root@kali:~/Desktop/hashdumps# 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

Steps To Reproduce

apt-get update && apt-get remove w3af
apt-get update && apt-get dist-upgrade

Activities

rhertzog

rhertzog

2014-02-21 21:50

administrator   ~0001558

How can you reproduce a problem about w3af if the steps to reproduce the problem require you to remove w3af?

The w3af package depends on python-esmre and thus the required python module is installed. I can only assume that you have some sort of local installation of w3af...

saberzaid

saberzaid

2014-02-22 07:12

reporter   ~0001559

i agree with d0rm0us3

but without any Reproduce steps ,

installed fresh kali to make sure , and the bug is there

you can try it , using fresh or corrent kali installation , go to the menu and click on w3af , or open terminal and type w3af , it will not work and the msg is

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

w3af still not working in kali ,,
i got it work by install pip, and then install esmre from the source

d0rm0us3

d0rm0us3

2014-02-25 17:44

reporter   ~0001567

Did a new VM with 1.0.6 for i386.
Tested w3af, worked.
Did "apt-get update && apt-get dist-upgrade"
Test w3af and it was borked.

rhertzog

rhertzog

2014-02-26 11:43

administrator   ~0001568

I did the same on amd64 and IĀ could not reproduce the problem. So it seems to be specific to the i386 architecture. Looking into python-esmre, it's marked as architecture: all but seems to contain a .so file which is a compiled object that is specific to each architecture.

So that's the culprit. I will fix python-esmre...

rhertzog

rhertzog

2014-02-26 13:49

administrator   ~0001572

I uploaded python-esmre_0.3.1-1kali3_source.changes that will fix this problem. Upgrade to python-esmre 0.3.1-1kali3 (once it's available in a few hours) on your machine and you should be fine.

Thanks for your report!

Issue History

Date Modified Username Field Change
2014-02-21 21:06 d0rm0us3 New Issue
2014-02-21 21:50 rhertzog Note Added: 0001558
2014-02-22 07:12 saberzaid Note Added: 0001559
2014-02-25 17:44 d0rm0us3 Note Added: 0001567
2014-02-26 11:43 rhertzog Note Added: 0001568
2014-02-26 13:49 rhertzog Note Added: 0001572
2014-02-26 13:49 rhertzog Status new => closed
2014-02-26 13:49 rhertzog Assigned To => rhertzog
2014-02-26 13:49 rhertzog Resolution open => fixed
2014-02-26 13:49 rhertzog Fixed in Version => 1.0.7