Update (2013/06/11)
It seems that I missed the dev package for python, I added it below.
Also, if pip fails for some reason and the apt commands are available, you can try your luck with apt-get.
Thanks to the good folks who commented below!
Install pip to install dependencies
sudo apt-get install python-pip
Install dependencies
sudo apt-get install python2.7 python2.7-dev
sudo pip install fpconst
sudo pip install nltk
sudo pip install SOAPpy
sudo pip install pyPdf
sudo apt-get install libxml2-dev
sudo apt-get install libxslt-dev
sudo pip install lxml
sudo pip install pyopenssl
(Download from http://www.secdev.org/projects/scapy/)
sudo pip install scapy-latest.tar.gz
(Download from http://pysvn.tigris.org/)
sudo pip install pysvn-1.7.6.tar.gz
or
sudo apt-get install python-svn, if on Ubuntu
sudo pip install pybloomfiltermmap
GUI Dependencies
sudo apt-get install graphviz
sudo apt-get install libgraphviz-dev
sudo apt-get install libgraphviz
sudo apt-get install python-gtk2
sudo apt-get install python-gtksourceview2
sudo apt-get install python-gtksourceview2
Finally, w3af
svn co https://w3af.svn.sourceforge.net/svnroot/w3af/trunk w3af
./w3af_console
or
./w3af_gui
Enjoy!
References
[1] http://survivalbit.com/blog/article/w3af-virtualenv-osx/
11 comments:
Thanks works everything fine!!!! I was spend days looking for the solution.
Regards,
sudo pip install pybloomfiltermmap
needs the python dev package
so, if you get an error like python.h not found just run sudo apt-get install python2.7-dev
thanks a lot, works perfectly, even for the UI, which crashed previously.
note that for some dependencies, as lxml, if the pip install doesnt work, bypass it by using apt-get.
sudo apt-get install python2.7-dev
is missing and might fail with some people who get stuck :)
The sourceforge link above is outdated, and no longer contains the current version of w3af.
The correct incantation is listed on the download page http://w3af.org/download and as of today directs users to:
git clone https://github.com/andresriancho/w3af.git
http://pastebin.com/eZLEfvfP
The pip install was failing on pybloomfiltermmap. It was not able to find the openssl source code. So I apt-get installed libssl-dev and re-ran the pip install. It completed successfully.
This was on Ubuntu 13.04. Hope this helps someone else out.
For the rendering responses you might also want to install python-webkit.
error:
anderson@elementary:~$ sudo pip install pybloomfiltermmap
Downloading/unpacking pybloomfiltermmap
Downloading pybloomfiltermmap-0.3.12.macosx-10.9-intel.tar.gz (94Kb): 94Kb downloaded
Running setup.py egg_info for package pybloomfiltermmap
Traceback (most recent call last):
File "", line 14, in
IOError: [Errno 2] No such file or directory: '/home/anderson/build/pybloomfiltermmap/setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 14, in
IOError: [Errno 2] No such file or directory: '/home/anderson/build/pybloomfiltermmap/setup.py'
----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /home/anderson/.pip/pip.log
arimu@arimu-laptop:~$ sudo apt-get install libgraphviz
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgraphviz
any one can help for this error ? this my first time use linux on my notebook.
thanks before.
arimu@arimu-laptop:~$ sudo apt-get install libgraphviz
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgraphviz
any one can help for this error ? this my first time use linux on my notebook.
thanks before.
Post a Comment