Skip to content

Instantly share code, notes, and snippets.

@souhaiebtar
Last active May 18, 2020 12:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save souhaiebtar/a885574648a406d8cb531e14f05f9b27 to your computer and use it in GitHub Desktop.
Save souhaiebtar/a885574648a406d8cb531e14f05f9b27 to your computer and use it in GitHub Desktop.
[run w3af on ubuntu 1804] how to install dependency used by w3af for ubuntu 1804 #w3af #ubuntu
sudo su -
echo 'deb http://archive.ubuntu.com/ubuntu xenial main universe' >> /etc/apt/sources.list
exit
sudo chown -R `whoami`:`whoami` /usr/local/lib /usr/local/bin

sudo apt-get update

sudo apt-get -y install git python-pip npm libxml2-dev libxslt-dev python-dev python-gtk2-dev python-webkit libffi-dev graphviz libsqlite3-dev libxslt1-dev libyaml-dev libssl1.0-dev python-gtksourceview2 python-gtk2 libxml2-dev python-lxml

npm install -g retire@2.0.3
npm update -g retire

pip install lxml

sudo pip install pyClamd==0.4.0 PyGithub==1.21.0 GitPython==2.1.15 pybloomfiltermmap==0.3.14 phply==0.9.1 nltk==3.0.1 tblib==0.2.0 pdfminer==20140328 futures==3.2.0 pyOpenSSL==18.0.0 ndg-httpsclient==0.4.0 pyasn1==0.4.2 lxml==3.4.4 scapy==2.4.0 guess-language==0.2 cluster==1.1.1b3 msgpack==0.5.6 python-ntlm==1.0.1 halberd==0.2.4 darts.util.lru==0.5 Jinja2==2.10 vulndb==0.1.1 markdown==2.6.1 psutil==5.4.8 ds-store==1.1.2 termcolor==1.1.0 mitmproxy==0.13 ruamel.ordereddict==0.4.8 Flask==0.10.1 PyYAML==3.12 tldextract==1.7.2 pebble==4.3.8 acora==2.1 esmre==0.3.1 diff-match-patch==20121119 bravado-core==5.12.1 lz4==1.1.0 vulners==1.3.0 ipaddresses==0.0.2 subprocess32==3.5.4 xdot==0.6

sudo pip install GitPython==2.1.3

git clone --depth 1 https://github.com/andresriancho/w3af.git
cd w3af
# this is the id of the last commit when i created this gist, it was added to make sur that this instrucations work in the future (as long as dependency above still exist)
git checkout 1910600 
./w3af_gui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment