PDA

View Full Version : Need help with installing w3af



luciferxe
2013-05-05, 22:44
Hello all. I have noticed the version of w3af with kali is outdated.
I was wondering if anyone could help me with updating it?

All I have found for info on this was
http://m3tamantra.wordpress.com/2013/03/31/w3af-kali-linux-1-0/

It is numbers 4 and 5 I am having the issue with. I do not know where I should extract them.

I know it is probably right in front of me lol.

g0tmi1k
2013-05-06, 11:34
I would suggest adding the bleeding edge repos: http://www.kali.org/kali-monday/bleeding-edge-kali-repositories/
There already has been a request in the bug tracker for an upgrade: http://bugs.kali.org/view.php?id=344

luciferxe
2013-05-06, 23:20
I did that and now I get thebug stated here http://bugs.kali.org/view.php?id=197

Is therea current work around?

r0ehrin
2013-05-16, 02:34
I just did

apt-get install w3af
apt-get install w3af-console

Now w3af is running without errors.

charsta
2013-06-02, 11:31
I added the bleeding edge repos. and system found an update for w3af. But when update it and run it, it still opens me the 1.2 version.
If I delete it and install it again it will update correctly?
Thank you.

zimmaro
2013-06-02, 14:09
I added the bleeding edge repos. and system found an update for w3af. But when update it and run it, it still opens me the 1.2 version.
If I delete it and install it again it will update correctly?
Thank you.

this method is NOT GOOD for KALI!!!(i-think)...
but in my VM-TESTING(32) worked-fine!(following the original-instructions)

root@hk3r:cd /usr/share/
root@hk3r:/usr/share# rm -rf w3af
root@hk3r:/usr/share# git clone https://github.com/andresriancho/w3af.git
root@hk3r:/usr/share# cd w3af
root@hk3r:/usr/share/w3af# apt-get install libsqlite3-dev python-setuptools python-pip
root@hk3r:/usr/share/w3af# pip install clamd PyGithub GitPython pybloomfiltermmap esmre nltk pdfminer futures guess-language cluster msgpack-python python-ntlm
root@hk3r:/usr/share/w3af# pip install -e git+git://github.com/ramen/phply.git#egg=phply
root@hk3r:/usr/share/w3af# pip install xdot
root@hk3r:/usr/share/w3af# cd
root@hk3r:~# w3af
http://imageshack.us/f/690/w3af15.png/

charsta
2013-06-02, 15:31
this method is NOT GOOD for KALI!!!(i-think)...
but in my VM-TESTING(32) worked-fine!(following the original-instructions)

root@hk3r:cd /usr/share/
root@hk3r:/usr/share# rm -rf w3af
root@hk3r:/usr/share# git clone https://github.com/andresriancho/w3af.git
root@hk3r:/usr/share# cd w3af
root@hk3r:/usr/share/w3af# apt-get install libsqlite3-dev python-setuptools python-pip
root@hk3r:/usr/share/w3af# pip install clamd PyGithub GitPython pybloomfiltermmap esmre nltk pdfminer futures guess-language cluster msgpack-python python-ntlm
root@hk3r:/usr/share/w3af# pip install -e git+git://github.com/ramen/phply.git#egg=phply
root@hk3r:/usr/share/w3af# pip install xdot
root@hk3r:/usr/share/w3af# cd
root@hk3r:~# w3af
http://imageshack.us/f/690/w3af15.png/

Thank you zimmaro.
These steps got me the new version of w3af but now I have another problem.
W3af is acting strange. When I start it I maximise it for better view. I'm filling in what I what to scan and click start.
During scanning it's leaving from maximise and start expand and reduce its size to the right.
I didn't have this problem with Kali's previous version.
(I don't know if I can post this kind of questions/problems here, as in not related directly with Kali.)

mirthless
2013-06-11, 10:03
I was getting the following error "w3afException: There was an error while importing plugins.discovery.wordnet: "No module named nltk.corpus.util".
"

so i am trying to solve it with "apt-get install libsqlite3-dev python-setuptools python-pip",but i am getting an error.

Qoute:
apt-get install libsqlite3-dev python-setuptools python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python-setuptools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package libsqlite3-dev
E: Package 'python-setuptools' has no installation candidate
E: Unable to locate package python-pip


In other words, i cant get W3af to work at all.

zimmaro
2013-06-12, 07:49
I was getting the following error "w3afException: There was an error while importing plugins.discovery.wordnet: "No module named nltk.corpus.util".
"

so i am trying to solve it with "apt-get install libsqlite3-dev python-setuptools python-pip",but i am getting an error.

Qoute:
apt-get install libsqlite3-dev python-setuptools python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python-setuptools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package libsqlite3-dev
E: Package 'python-setuptools' has no installation candidate
E: Unable to locate package python-pip


In other words, i cant get W3af to work at all.

This answer is only related to the apt-get install ............:
check your "repository" in /etc/apt/sources.list
MY:
root@hk3r:~# more /etc/apt/sources.list
#

# deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130311-2
0:38]/ kali contrib main non-free

#deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130311-20
:38]/ kali contrib main non-free

deb http://http.kali.org/kali kali main non-free contrib
deb-src http://http.kali.org/kali kali main non-free contrib

## Security updates
deb http://security.kali.org/kali-security kali/updates main contrib non-free

deb http://repo.kali.org/kali kali-bleeding-edge main

#deb http://ftp.us.debian.org/debian/ sid main non-free contrib
#deb http://ftp.it.debian.org/debian wheezy main

Make them equal && apt-get update &&

root@hk3r:~# apt-get install libsqlite3-dev python-setuptools python-pip
Reading package lists ... done
Building dependency tree
Reading state information ... done
libsqlite3-dev is already the newest version.
python-pip is already the newest version.
python-setuptools is already to the latest version.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

I have already previously installed :)