This repository was archived by the owner on May 18, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTOSS.sh
More file actions
491 lines (434 loc) · 12.9 KB
/
TOSS.sh
File metadata and controls
491 lines (434 loc) · 12.9 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
#!/bin/bash
red='\e[31m'
green='\e[32m'
yellow='\e[33m'
blue='\e[34m'
magneta='\e[35m'
bold='\e[1m'
cyan='\e[36m'
clear='\e[0m'
reset=$(tput sgr0)
ColorRed() { echo -ne "${red}${1}${clear}"; }
ColorGreen() { echo -ne "${green}${1}${clear}"; }
ColorYellow() { echo -ne "${yellow}${1}${clear}"; }
ColorBlue() { echo -ne "${blue}${1}${clear}"; }
ColorCyan() { echo -ne "${cyan}${1}${clear}"; }
ColorMagenta() { echo -ne "${magenta}${1}${clear}"; }
apt_install() { echo -e "\n${cyan}[APT]${clear} Installing ${green}${1}${clear}..."; sudo apt install -y "$1" 2>&1 | tail -3; }
pip_install() { echo -e "\n${cyan}[PIP]${clear} Installing ${green}${1}${clear}..."; pip install "$1" --break-system-packages 2>&1 | tail -3; }
go_install() { echo -e "\n${cyan}[GO]${clear} Installing ${green}${1}${clear}..."; go install "$1" 2>&1 | tail -3; }
apt_update() { echo -e "\n${yellow}[*] Updating apt...${clear}"; sudo apt update -y; }
press_back() {
echo ""
echo -ne "$(ColorBlue '[b] Back | Press Enter to continue: ')"
read -r input
[[ "$input" == "b" || "$input" == "B" ]] && return 1
return 0
}
done_msg() { echo -e "\n${green}[✔] Done.${clear}\n"; }
# CATEGORY 1 - Passive & Active Reconnaissance
install_osint_social_media(){
apt_update
pip_install sherlock-project
pip_install maigret
pip_install instaloader
pip_install phoneinfoga
pip_install holehe
done_msg
}
install_passive_osint() {
apt_update
apt_install python3 && python3-pip
pip_install theharvester
pip_install spiderfoot
pip_install metagoofil
apt_install exiftool
pip_install sherlock-project
done_msg
}
install_passive_dns_dorking() {
apt_update
apt_install amass
pip_install sublist3r
go_install github.com/tomnomnom/assetfinder@latest
go_install github.com/findomain/findomain@latest
go_install github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
pip_install pagodo
go_install github.com/projectdiscovery/chaos-client/cmd/chaos@latest
src="$HOME/go/bin"
dest="/usr/bin/"
for tool in assetfinder findomain subfinder chaos-client; do
if [ ! -f "$src/$tool" ]; then
echo -e "${red}[✘] $tool not found in $src — skipping copy${clear}"
else
sudo cp "$src/$tool" "$dest"
sudo chmod +x "$dest/$tool"
echo -e "${green}[✔] $tool copied to $dest/${clear}"
fi
done
done_msg
}
install_active_network__web_scan() {
apt_update
apt_install nmap && amass && whatweb && wafw00f && masscan && netdiscover && arp-scan && dnsrecon && fierce
go_install github.com/OJ/gobuster/v3@latest
go_install github.com/blechschmidt/massdns@latest
go_install github.com/projectdiscovery/subfinder/v2/cmd
pip_install aiodnsbrute
go_install github.com/jaeles-project/gospider@latest
go_install github.com/hakluke/hakrawler@latest
go_install github.com/projectdiscovery/katana/cmd/katana@latest
pip_install paramspider
src="$HOME/go/bin"
dest="/usr/bin/"
for tool in gobuster massdns subfinder gospider hakrawler katana; do
if [ ! -f "$src/$tool" ]; then
echo -e "${red}[✘] $tool not found in $src — skipping copy${clear}"
else
sudo cp "$src/$tool" "$dest"
sudo chmod +x "$dest/$tool"
echo -e "${green}[✔] $tool copied to $dest/${clear}"
fi
done
done_msg
}
menu_recon_active_passive() {
while true; do
echo -ne "
$(ColorMagenta '─── Passive & Active Recon ───')
$(ColorGreen '1)') OSINT & Info Gathering
$(ColorGreen '2)') DNS Passive Recon & Dorking
$(ColorGreen '3)') Install All Passive
$(ColorGreen '4)') Active Network & Web Recon
$(ColorGreen '5)') Social Media Osint
$(ColorGreen '6)') Install All OSINT Tools
$(ColorBlue 'b)') Back
$(ColorBlue '0)') Exit
$(ColorYellow 'Choose: ')"
read -r a
case $a in
1) install_passive_osint ;;
2) install_passive_dns_dorking ;;
3) install_passive_osint; install_passive_dns_dorking;;
4) install_active_network__web_scan;;
5) install_osint_social_media;;
6) install_passive_osint ; install_passive_dns_dorking ; install_active_network__web_scan ; install_osint_social_media ;;
b|B) return ;;
0) exit 0 ;;
*) echo -e "${red}Invalid option.${clear}";;
esac
done
}
# CATEGORY 2 - Vulnerability Scanning
install_vuln_general(){
apt_update
apt_install nikto
apt_install openvas
go_install github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
pip_install wapiti3
apt_install lynis
src="$HOME/go/bin"
dest="/usr/bin/"
for tool in nuclei; do
if [ ! -f "$src/$tool" ]; then
echo -e "${red}[✘] $tool not found in $src — skipping copy${clear}"
else
sudo cp "$src/$tool" "$dest"
sudo chmod +x "$dest/$tool"
echo -e "${green}[✔] $tool copied to $dest/${clear}"
fi
done
done_msg
}
install_vuln_web_cms(){
apt_install zaproxy
apt_install w3af
apt_install wpscan
pip_install droopescan
apt_install joomscan
done_msg
}
menu_vuln_scan(){
while true; do
echo -ne "
$(ColorCyan '═══ Vulnerability Scanning ═══')
$(ColorGreen '1)') General Scanners
$(ColorGreen '2)') Web App & CMS Scanners
$(ColorGreen '3)') Install All
$(ColorBlue 'b)') Back
$(ColorBlue '0)') Exit
$(ColorYellow 'Choose: ')"
read -r a
case $a in
1) install_vuln_general ;;
2) install_vuln_web_cms ;;
3) install_vuln_general; install_vuln_web_cms;;
b|B) return ;;
0) exit 0;;
*) echo -e "${red}Invalid option.${clear}";;
esac
done
}
# CATEGORY 3 -Exploitation & C2 Tools
install_exploit_frameworks(){
apt_update
apt_install metasploit-framework
apt_install searchsploit && exploitdb
apt_install beef-xss
pip_install sqlmap
pip_install veil
done_msg
}
install_c2_frameworks(){
apt_update
pip_install pupy
go_install github.com/BishopFox/sliver/client@latest
go_install github.com/Ne0nd0g/merlin-agent@latest
src="$HOME/go/bin"
dest="/usr/bin/"
for tool in merlin-agent sliver; do
if [ ! -f "$src/$tool" ]; then
echo -e "${red}[✘] $tool not found in $src — skipping copy${clear}"
else
sudo cp "$src/$tool" "$dest"
sudo chmod +x "$dest/$tool"
echo -e "${green}[✔] $tool copied to $dest/${clear}"
fi
done
done_msg
}
menu_exploitation(){
while true; do
echo -ne "
$(ColorCyan '═══ Exploitation & C2 ═══')
$(ColorGreen '1)') Exploitation Frameworks
$(ColorGreen '2)') C2 Frameworks
$(ColorGreen '3)') Install All
$(ColorBlue 'b)') Back
$(ColorBlue '0)') Exit
$(ColorYellow 'Choose: ')"
read -r a
case $a in
1) install_exploit_frameworks ;;
2) install_c2_frameworks ;;
3) install_exploit_frameworks ; install_c2_frameworks ;;
b|B) return ;;
0) exit 0;;
*) echo -e "${red}Invalid option.${clear}";;
esac
done
}
# CATEGORY 4 - Web Application Security Tools
install_web_fuzz_injection(){
pip_install sqlmap
pip_install xsstrike
pip_install dalfox
pip_install tplmap
pip_install commix
pip_install wfuzz
pip_install dirsearch
apt_install dirb
go_install github.com/epi052/feroxbuster@latest
go_install github.com/ffuf/ffuf/v2@latest
go_install github.com/OJ/gobuster/v3@latest
src="$HOME/go/bin"
dest="/usr/bin/"
for tool in feroxbuster ffuf gobuster; do
if [ ! -f "$src/$tool" ]; then
echo -e "${red}[✘] $tool not found in $src — skipping copy${clear}"
else
sudo cp "$src/$tool" "$dest"
sudo chmod +x "$dest/$tool"
echo -e "${green}[✔] $tool copied to $dest/${clear}"
fi
done
done_msg
}
install_web_auth(){
apt_install hydra
apt_install medusa
apt_install cewl
pip_install patator
done_msg
}
menu_webapp_attacks(){
while true; do
echo -ne "
$(ColorCyan '═══ Web Application Attacks ═══')
$(ColorGreen '1)') Injection & Fuzz Tools
$(ColorGreen '2)') Authentication Attacks
$(ColorGreen '3)') Install All
$(ColorBlue 'b)') Back
$(ColorBlue '0)') Exit
$(ColorYellow 'Choose: ')"
read -r a
case $a in
1) install_web_fuzz_injection ;;
2) install_web_auth ;;
3) install_web_fuzz_injection; install_web_auth ;;
b|B) return ;;
0) exit 0 ;;
*) echo -e "${red}Invalid option.${clear}" ;;
esac
done
}
# CATEGORY 5 - Network Attacks
install_net_mitm(){
apt_update
apt_install ettercap-text-only
apt_install wireshark
apt_install tcpdump
apt_install responder
apt_install dsniff
apt_install bettercap
pip_install mitmproxy
done_msg
}
install_net_traffic(){
pip_install scapy
apt_install hping3
apt_install netcat
apt_install socat
done_msg
}
menu_network_attacks() {
while true; do
echo -ne "
$(ColorCyan '═══ Network Attacks ═══')
$(ColorGreen '1)') MITM & Sniffing
$(ColorGreen '2)') Traffic Manipulation
$(ColorGreen '3)') Install All
$(ColorBlue 'b)') Back
$(ColorBlue '0)') Exit
$(ColorYellow 'Choose: ')"
read -r a
case $a in
1) install_net_mitm ;;
2) install_net_traffic ;;
3) install_net_mitm; install_net_traffic ;;
b|B) return ;;
0) exit 0 ;;
*) echo -e "${red}Invalid option.${clear}" ;;
esac
done
}
# CATEGORY 6 - POST EXPLOITATION
install_post_pivot_persistence(){
apt_update
pip_install pupy
apt_install sshuttle
go_install github.com/jpillora/chisel@latest
src="$HOME/go/bin"
dest="/usr/bin/"
for tool in chisel; do
if [ ! -f "$src/$tool" ]; then
echo -e "${red}[✘] $tool not found in $src — skipping copy${clear}"
else
sudo cp "$src/$tool" "$dest"
sudo chmod +x "$dest/$tool"
echo -e "${green}[✔] $tool copied to $dest/${clear}"
fi
done
done_msg
}
install_post_privesc_linux(){
pip_install linpeas
apt_install pspy
done_msg
}
install_post_creds(){
pip_install pypykatz
pip_install impacket
pip_install crackmapexec
pip_install lazagne
done_msg
}
menu_post_exploitation() {
while true; do
echo -ne "
$(ColorCyan '═══ Post Exploitation ═══')
$(ColorGreen '1)') Pivoting,Tunneling & Persistence
$(ColorGreen '2)') Linux Privilege Escalation
$(ColorGreen '3)') Credential Dumping
$(ColorGreen '4)') Install All
$(ColorBlue 'b)') Back
$(ColorBlue '0)') Exit
$(ColorYellow 'Choose: ')"
read -r a
case $a in
1) install_post_pivot_persistence ;;
2) install_post_privesc_linux ;;
3) install_post_creds ;;
4) install_post_pivot_persistence; install_post_privesc_linux; install_post_creds ;;
b|B) return ;;
0) exit 0 ;;
*) echo -e "${red}Invalid option.${clear}" ;;
esac
done
}
# INSTALL EVERYTHING
install_everything() {
echo -e "
${red}${bold}[!] Oh wow, you clicked Install ALL. Brave. Very brave.${clear}
${yellow}[*] We are now downloading half the internet onto your machine.${clear}
${cyan}[*] Go make a coffee. Actually make a full meal. Maybe take a nap.${clear}
${green}[*] Your RAM has been notified and is already crying.${clear}
${magenta}[*] Tor is routing your guilt through 3 different countries.${clear}
${red}[*] Starting in 3... 2... 1... God help us all.${clear}
"
install_osint_social_media; install_passive_osint; install_passive_dns_dorking; install_active_network__web_scan;
install_vuln_general; install_vuln_web_cms;
install_exploit_frameworks; install_c2_frameworks;
install_web_fuzz_injection; install_web_auth;
install_net_mitm; install_net_traffic
install_post_pivot_persistence; install_post_privesc_linux; install_post_creds
echo -e "\n${green}${bold}[✔] All tools installed.${clear}\n"
}
banner() {
echo -e "${red}${bold}"
echo '████████╗ ██████╗ ███████╗███████╗'
echo '╚══██╔══╝██╔═══██╗██╔════╝██╔════╝'
echo ' ██║ ██║ ██║███████╗███████╗'
echo ' ██║ ██║ ██║╚════██║╚════██║'
echo ' ██║ ╚██████╔╝███████║███████║'
echo ' ╚═╝ ╚═════╝ ╚══════╝╚══════╝'
echo -e "${clear}"
echo -e "${yellow}${bold} Tails On Steroids Script${clear}"
echo -e "${cyan} Red Team Installer — Tor Routed${clear}"
echo -e "${cyan} ────────────────────────────────────${clear}"
echo ""
}
#MAIN MENU
main_menu(){
while true; do
banner
echo -ne "
$(ColorCyan '═══════════════════════════════════════')
$(ColorYellow ' SELECT A CATEGORY')
$(ColorCyan '═══════════════════════════════════════')
$(ColorGreen ' 1)') Reconnaissance $(ColorBlue '[Passive & Active]')
$(ColorGreen ' 2)') Vulnerability Scanning $(ColorBlue '[apt/go/pip]')
$(ColorGreen ' 3)') Exploitation & C2 $(ColorBlue '[apt/pip]')
$(ColorGreen ' 4)') Web Application Attacks $(ColorBlue '[go/pip/apt]')
$(ColorGreen ' 5)') Network Attacks $(ColorBlue '[apt/pip]')
$(ColorGreen ' 6)') Post Exploitation $(ColorBlue '[go/apt/pip]')
$(ColorRed ' A)') Install ALL Categories
$(ColorBlue ' 0)') Exit
$(ColorCyan '═══════════════════════════════════════')
$(ColorYellow 'Choose: ')"
read -r a
case $a in
1) menu_recon_active_passive ;;
2) menu_vuln_scan ;;
3) menu_exploitation ;;
4) menu_webapp_attacks ;;
5) menu_network_attacks ;;
6) menu_post_exploitation ;;
a|A) install_everything ;;
0) echo -e "\n${green}Goodbye.${clear}\n"; exit 0 ;;
*) echo -e "${red}Invalid option.${clear}" ;;
esac
done
}
# ── Entry Point ──
main_menu