-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.sh
More file actions
102 lines (74 loc) · 2.12 KB
/
Copy pathrun.sh
File metadata and controls
102 lines (74 loc) · 2.12 KB
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
#!/bin/bash
function banner(){
echo -e '''\033[1;38;5;013m
___ ___ ___
| |__ | | |__
|___ | | | |___
'''
echo -e " \033[1;38;5;051m \e[5mRobinTrigon | 3rr0r-404"
echo -e "\033[0m"
}
function menu(){
echo -e " Select Which Type of scan U want to perform."
echo -e " [1] Single url:"
echo -e " [2] Multiple url:"
echo -e " [3] Exit"
read Type
if [ $Type -eq 1 ]; then
Single
elif [ $Type -eq 2 ]; then
multi
elif [ $Type -eq 3 ]; then
exit
fi
}
function Single(){
echo -e -n " [*] Enter your url:"
read url
echo -e -n " [*] Enter your payload list:"
read payload
echo -e "\n\033[1;38;5;154m [+] S C A N N I N G.."
for j in $(cat $payload); do
echo "$url" | qsreplace "$j" | tee -a tempredirect.txt
done
for k in $(cat tempredirect.txt);do
echo "$k" | xargs -P30 -n1 curl|egrep "root:x|daemon|root" &>/dev/null && echo -e "$k" | tee -a resulttemp.txt
done
clear
banner
cat resulttemp.txt | sort -u | tamu url
rm tempredirect.txt
rm resulttemp.txt
}
function multi(){
echo -e -n " [*] Enter your url list:"
read url
echo -e -n " [*] Enter your payload list:"
read payload
echo -e "\n\033[1;38;5;154m [+] S C A N N I N G.."
for i in $(cat $url ); do
for j in $(cat $payload); do
echo "$i" | qsreplace "$j" | tee -a tempredirect.txt
done
done
for k in $(cat tempredirect.txt);do
echo "$k" | xargs -P30 -n1 curl|egrep "root:x|daemon|root" &>/dev/null && echo -e "$k" | tee -a resulttemp.txt
done
clear
banner
cat resulttemp.txt|sort -u | tamu url >>result.txt
cat result.txt|sort -u | tee -a screen.txt
echo -e "\033[0m"
echo -e "\n\033[1;38;5;154m[+] S C R E E N S H O T I N G . . . . "
echo -e "\033[0m"
gowitness file -f screen.txt
echo -e "\033[0m"
echo -e " \033[1;38;5;196m[+] \033[1;38;5;040m result save into \033[1;38;5;154m'result.txt' \033[1;38;5;040m and \033[1;38;5;154m'screenshots' \033[1;38;5;040m file !"
echo -e "\033[0m"
rm gowitness.sqlite3
rm resulttemp.txt
rm tempredirect.txt
rm screen.txt
}
banner
menu