forked from sensepost/mana
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ubuntu-install.sh
executable file
·27 lines (20 loc) · 990 Bytes
/
ubuntu-install.sh
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
#!/usr/bin/env bash
set -e
echo SensePost Mana Installer
echo [+] This is not a very good installer, it makes a lot of assumptions
echo [+] It assumes you are running Ubuntu 14.04
echo [+] If you are worried about that, hit Ctl-C now, or hit Enter to continue
read
apt-get install libnl-dev dnsmasq tinyproxy libssl-dev apache2 macchanger python-dnspython python-pcapy dsniff stunnel4
echo "deb http://http.kali.org/kali kali main non-free contrib" > /etc/apt/sources.list.d/mana-kali.list
#echo """Package: sslsplit, python-scapy, metasploit-framework
#Pin: release o=Kali, n=kali
#Pin-Priority: 501""" > /etc/apt/preferences.d/mana-kali.list
gpg --keyserver pgp.mit.edu --recv-keys ED444FF07D8D0BF6
gpg --armor --export ED444FF07D8D0BF6 | apt-key add -
apt-get update
apt-get install sslsplit python-scapy metasploit-framework
cp /etc/apparmor.d/usr.sbin.dhcpd /etc/apparmor.d/disable/
make
make install
echo "[+] All done, I think, run one of the run-mana/start-*.sh scripts now"