Hi,

I faced lot of issues while installing and running W3af on Ubuntu and
the I've come up with the following steps that will help in easy
installation.

1.      Install Ubuntu 14.04.5 on VMware player
2.      Note: the dependencies package should be installed of the same version 
as mentioned when the dependency is missing.       Installing latest version 
might create error. Install the latest version (like new version of pip) only 
when it is required.
3.      Note: if uninstall fails or is unable to connect to proxy or url, give 
proxy command
               a.       –proxy=<proxy address>:<port number>
4.      Open terminal and enter the following commands
               a.       sudo -sH
                        cd /opt

                        apt-get update
                        apt-get install git build-essential

                       git clone
https://github.com/andresriancho/w3af.git

                       apt-get install python2.7-dev python-setuptools
python-pip

              b.        (Or -> apt-get install python2.7-dev python-
setuptools python-pip –proxy=<proxy address>:<port number> )

5.      run the following command
             a. cd w3af/
             b.          ./w3af_console
6.      You might be asked to upgrade to latest version of pip
7.      Check the version of pip by typing : pip –version
8.      Download the latest version of pip ( tar.gz file)
             a. Extract the file
             b. Go to terminal and go inside the pip folder 
             c. Enter sudo –sH ( command for root)
             d. Enter  : python setup.py install
             e. This will install latest version of pip
              f.        ( or download get-pip.py file and run this file in cmd)
9.      Now enter the command : 
             a. ./w3af_console
10.     Then we try to run the w3af_console command, which will most likely 
fail because of missing dependencies. This command will generate a helper 
script at /tmp/w3af_dependency_install.sh that when run will install all the 
required dependencies.
11.     Now check the file : w3af_dependency_install.sh for all the missing 
dependencies
12.     Copy those command and run them in terminal ( inside opt folder , with 
–proxy<port address and number> mentioned)
13.     Install the missing dependencies
14.     Write command : python ez_setup.py install.
              a.        this is for installing the setup tools. Latest version
15.     download vulndb – installation error. 
16.     Inside vulndb folder. Open the setup.py file and change 
setuptools_git-1.1 to setuptools-git-1.1
17.     Install setuptools-git-1.1. give command: python setup.py install 
(inside the setup tools git folder)
18.     Now install vulndb. give cmd- python setup.py install ( inside vulndb 
folder)
19.     W3af is ready to run
20.     Now go inside w3af folder. Enter command : ./w3af_console. 
21.     No missing dependencies will be there.
22.     Command:
              a.        pip freeze | grep futures    --this command will show 
the version of futures installed.
             b. Output of the above cmd: futures==2.1.5
             c. Pip freeze    -- this command will show all the list of 
dependencies installed with the specific version.
23.     For running: ./w3af_gui , you might be missing a package or dependency. 
Install those and then run again.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1096580

Title:
  Missing package dependencies make w3af unable to run

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/w3af/+bug/1096580/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to