-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
231 lines (190 loc) · 4.96 KB
/
setup.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
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
#!/bin/bash
red=`tput setaf 1`
green=`tput setaf 2`
yellow=`tput setaf 3`
cyan=`tput setaf 6`
reset=`tput sgr0`
echo "${green}The Eye setup${reset}"
echo "${cyab}Programs to Install:${reset}
${green} gf
gxss
dalfox
ffuf
OpenRedireX
qsreplace
parallel
ghauri
anew
subfinder
waymore
httpx
dirsearch
paramspider
nuclei
xray
uro
sqlisniper
"
echo "${green}Your best bet is to install these by hand for now, besides xray which if you do put it into the tools/ dir${reset}"
chmod +x eye.sh
if [ ! -d output ]; then
mkdir output
fi
########## GAU
apt update
apt upgrade
apt install libc6
cd ~/downloads/
git clone https://github.com/tomnomnom/gf.git
cd gf
go mod init github.com/tomnomnom/gf
go mod tidy
go build
cp gf /bin/
git clone https://github.com/1ndianl33t/Gf-Patterns.git
rm *.md
cd ~/
mkdir .gf
cd .gf
mv ~/downloads/Gf-Patterns/*.json ~/.gf/
cd ~/downloads
wget https://github.com/projectdiscovery/httpx/releases/download/v1.6.2/httpx_1.6.2_linux_amd64.zip
rm *.md
unzip httpx_1.6.2_linux_amd64.zip
mv httpx /bin/
wget https://github.com/projectdiscovery/nuclei/releases/download/v3.2.8/nuclei_3.2.8_linux_amd64.zip
rm *.md
unzip nuclei_3.2.8_linux_amd64.zip
mv nuclei /bin/
cd ~/
git clone https://github.com/projectdiscovery/nuclei-templates.git
rm *.md
cd ~/downloads/
git clone https://github.com/projectdiscovery/katana.git
cd katana/cmd
go build
mv katana /bin/
wget https://github.com/projectdiscovery/naabu/releases/download/v2.3.1/naabu_2.3.1_linux_amd64.zip
unzip naabu_2.3.1_linux_amd64.zip
rm *.md
mv naabu /bin/
wget https://github.com/tomnomnom/anew/releases/download/v0.1.1/anew-linux-amd64-0.1.1.tgz
tar -xvzf anew-linux-amd64-0.1.1.tgz
mv anew /bin/
wget https://github.com/KathanP19/Gxss/releases/download/v4.1/Gxss_4.1_Linux_x86_64.tar.gz
tar -xvzf Gxss_4.1_Linux_x86_64.tar.gz
cp Gxss /bin/
###git clone https://github.com/maurosoria/dirsearch.git --depth 1
pip3 install dirsearch
git clone https://github.com/devanshbatham/paramspider
cd paramspider
pip install .
cd ..
git clone https://github.com/michael1026/trashcompactor.git
cd trashcompactor
go build
mv trashcompactor /bin/
cd ..
wget https://github.com/projectdiscovery/subfinder/releases/download/v2.6.6/subfinder_2.6.6_linux_amd64.zip
unzip subfinder_2.6.6_linux_amd64.zip
mv subfinder /bin/
git clone https://github.com/projectdiscovery/httpx.git
cd httpx/cmd/httpx
go build
mv httpx /bin/
cd ~/eye
########## ffuf
echo "${cyan}Installing ffuf... ${reset}"
cd tools
git clone https://github.com/ffuf/ffuf.git
echo -e "Building the main.go file.\n${yellow}[Warning] This process fails if you don't have go installed. If you have any error messages below, try again after installing go.${reset}"
cd ffuf
go build main.go help.go
chmod +x main
cd ../..
########## OpenRedireX
echo "${cyan}Installing OpenRedireX... ${reset}"
cd tools
git clone https://github.com/devanshbatham/OpenRedireX.git
cd ..
echo -e "openredirex(){
cat $1 | python3 tools/OpenRedireX/openredirex.py -p \$2
}" >> .profile
echo -e "${green}Done${reset}\n"
########## qsreplace
echo "${cyan}Installing qsreplace...${reset}"
cd tools
git clone https://github.com/tomnomnom/qsreplace
echo -e "Building the main.go file.\n${yellow}[Warning] This process fails if you don't have go installed. If you have any error messages below, try again after installing go.${reset}"
cd qsreplace
go build main.go
cd ../..
cp tools/qsreplace/main /bin/qsreplace
########## Gxss
git clone https://github.com/KathanP19/Gxss
cd Gxss
echo "${green}Installing Gxss${reset}"
go build
cp tools/Gxss /bin/Gxss
echo "${cyan}Gxss Installed ${reset}"
cd ..
########## Dalfox
git clone https://github.com/hahwul/dalfox
cd dalfox
go build
echo "${green}Installing DalFox${reset}"
cp dalfox /bin/dalfox
cd ..
echo "${cyan}Installed DalFox${reset}"
########## waymore
python3 -m pip install waymore
########## ghauri
cd tools
git clone https://github.com/r0oth3x49/ghauri.git
cd ghauri
python3 -m pip install --upgrade -r requirements.txt
python3 setup.py install
cd ..
############### Xray
wget https://github.com/chaitin/xray/releases/download/1.9.11/xray_linux_amd64.zip
unzip xray_linux_amd64.zip
echo "xray installed"
########## gf and its patterns
git clone https://github.com/tomnomnom/gf.git
cd gf
go build
cp gf /bin/
cd ..
mkdir ~/.gf
git clone https://github.com/1ndianl33t/Gf-Patterns.git
cp Gf-Patterns/*.json ~/.gf/
echo "${red} "
gf -list
######### LFIscanner
cd tools
git clone https://github.com/R3LI4NT/LFIscanner.git
cd LFIscanner
pip3 install -r requirements.txt
cd ..
####### TPLMap (ssti)
git clone https://github.com/epinna/tplmap.git
cd tplmap
pip3 install -r requirements.txt
cd ..
cd .. ## in ~/eye/
####### uro (delcuter gau)
cd tools
git clone https://github.com/s0md3v/uro.git
cd uro
python3 setup.py install
cd ..
cd ..
# in ~/eye/
###### Blind SQL Injection
cd tools
git clone https://github.com/danialhalo/SqliSniper.git
cd SqliSniper
python3 -m pip install -r requirements.txt
cd ..
### in eye/tools
echo "${green}ALL SET."${reset}"