-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtools-installer
191 lines (145 loc) · 4.89 KB
/
tools-installer
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
#!/bin/bash
# Check if ~/tools directory exists, if not create it
if [ ! -d "$HOME/tools" ]; then
mkdir -p "$HOME/tools"
fi
cd "$HOME/tools"
# Update and upgrade system
sudo apt update && sudo apt-get dist-upgrade -y
# Check if Go is installed
if [ ! -d "/usr/local/go" ]; then
GO_LATEST=$(curl -s https://go.dev/VERSION?m=text | head -n 1)
curl -LO "https://go.dev/dl/${GO_LATEST}.linux-amd64.tar.gz"
tar -xzf "${GO_LATEST}.linux-amd64.tar.gz"
sudo mv go /usr/local/
rm "${GO_LATEST}.linux-amd64.tar.gz"
fi
# Check if Go environment variables are already set
if ! grep -q "GOROOT=/usr/local/go" ~/.zshrc; then
echo "export GOPATH=$HOME/go
export GOROOT=/usr/local/go
export PATH=\$PATH:\$GOROOT/bin/:\$GOPATH/bin" >> ~/.zshrc
source ~/.zshrc
fi
# Remove downloaded tar file
rm "${GO_LATEST}.linux-amd64.tar.gz"
# Update and install necessary dependencies
sudo apt update && sudo apt install -y unzip curl git python3-pip ruby make
# Install Findomain
curl -LO https://github.com/findomain/findomain/releases/latest/download/findomain-linux.zip
unzip findomain-linux.zip
chmod +x findomain
sudo mv findomain /usr/bin/findomain
rm findomain-linux.zip
findomain --help
# Install Subfinder
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
# Install Assetfinder
go install github.com/tomnomnom/assetfinder@latest
# Install Waybackurls
go install github.com/tomnomnom/waybackurls@latest
# Install httpx-toolkit
sudo apt install httpx-toolkit
# Install Nuclei
go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
nuclei -h
# Install Subzy
go install -v github.com/PentestPad/subzy@latest
# Install Gf
go install github.com/tomnomnom/gf@latest
git clone https://github.com/1ndianl33t/Gf-Patterns
mkdir -p ~/.gf
mv Gf-Patterns/*.json ~/.gf/
rm -rf Gf-Patterns
gf -list
# Install gmapapiscanner
git clone https://github.com/ozguralp/gmapsapiscanner.git
cd gmapsapiscanner
chmod +x maps_api_scanner.py
cd ..
# Install Dirsearch
git clone https://github.com/maurosoria/dirsearch.git --depth 1
# Install ffuf
sudo rm ffuf
go install github.com/ffuf/ffuf/v2@latest
# Install WPScan
sudo gem install wpscan
# Install SSTImap
git clone https://github.com/vladko312/SSTImap.git
cd SSTImap
pip3 install -r requirements.txt --break-system-packages
chmod +x sstimap.py
cd ..
# Install SQLMap
git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git sqlmap-dev
# Install gau
go install github.com/lc/gau/v2/cmd/gau@latest
# Install Katana
go install github.com/projectdiscovery/katana/cmd/katana@latest
# Install Subdominatr
pip install git+https://github.com/RevoltSecurities/Subdominator --break-system-packages
# Install Uro
pip3 install uro --break-system-packages
# Install SSRFmap
git clone https://github.com/swisskyrepo/SSRFmap.git
cd SSRFmap/
pip3 install -r requirements.txt --break-system-packages
cd ..
# Install MassDNS
git clone https://github.com/blechschmidt/massdns.git
cd massdns
make
sudo make install
cd ..
# Install PureDNS
go install github.com/d3mondev/puredns/v2@latest
# Install ShortScan
go install github.com/bitquark/shortscan/cmd/shortscan@latest
# Install Eyewitness
sudo apt install eyewitness
# Install Anew
go install -v github.com/tomnomnom/anew@latest
# Install SecretFinder
git clone https://github.com/m4ll0k/SecretFinder.git secretfinder
cd secretfinder
pip3 install -r requirements.txt --break-system-packages
cd ..
# Install Gfx
go install github.com/dwisiswant0/gfx@latest
# Install APKLeaks
git clone https://github.com/dwisiswant0/apkleaks.git
cd apkleaks
pip3 install -r requirements.txt --break-system-packages
cd ..
# Install Sublist3r
sudo apt install sublist3r
# Install Convert-domain-2-IP
git clone https://github.com/blackhatethicalhacking/Domain2IP-Converter.git
cd Domain2IP-Converter
chmod +x convert_d2ip.sh
sudo mv convert_d2ip.sh /usr/bin/
cd ..
# Install Amass
go install -v github.com/owasp-amass/amass/v4/...@master
# Install Isit-alive
git clone https://github.com/blackhatethicalhacking/isitalive.git
cd isitalive
chmod +x isitalive.sh
sudo mv isitalive.sh
cd ..
# Install Naabu
sudo apt install -y libpcap-dev
go install -v github.com/projectdiscovery/naabu/v2/cmd/naabu@latest
# Install Custom-tools
git clone https://github.com/zenython/Custom-tools.git
# Setting Up Proxy
echo "export http_proxy=localhost:8080 && export https_proxy=localhost:8080" >> ~/.zshrc
# Install Waymore
pip install git+https://github.com/xnl-h4ck3r/waymore.git -v --break-system-packages
# Cleanup
echo "Installation completed!"
#for the shared folder connection use this commands first enable them in settings then open vm and in terminal type
# vmware-hgfsclient -- see the client name (the folder you shared)
# cd to /mnt then create the folder name you want for eg oldy
# then type this command `sudo vmhgfs-fuse .host:/theorignalfoldersharedname /mnt/oldy -o allow_other -o uid=1000`
# add this line to vm ware .vmx file : `keyboard.vusb.enable = "TRUE"`