-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathautoenum.sh
99 lines (79 loc) · 2.99 KB
/
autoenum.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#!/bin/bash
dir=$(dirname $(readlink -f $0))
if [ ! -x "$(command -v nmap)" ];then
echo "[+] nmap not detected...Installing"
sudo apt-get install nmap -y > installing;rm installing
fi
if [ ! -x "$(command -v nikto)" ];then
echo "[+] nikto not detected. Installing..."
sudo apt-get install nikto -y > installing;rm installing
fi
if [ ! -x "$(command -v gobuster)" ];then
echo "[+] gobuster not detected. Installing..."
sudo apt-get install gobuster -y > installing;rm installing
fi
if [ ! -x "$(command -v whatweb)" ];then
echo "[+] whatweb not detected. installing..."
sudo apt-get install whatweb -y > installing;rm installing
fi
if [ ! -x "$(command -v onesixtyone)" ];then
echo "[+] onesixtyone not detected. Installing..."
sudo apt-get install onesixtyone -y > installing;rm installing
fi
if [ ! -x "$(command -v rpcbind)" ];then
echo "rpcbind not detected. Installing..."
sudo apt-get install rpcbind -y > installing;rm installing
fi
if [ ! -x "$(command -v snmp-check)" ];then
echo "[+] snmp-check not detected. Installing..."
sudo apt-get install snmp-check -y > installing;rm installing
fi
if [ ! -x "$(command -v snmpwalk)" ];then
echo "[+] snmpwalk not detected. Installing..."
sudo apt-get install snmpwalk -y > installing;rm installing
fi
if [ ! -x "$(command -v fierce)" ];then
echo "[+] fierce not detected. Installing..."
sudo apt-get install fierce -y > installing;rm installing
fi
if [ ! -x "$(command -v dnsrecon)" ];then
echo "[+] dnsrecon not detected. Installing..."
sudo apt-get installl dnsrecon -y > installing;rm installing
fi
if [ ! -x "$(command -v dnsenum)" ];then
echo "[+] dnsenum not detected. Installing..."
sudo apt-get install dnsenum -y > installing;rm installing
fi
if [ ! -x "$(command -v oscanner)" ];then
echo "[+] oscanner not detected. Installing..."
sudo apt-get install oscanner -y > installing;rm installing
fi
if [ ! -x "$(command -v wafw00f)" ];then
echo "[+] wafw00f not detected. Installing..."
sudo apt-get install wafw00f -y > installing;rm installing
fi
if [ ! -x "$(command -v odat)" ];then
echo "[+] odat not detected. installing..."
sudo apt-get install odat -y > installing;rm installing
fi
if [ ! -x "$(command -v jq)" ];then
echo "[+] jq not detected. installing..."
sudo apt-get install jq -y > installing;rm installing
fi
if [ ! -x "$(command -v tput)" ];then
echo "[+] tput not detected. installing..."
sudo apt-get install tput -y > installing;rm installing
fi
source $dir/functions/banner.sh
source $dir/functions/upgrade.sh
source $dir/functions/scans.sh
source $dir/functions/enum.sh
source $dir/functions/help_general.sh
source $dir/functions/menu.sh
if [[ $1 == '-nr' ]];then nr=1;fi
clear
banner
if [ $nr ];then tput setaf 2;echo -en "\n[*] autoenum set to noresolve mode";tput sgr0;sleep 0.5;fi
get_ip
halp_meh
menu