-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtools-installation.sh
More file actions
178 lines (147 loc) · 5.24 KB
/
tools-installation.sh
File metadata and controls
178 lines (147 loc) · 5.24 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
#!/bin/bash
cd /opt;mkdir Tools;cd Tools
echo 'Installing PIP3'
apt install python3-pip -y
apt-get update --fix-missing
#CRACKMAPEXEC:
apt install pipx -y
pipx ensurepath
apt install python3.10-venv -y
pipx install crackmapexec
pipx ensurepath
#INSTALLING IMPACKET:
echo 'Installing Impacket'
sudo git clone https://github.com/SecureAuthCorp/impacket.git /opt/Tools/impacket
sudo pip3 install -r /opt/Tools/impacket/requirements.txt
cd /opt/Tools/impacket/
sudo pip3 install .
sudo python3 setup.py install
cd
echo 'Please wait'
echo 'Installing GO Recon Tools ...'
go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest
#NEUCLIE
go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
#GOBUSTER
go install github.com/OJ/gobuster/v3@latest
#ANEW
go install -v github.com/tomnomnom/anew@latest
#HAKRAWLER
go install github.com/hakluke/hakrawler@latest
#HAKTRAILS
go install -v github.com/hakluke/haktrails@latest
#SUBFINDER
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
#FFUF
go install github.com/ffuf/ffuf@latest
#KXSS
go install github.com/Emoe/kxss@latest
#HTTPROBE
go install github.com/tomnomnom/httprobe@latest
#ASSETFINDER
go install github.com/tomnomnom/assetfinder@latest
#WAYBACKURLS
go install github.com/tomnomnom/waybackurls@latest
#GAU
go install github.com/lc/gau/v2/cmd/gau@latest
echo 'GO TOOLS INSTALLATION IS COMPLETED'
#apt pakages
apt install net-tools
apt install nmap
apt install whois
apt install whatweb
apt install python3-shodan
# setting aliases
sudo echo "alias cls='clear'" >> /etc/bash.bashrc
sudo echo "alias jarvis='mkdir nmap ffuf exploit'" >> /etc/bash.bashrc
#PIP packages installation
sudo pip3 install updog
cd /opt/Tools
# RESPONDER
git clone https://github.com/SpiderLabs/Responder.git
echo ' YOU WILL NEED TO RELOGIN TO FULLY INSTALL IT ...'
#Sqlmap install
echo 'installing sqlmap using apt ...'
sudo apt install sqlmap -y
#NIKTO
sudo apt install nikto -y
#HYDRA
sudo apt install hydra -y
#hashcat
echo 'installing hashcat using apt ...'
sudo apt-get install hashcat -y
# john FULL VERSION
echo 'installing full john ...'
sudo apt-get install build-essential libssl-dev -y
sudo apt-get install yasm libgmp-dev libpcap-dev libnss3-dev libkrb5-dev pkg-config libbz2-dev zlib1g-dev -y
mkdir ~/src
cd ~/src
git clone https://github.com/magnumripper/JohnTheRipper -b bleeding-jumbo john
cd ~/src/john/src
./configure
echo ' THIS WILL TAKE SOME TIME SO DONT WORRY .. GO TOUCH SOME GRASS ...'
make -s clean && make -sj4
echo ' to test if john is succesfully installed run "/src/run/john --test" '
# AMASS...
echo 'INSTALLING AMASS'
sudo snap install amass
#EXPLOIT DB
echo 'Installing Exploitdb ...'
sudo apt-get -y install exploitdb
#LISTS...
cd /opt
mkdir lists && cd lists
wget https://github.com/brannondorsey/naive-hashcat/releases/download/data/rockyou.txt
echo 'rock you downloaded ...'
git clone https://github.com/danielmiessler/SecLists.git
echo 'seclist downloaded ...'
cd /opt
mkdir windows-privesc
#mimikatz
cd windows-privesc;mkdir mimikatz;cd mimikatz
wget https://github.com/gentilkiwi/mimikatz/releases/download/2.2.0-20210810-2/mimikatz_trunk.zip ;unzip mimikatz_trunk.zip;rm mimikatz_trunk.zip
cd /opt/windows-privesc
#winpeas
mkdir winpeas;cd winpeas
wget https://github.com/carlospolop/PEASS-ng/releases/download/20220807/winPEAS.bat
wget https://github.com/carlospolop/PEASS-ng/releases/download/20220807/winPEASx64.exe
wget https://github.com/carlospolop/PEASS-ng/releases/download/20220807/winPEASx86.exe
cd ..
mkdir Others-Enumeration-Scripts; cd Others-Enumeration-Scripts
wget https://github.com/NyaMeeEain/Privilege-Escalation-Windows/blob/master/Watson.exe
wget https://github.com/NyaMeeEain/Privilege-Escalation-Windows/blob/master/Seatbelt.exe
wget https://github.com/NyaMeeEain/Privilege-Escalation-Windows/blob/master/JuicyPotato.exe
wget https://raw.githubusercontent.com/PowerShellMafia/PowerSploit/master/Privesc/PowerUp.ps1
wget https://raw.githubusercontent.com/PowerShellMafia/PowerSploit/master/Recon/PowerView.ps1
cd ..
cd /opt
#LINUX PRIVESC TOOLS
mkdir linux-privesc
cd linux-privesc
wget https://github.com/DominicBreuker/pspy/releases/download/v1.2.0/pspy64
wget https://github.com/DominicBreuker/pspy/releases/download/v1.2.0/pspy32
wget https://raw.githubusercontent.com/jondonas/linux-exploit-suggester-2/master/linux-exploit-suggester-2.pl
wget https://github.com/carlospolop/PEASS-ng/releases/download/20220807/linpeas.sh
wget https://raw.githubusercontent.com/rebootuser/LinEnum/master/LinEnum.sh
cd
find . -type d -name .git -exec sh -c "cd \"{}\"/../ && pwd && git pull origin master" \;
#METASPLOIT
echo 'DO YOU WANT TO INSTALL METASPLOIT ENTER Y OR N'
read decision
if [[ $decision == "y" || $decision == "Y" ]]
then
sudo apt install curl postgresql postgresql-contrib -y
cd /opt; mkdir metasploit ; cd metasploit
curl curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall
chmod 755 msfinstall;sudo ./msfinstall
sudo systemctl start postgresql
msfdb init
rm /opt/metasploit/msfinstall
cd /opt ; rmdir metasploit
cd
else
echo 'OKAY SKIPING METASPLOIT'
fi
# I KNOW ITS WIRED BUT IT WORKS THT WAY.🤣
cd /opt/Tools/impacket/
sudo pip3 install .