-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtoolsbox
425 lines (362 loc) · 11.2 KB
/
toolsbox
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
#!/bin/bash
trap ctrl_c INT
ctrl_c() {
printf "\033[1;31m
[X]\033[0m(Ctrl+C) Detected, Trying To Exit
"; sleep 1
printf "\033[1;31m
Good Byee...
"; exit
}
have() {
if grep -q 'deb http://http.kali.org/kali kali-rolling main contrib non-free' '/etc/apt/sources.list.backup_tb';
then
printf " \033[1;31m[X]\033[0m You haven't added the repository...\n\n"
backtohome
else
sudo cp /etc/apt/sources.list.backup_tb /etc/apt/sources.list
sleep 2
rintf "\n\n \033[1;31mLoadning..."
home11
echo
sudo apt update
printf "\n\n \033[1;32m[✓]\033[0m Success remove kali repository...\n\n"
backtohome
fi
}
checkfile() {
if [ ! -f /etc/apt/sources.list.backup_tb ]
then
printf " \033[1;31m[X]\033[0m File backup not found...\n"
backtohome
else
have
fi
}
install() {
if grep -q 'deb http://http.kali.org/kali kali-rolling main contrib non-free' '/etc/apt/sources.list';
then
printf " \033[1;31m[X]\033[0m You have added kali repository...\n\n"
backtohome
else
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup_tb
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" | sudo tee -a /etc/apt/sources.list
wget -q -O - https://archive.kali.org/archive-key.asc | sudo apt-key add
printf "\n \033[1;31mLoading..."; sleep 2
home11
echo
sudo apt update
printf "\n \033[1;32m[✓]\033[0m Success added kali repository...\n\n"
backtohome
fi
}
home() {
clear
printf "
\033[1;31m+--------------+\033[0m
\033[1;31m/| /|\033[0m
\033[1;32m ______ ___ ___ _ _____ ____ ___ __ __ \033[1;31m/ | / |\033[0m
\033[1;32m| | / \ / \ | | / ___/| \ / \ | | | \033[1;31m*--+-----------* |\033[0m
\033[1;32m| || || || | ( \_ | o )| || | | \033[1;31m| | | |\033[0m
\033[1;32m|_| |_|| O || O || |___\__ || || O ||_ _| \033[1;31m| | | |\033[0m
\033[1;32m| | | || || / \ || O || || | \033[1;31m| | | |\033[0m
\033[1;32m| | | || || \ || || || | | \033[1;31m| +-----------+--+\033[0m
\033[1;32m|__| \___/ \___/ |_____|\___||_____| \___/ |__|__| \033[1;31m| / | /\033[0m
\033[0m<\033[1;36m\033[0;96m-\033[1;31m=\033[0;96m--\033[1;31m===\033[1;36m-\033[1;31m===\033[1;36m--\033[1;31m[\033[0m Author: zidansec \033[1;31m]\033[1;36m--\033[1;31m===\033[1;36m-\033[1;31m===\033[1;36m--\033[1;31m=\033[1;36m-\033[0m> \033[1;31m|/ |/ \033[4;31mV.01\033[0m
\033[1;31m*--------------* \033[0m"
inpts
}
hometools() {
clear
printf "
\033[1;31m+--------------+\033[0m
\033[1;31m/| /|\033[0m
\033[1;32m ______ ___ ___ _ _____ ____ ___ __ __ \033[1;31m/ | / |\033[0m
\033[1;32m| | / \ / \ | | / ___/| \ / \ | | | \033[1;31m*--+-----------* |\033[0m
\033[1;32m| || || || | ( \_ | o )| || | | \033[1;31m| | | |\033[0m
\033[1;32m|_| |_|| O || O || |___\__ || || O ||_ _| \033[1;31m| | | |\033[0m
\033[1;32m| | | || || / \ || O || || | \033[1;31m| | | |\033[0m
\033[1;32m| | | || || \ || || || | | \033[1;31m| +-----------+--+\033[0m
\033[1;32m|__| \___/ \___/ |_____|\___||_____| \___/ |__|__| \033[1;31m| / | /\033[0m
\033[0m<\033[1;36m\033[0;96m-\033[1;31m=\033[0;96m--\033[1;31m===\033[1;36m-\033[1;31m===\033[1;36m--\033[1;31m[\033[0m Author: zidansec \033[1;31m]\033[1;36m--\033[1;31m===\033[1;36m-\033[1;31m===\033[1;36m--\033[1;31m=\033[1;36m-\033[0m> \033[1;31m|/ |/ \033[4;31mV.01\033[0m
\033[1;31m*--------------* \033[0m"
inptstools
}
home11() {
clear
printf "
\033[1;31m+--------------+\033[0m
\033[1;31m/| /|\033[0m
\033[1;32m ______ ___ ___ _ _____ ____ ___ __ __ \033[1;31m/ | / |\033[0m
\033[1;32m| | / \ / \ | | / ___/| \ / \ | | | \033[1;31m*--+-----------* |\033[0m
\033[1;32m| || || || | ( \_ | o )| || | | \033[1;31m| | | |\033[0m
\033[1;32m|_| |_|| O || O || |___\__ || || O ||_ _| \033[1;31m| | | |\033[0m
\033[1;32m| | | || || / \ || O || || | \033[1;31m| | | |\033[0m
\033[1;32m| | | || || \ || || || | | \033[1;31m| +-----------+--+\033[0m
\033[1;32m|__| \___/ \___/ |_____|\___||_____| \___/ |__|__| \033[1;31m| / | /\033[0m
\033[0m<\033[1;36m\033[0;96m-\033[1;31m=\033[0;96m--\033[1;31m===\033[1;36m-\033[1;31m===\033[1;36m--\033[1;31m[\033[0m Author: zidansec \033[1;31m]\033[1;36m--\033[1;31m===\033[1;36m-\033[1;31m===\033[1;36m--\033[1;31m=\033[1;36m-\033[0m> \033[1;31m|/ |/ \033[4;31mV.01\033[0m
\033[1;31m*--------------* \033[0m"
}
inpts() {
printf "
01\033[1;33m)\033[1;32m Add Kali Repository & Update\033[0m
02\033[1;33m)\033[1;32m Remove Kali Repository\033[0m
03\033[1;33m)\033[1;32m Install Top 15 Tools\033[0m
00\033[1;33m)\033[1;36m Exit
\033[1;31m[\033[1;33m+\033[1;31m]\033[1;32m> \033[0m"; read inpts
if [ ! -f $inpts ]
then
echo
else
printf "
\033[1;31m
Wrong Input...
"; sleep 1
clear
home
fi
if [ $inpts = "0" ] || [ $inpts = "00" ]
then
printf "\033[1;31m
Good Byee...
"; sleep 2
exit
fi
if [ $inpts = "exit" ] || [ $inpts = "Exit" ]
then
printf "\033[1;31m
Good Byee...
"; sleep 2
exit
fi
if [ $inpts = "1" ] || [ $inpts = "01" ]
then
install
backtohome
fi
if [ $inpts = "2" ] || [ $inpts = "02" ]
then
checkfile
backtohome
fi
if [ $inpts = "3" ] || [ $inpts = "03" ]
then
hometools
fi
if [ $inpts = "h" ] || [ $inpts = "help" ]
then
home11
printf "\033[0m
This tool serves to add the kali linux repository to the ubuntu repository instantly.
So that ubuntu users can install some of the tools that exist on kali linux.
You can install some packages manually
Example: $ sudo apt install \033[10;95m<pkg>\033[0m
\033[10;95msqlmap\033[0m
\033[10;95mnmap\033[0m
Visit the website below to see what tools you can install
https://www.kali.org/tools/
";
backhh
fi
if [ ! $inpts ]
then
echo
else
printf "
\033[1;31m
Wrong Input...
"; sleep 1
clear
home
fi
}
inptstools() {
printf "
01\033[1;33m)\033[1;32m Metasploit\033[0m 06\033[1;33m)\033[1;32m WhatWeb\033[0m 11\033[1;33m)\033[1;32m Dirsearch\033[0m
02\033[1;33m)\033[1;32m Sublist3r\033[0m 07\033[1;33m)\033[1;32m WafW00f\033[0m 12\033[1;33m)\033[1;32m ExploitDB\033[0m
03\033[1;33m)\033[1;32m Bettercap\033[0m 08\033[1;33m)\033[1;32m WPScan\033[0m 13\033[1;33m)\033[1;32m Joomscan\033[0m
04\033[1;33m)\033[1;32m Weevely\033[0m 09\033[1;33m)\033[1;32m Sqlmap\033[0m 14\033[1;33m)\033[1;32m OScanner\033[0m
05\033[1;33m)\033[1;32m DNSenum\033[0m 10\033[1;33m)\033[1;32m Nmap\033[0m 15\033[1;33m)\033[1;32m Nikto\033[0m
99\033[1;33m)\033[1;36m Help\033[0m
00\033[1;33m)\033[1;36m Back
\033[1;31m[\033[1;33m+\033[1;31m]\033[1;32m> \033[0m"; read inptstools
if [ ! -f $inptstools ]
then
echo
else
printf "
\033[1;31m
Wrong Input...
"; sleep 1
clear
hometools
fi
if [ $inptstools = "0" ] || [ $inptstools = "00" ]
then
home
fi
if [ $inptstools = "exit" ] || [ $inptstools = "Exit" ]
then
printf "\033[1;31m
Good Byee...
"; sleep 2
exit
fi
if [ $inptstools = "1" ] || [ $inptstools = "01" ]
then
clear
sudo apt install metasploit-framework
backtohometools
fi
if [ $inptstools = "2" ] || [ $inptstools = "02" ]
then
clear
sudo apt install sublilist3r
backtohometools
fi
if [ $inptstools = "3" ] || [ $inptstools = "03" ]
then
clear
sudo apt install bettercap
backtohometools
fi
if [ $inptstools = "4" ] || [ $inptstools = "04" ]
then
clear
sudo apt install weevely
backtohometools
fi
if [ $inptstools = "5" ] || [ $inptstools = "05" ]
then
clear
sudo apt install dnsenum
backtohometools
fi
if [ $inptstools = "6" ] || [ $inptstools = "06" ]
then
clear
sudo apt install whatweb
backtohometools
fi
if [ $inptstools = "7" ] || [ $inptstools = "07" ]
then
clear
sudo apt install wafw00f
backtohometools
fi
if [ $inptstools = "8" ] || [ $inptstools = "08" ]
then
clear
sudo apt install wpscan
backtohometools
fi
if [ $inptstools = "9" ] || [ $inptstools = "09" ]
then
clear
sudo apt install sqlmap
backtohometools
fi
if [ $inptstools = "10" ] || [ $inptstools = "10" ]
then
clear
sudo apt install nmap
backtohometools
fi
if [ $inptstools = "11" ] || [ $inptstools = "11" ]
then
clear
sudo apt install dirsearch
backtohometools
fi
if [ $inptstools = "12" ] || [ $inptstools = "12" ]
then
clear
sudo apt install exploitdb
backtohometools
fi
if [ $inptstools = "13" ] || [ $inptstools = "13" ]
then
clear
sudo apt install joomscan
backtohometools
fi
if [ $inptstools = "14" ] || [ $inptstools = "14" ]
then
clear
sudo apt install oscanner
backtohometools
fi
if [ $inptstools = "15" ] || [ $inptstools = "15" ]
then
clear
sudo apt nikto
backtohometools
fi
if [ $inptstools = "99" ] || [ $inptstools = "help" ]
then
home11
printf "\033[0m
This tool serves to add the kali linux repository to the ubuntu repository instantly.
So that ubuntu users can install some of the tools that exist on kali linux.
You can install some packages manually
Example: $ sudo apt install \033[10;95m<pkg>\033[0m
\033[10;95msqlmap\033[0m
\033[10;95mnmap\033[0m
Visit the website below to see what tools you can install
https://www.kali.org/tools/
";
back99
fi
if [ ! $inptstools ]
then
echo
else
printf "
\033[1;31m
Wrong Input...
"; sleep 1
clear
hometools
fi
}
backtohome() {
printf "\033[1;33m
Click enter to return to the main menu \033[1;31m[\033[1;32m*\033[1;31m]\033[0m ";read menutes
if [ $menutes == "$menutes" ]
then
home
else
home
fi
}
backtohometools() {
printf "\033[1;33m
Click enter to return to the main menu \033[1;31m[\033[1;32m*\033[1;31m]\033[0m ";read menutes
if [ $menutes == "$menutes" ]
then
hometools
else
hometools
fi
}
back99() {
printf "\033[1;33m
Click enter to return to the main menu \033[1;31m[\033[1;32m*\033[1;31m]\033[0m ";read menutes
if [ $menutes == "$menutes" ]
then
hometools
else
hometools
fi
}
backhh() {
printf "\033[1;33m
Click enter to return to the main menu \033[1;31m[\033[1;32m*\033[1;31m]\033[0m ";read menutes
if [ $menutes == "$menutes" ]
then
home
else
home
fi
}
home