-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·76 lines (76 loc) · 2.92 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/bin/bash
if [[ $EUID -eq 0 ]]; then
echo "This script should not be run as root.." 1>&2
exit 1
fi
sudo apt install ntpdate -y
if [ ! -f /etc/network/if-up.d/ntpdate ] ; then
sudo ntpdate time.nist.gov
fi
#sudo echo 1 > /proc/sys/net/ipv4/ip_forward
#clear
if [ ! -d /pentest ] ; then
sudo mkdir /pentest
sudo chown -R $USER /pentest && chgrp -R $USER /pentest
fi
[ ! -d /pentest/temp ] && mkdir /pentest/temp
[ ! -d /pentest/wireless ] && mkdir /pentest/wireless
[ ! -d /pentest/exploits ] && mkdir /pentest/exploits
[ ! -d /pentest/exploits/exploitdb ] && mkdir /pentest/exploits/exploitdb
[ ! -d /pentest/exploits/powershell ] && mkdir /pentest/exploits/powershell
[ ! -d /pentest/web ] && mkdir /pentest/web
[ ! -d /pentest/scanners ] && mkdir /pentest/scanners
[ ! -d /pentest/misc ] && mkdir /pentest/misc
[ ! -d /pentest/enumeration ] && mkdir /pentest/enumeration
[ ! -d /pentest/voip ] && mkdir /pentest/voip
[ ! -d /pentest/database ] && mkdir /pentest/database
[ ! -d /pentest/passwords ] && mkdir /pentest/passwords
[ ! -d /pentest/fuzzers ] && mkdir /pentest/fuzzers
[ ! -d /pentest/cisco ] && mkdir /pentest/cisco
[ ! -d /pentest/audit ] && mkdir /pentest/audit
[ ! -d /pentest/exfiltrate ] && mkdir /pentest/exfiltrate
if [ ! -d /pentest/misc/va-pt ] ; then
cd /pentest/misc && git clone https://github.com/sec0ps/va-pt.git
fi
clear
selection=
until [ "$selection" = "0" ]; do
echo ""
echo "|\ /|( ___ ) ( ____ )\__ __/"
echo "| ) ( || ( ) | | ( )| ) ( "
echo "| | | || (___) | _____ | (____)| | | "
echo "( ( ) )| ___ |(_____)| _____) | | "
echo " \ \_/ / | ( ) | | ( | | "
echo " \ / | ) ( | | ) | | "
echo " \_/ |/ \| |/ )_( "
echo ""
echo "The Vulnerability Assessment and Penetration Testing Toolkit"
echo ""
echo "VA/PT PROGRAM MENU"
echo "1 - Install Dependencies"
echo "2 - Install SVN Toolkits"
echo "3 - Install Static Code Software"
echo "4 - Install OpenVAS"
echo "5 - Install Weakpass and wordlists (30+ gig)"
echo "6 - Install Nvidia / OpenCL Headers"
echo "7 - Update all tool packages"
echo "8 - Install Firefox Extensions"
echo ""
echo "0 - Exit program"
echo ""
echo -n "Enter Selection:"
read selection
echo ""
case $selection in
1 ) /pentest/misc/va-pt/ubuntu16/deps.sh;;
2 ) /pentest/misc/va-pt/ubuntu16/svn.sh;;
3 ) /pentest/misc/va-pt/ubuntu16/static.sh;;
4 ) sudo apt-get install -y openvas-server openvas-client;;
4 ) /pentest/misc/va-pt/ubuntu16/wordlist.sh;;
6 ) sudo apt-get install -y nvidia-opencl-dev ocl-icd-libopencl1 opencl-headers;;
7 ) /pentest/misc/va-pt/update-tools.sh;;
8 ) firefox https://addons.mozilla.org/en-US/firefox/collections/sec0ps/vapt/ &;;
0 ) exit;;
* ) echo "Please enter your selection"
esac
done