-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathnotify_recon.sh
55 lines (41 loc) · 1.36 KB
/
notify_recon.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
#!/usr/bin/bash
echo "
";
nuclei --update-templates --silent
read -p "Enter domain names seperated by 'space': " input
for i in ${input[@]}
do
echo "
.
.
.
Scan Started for $i
" | notify --silent
mkdir $i
subfinder -d $i | httpx >> $i/subdomains.txt
echo "Subdomains saved at $i/subdomains.txt" | notify
echo "Scan for CVES started." | notify
nuclei -l $i/subdomains.txt -t cves/ -o $i/cves.txt | notify
echo "Scan for CVES completed." | notify
echo "Scan for default-logins started." | notify
nuclei -l $i/subdomains.txt -t default-logins/ -o $i/default-logins.txt | notify
echo "Scan for default-logins completed." | notify
echo "Scan for exposures started." | notify
nuclei -l $i/subdomains.txt -t exposures/ -o $i/exposures.txt | notify
echo "Scan for exposures completed." | notify
echo "Scan for misconfigurations started." | notify
nuclei -l $i/subdomains.txt -t misconfiguration/ -o $i/misconfiguration.txt | notify
echo "Scan for misconfigurations completed."| notify
echo "Scan for takeovers started."| notify
nuclei -l $i/subdomains.txt -t takeovers/ -o $i/takeovers.txt | notify
echo "Scan for takeovers completed."| notify
echo "Scan for vulnerability started."| notify
nuclei -l $i/subdomains.txt -t vulnerabilities/ -o $i/vulnerabilities.txt | notify
echo "Scan for vulnerability completed."| notify
echo "
.
.
.
Scan finished for $i
" | notify --silent
done