forked from PowerScript/KatanaFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dependencies
36 lines (31 loc) · 1.17 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
#!/bin/sh
#HEAD#########################################################
#
# Katana Framework | dependencies
# Last Modified: 29/07/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 ettercap-text-only ; fi
if ! hash dhcpd 2>/dev/null; then sudo apt-get install isc-dhcp-server ; fi
if ! hash hostapd 2>/dev/null; then sudo apt-get install hostapd ; fi
if ! hash arpspoof 2>/dev/null; then sudo apt-get install arpspoof ; fi
if ! hash dnsspoof 2>/dev/null; then sudo apt-get install dnsspoof ; 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