forked from PowerScript/KatanaFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dependencies
51 lines (46 loc) · 1.54 KB
/
dependencies
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/sh
#HEAD#########################################################
#
# Katana Framework | dependencies
# Last Modified: 13/11/2016
#
#########################################################HEAD#
#please update ur distro after of the installation.
#for more information go to https://github.com/PowerScript/KatanaFramework/wiki/Requisites
# USE
# sudo apt-get update
# sudo apt-get upgrade
if ! hash aircrack-ng 2>/dev/null; then sudo apt-get install --yes aircrack-ng ; fi
if ! hash nmap 2>/dev/null; then sudo apt-get install --yes nmap ; fi
if ! hash apache2 2>/dev/null; then sudo apt-get install --yes apache2 php5 libapache2-mod-php5 ; fi
if ! hash ettercap 2>/dev/null; then sudo apt-get install --yes ettercap-text-only ; fi
if ! hash dhcpd 2>/dev/null; then sudo apt-get install --yes isc-dhcp-server ; fi
if ! hash hostapd 2>/dev/null; then sudo apt-get install --yes hostapd ; fi
if ! hash arpspoof 2>/dev/null; then sudo apt-get install --yes arpspoof ; fi
if ! hash dnsspoof 2>/dev/null; then sudo apt-get install --yes dnsspoof ; fi
if ! hash xterm 2>/dev/null; then sudo apt-get install --yes xterm ; fi
if ! hash default-jre 2>/dev/null; then sudo apt-get install --yes default-jre ; fi
DIR=$(dirname $0)
cd lib/scapy/
sudo python setup.py install
cd ..
cd ..
cd lib/dnslib/
sudo python setup.py install
cd ..
cd ..
cd lib/IPy/
sudo python setup.py install
cd ..
cd ..
cd lib/setuptools/
sudo python bootstrap.py
sudo python setup.py install
cd ..
cd ..
cd lib/libusb1/
sudo python setup.py install
cd ..
cd ..
cd lib/bs4/
sudo python setup.py install