-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-02.sh
58 lines (51 loc) · 3.23 KB
/
install-02.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
#!/bin/bash
# /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\
# ( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )
# > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ <
# /\_/\ .. .. .. .. .. .x+=:. /\_/\
# ( o.o ) . uW8" .n~~%x. x .d88" x .d88" x .d88" x .d88" .n~~%x. z` ^% ( o.o )
# > ^ < `t888 x88X 888. 5888R 5888R x. . 5888R 5888R x88X 888. . <k > ^ <
# /\_/\ 8888 . X888X 8888L '888R '888R .@88k z88u '888R '888R X888X 8888L .@8Ned8" /\_/\
# ( o.o ) 9888.z88N X8888X 88888 888R 888R ~"8888 ^8888 888R 888R X8888X 88888 .@^%8888" ( o.o )
# > ^ < 9888 888E 88888X 88888X 888R 888R 8888 888R 888R 888R 88888X 88888X x88: `)8b. > ^ <
# /\_/\ 9888 888E 88888X 88888X 888R 888R 8888 888R 888R 888R 88888X 88888X 8888N=*8888 /\_/\
# ( o.o ) 9888 888E 88888X 88888f 888R 888R 8888 888R 888R 888R 88888X 88888f %8" R88 ( o.o )
# > ^ < 9888 888E 48888X 88888 888R 888R 8888 ,888B . 888R 888R 48888X 88888 @8Wou 9% > ^ <
# /\_/\ .8888 888" ?888X 8888" .888B . .888B . "8888Y 8888" .888B . .888B . ?888X 8888" .888888P` /\_/\
# ( o.o ) `%888*%" "88X 88*` ^*888% ^*888% `Y" 'YP ^*888% ^*888% "88X 88*` ` ^"F ( o.o )
# > ^ < "` ^"==="` "% "% "% "% ^"==="` > ^ <
# /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\ /\_/\
# ( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )( o.o )
# > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ < > ^ <
# Functions
error_exit() {
echo "$1" 1>&2
exit 1
}
install_packages() {
for package in "$@"; do
if ! pacman -Q "$package" &>/dev/null; then
sudo pacman -Sy --noconfirm "$package" || error_exit "Failed to install $package"
fi
done
}
enable_services() {
for service in "$@"; do
sudo systemctl enable --now "$service" || error_exit "Failed to enable $service"
done
}
# Packages
install_packages nmap ncat openbsd-netcat rlwrap mariadb john feroxbuster impacket metasploit exploitdb proxychains-ng oath-toolkit bind sqlmap wpscan
# Python
install_packages python-pwntools python-aiosmtpd python-websocket-client python-bs4
# Yay Packages
yay -S --noconfirm rustscan
yay -S --noconfirm ffuf
yay -S --noconfirm burpsuite
yay -S --noconfirm naabu
yay -S --noconfirm netexec
yay -S --noconfirm ruby-evil-winrm
yay -S --noconfirm gobuster
yay -S --noconfirm smbmap
yay -S --noconfirm whatweb
yay -S --noconfirm steghide