forked from pentestmonkey/yaptest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
yaptest-db-ips.sh
executable file
·118 lines (106 loc) · 2.91 KB
/
yaptest-db-ips.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
#!/bin/sh
if [ ! -z $1 ]; then
echo "Usage: $0 dict-dir"
exit 0
fi
if [ `id -u` != "0" ]; then
echo "ERROR: Your UID/EUID isn't 0. You need to root to run some tests. Use sudo or run as root.\n"
exit 1;
fi
# TCP Port-based tests
# Continue with these while we wait for UDP scan to finish
tcp_port_based_tests () {
yaptest-rpcinfo.pl
yaptest-rdp-sec-check.pl
rpcinfo_based_tests
yaptest-web-check.pl
yaptest-splunk-check.pl
yaptest-nxscan.pl
yaptest-ms08-067-check.pl
yaptest-ident-user-enum.pl
yaptest-dcetest.pl
yaptest-nmap-tcp.pl openonly
yaptest-parse-nmap-xml.pl nmap-tcp*.xml
yaptest-tnscmd.pl
yaptest-nfs.pl
yaptest-oscanner.pl
yaptest-msf-oracle-sid-guess.pl
nmap_service_based_tests
yaptest-bannergrab.pl
yaptest-finger-user-enum.pl
yaptest-smtp-user-enum.pl
yaptest-amap-tcp.pl
yaptest-sslscan.pl
yaptest-sslyze.py
yaptest-ssl-cipher-suite-enum.pl
yaptest-ssl-check.pl
yaptest-vessl.pl
yaptest-httprint.pl
yaptest-smtpscan.pl
yaptest-hoppy.pl
yaptest-x-open.pl
yaptest-enum4linux.pl
yaptest-ssh-keyscan.pl
password_guessing
}
nmap_service_based_tests () {
yaptest-ldapsearch.pl
yaptest-telnet-fuser.pl
yaptest-web-screenshot.pl
yaptest-nikto.pl &
}
rpcinfo_based_tests () {
# Tests based on output of rpcinfo
yaptest-rexd.pl
yaptest-kcmsd-fileread.pl
yaptest-showmount.pl
yaptest-rup.pl
yaptest-rusers.pl
}
password_guessing () {
# Most password guessing turned off by default to
# avoid accidentially locking accounts
# yaptest-password-guess-ftp.pl
yaptest-password-guess-mssql.pl
# yaptest-password-guess-rlogin.pl
# yaptest-password-guess-smb.pl
# yaptest-password-guess-ssh.pl
}
# Quick TCP portscan followed by
yaptest-dns-grind-ptr.pl # Get DNS PTR records
yaptest-yapscan-tcp.pl quick # Quick TCP port scan
yaptest-nmap-udp.pl & # To UDP scans in background while we test
# the TCP services found.
yaptest-udp-proto-scanner.pl
yaptest-traceroute.pl & # Traceroute are slow too
yaptest-nbtscan.pl # Get windows hostname info
tcp_port_based_tests # Test the TCP services found so far.
# Some scans that run against every IP
yaptest-ike-scan.pl
yaptest-yapscan-icmp.pl
yaptest-ping-r.pl
yaptest-gateway-finder.pl
yaptest-mop-check.pl
yaptest-onesixtyone.pl
yaptest-nmap-ip-protocols.pl &
# Complete the TCP-based testing
yaptest-yapscan-tcp.pl full # Find remaining TCP services
tcp_port_based_tests # Test the remaining TCP services
# Tests based on other stuff
yaptest-snmpwalk.pl
# Wait for UDP nmap scan then run some UDP-based tests
wait
yaptest-parse-nmap-xml.pl nmap-udp*.xml
yaptest-nmap-udp.pl # will do full udp scan on quick hosts
yaptest-nessus3.pl
yaptest-nessus5.pl
yaptest-issues.pl parse nessus-report-*.html
yaptest-openvas.pl
yaptest-amap-udp.pl
yaptest-bannergrab.pl
yaptest-fpdns.pl
yaptest-dns.pl
yaptest-ntp.pl
yaptest-tftp.pl
yaptest-issues.pl insecgen
yaptest-metasploit-exploit-suggest.pl