-
Notifications
You must be signed in to change notification settings - Fork 77
/
bchacktool.sh
605 lines (584 loc) · 17.2 KB
/
bchacktool.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
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
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
#!/bin/bash
#Colors
cyan='\e[0;36m'
lightcyan='\e[96m'
lightgreen='\e[1;32m'
white='\e[1;37m'
red='\e[1;31m'
yellow='\e[1;33m'
blue='\e[1;34m'
tp='\e[0m'
green='\e[0;32m'
# variables
blink='\e[5m'
setdir=$PWD
version='BCHackTool v3.1'
# help
if [[ $1 =~ ^(-h|--help|-y|--yardım) ]] ; then
echo ""
echo -e "Default Kullanım İçin Dosyayı ${lightgreen}sudo bash bchacktool.sh$tp"
echo "----------------------------------------------------------"
echo -e $cyan" Create by $white":" $red ByChan$tp"
echo -e $cyan" Github $white":" $red https://github.com/ByCh4n$tp"
echo -e $cyan" Instagram $white":" $red @huseyinaltns$tp"
echo -e $cyan" Developer $white":" $red https://github.com/lazypwny751$tp"
exit 0
fi
[ $UID != 0 ] && { echo -e "${red}Lütfen${tp} '${blue}sudo bash $0${tp}'${tp} olarak tekrar çalıştırınız${red}" ; exit 1 ; }
if [[ $1 =~ ^(-v|--version) ]] ; then
echo "$version"
elif [[ $1 =~ ^(-s|--sil) ]] ; then
function yesorno {
read -p "$foldx mevcut silmek istiyormusun? (e/h)?" CONT
if [[ "$CONT" =~ ^(e|E|evet|EVET) ]]; then
rm -rf ./$foldx
else
echo "passed..";
fi
}
cd $setdir
if [[ -d kalisources ]] ; then
foldx=kalisources
yesorno
fi
if [[ -d inshackle ]] ; then
foldx="inshackle"
yesorno
fi
if [[ -d kickthemout ]] ; then
foldx="kickthemout"
yesorno
fi
if [[ -d zphisher ]] ; then
foldx="zphisher"
yesorno
fi
if [[ -d userrecon ]] ; then
foldx="userrecon"
yesorno
fi
if [[ -d instashell ]] ; then
foldx="instashell"
yesorno
fi
if [[ -d cupp ]] ; then
foldx="cupp"
yesorno
fi
if [[ -d SpamWa ]] ; then
foldx="SpamWa"
yesorno
fi
if [[ -d IP-Tracer ]] ; then
foldx="IP-Tracer"
yesorno
fi
if [[ -d OSIF ]] ; then
foldx="OSIF"
yesorno
fi
if [[ -d Cam-Hackers ]] ; then
foldx="Cam-Hackers"
yesorno
fi
if [[ -d TheFatRat ]] ; then
foldx="TheFatRat"
yesorno
fi
if [[ -d RequiredChan ]] ; then
foldx="RequiredChan"
yesorno
fi
if [[ -d RED_HAWK ]] ; then
foldx="RED_HAWK"
yesorno
fi
if [[ -d ghost ]] ; then
foldx="ghost"
yesorno
fi
fi
# spinner
spinlong ()
{
bar="---------------------------"
barlength=${#bar}
i=0
while ((i < 100)); do
n=$((i*barlength / 100))
printf "\e[00;32m\r[%-${barlength}s]\e[00m" "${bar:0:n}"
((i += RANDOM%5+2))
sleep 0.02
done
echo -e "[${green}OK${tp}]"
}
function pressanykey {
read -n 1 -r -s -p $'Press any key to continue...\n'
}
function pressanykey3 {
read -t 3 -n 1 -r -s -p $'Press any key to continue...\n'
}
function ok {
echo "ok" &> /dev/null
}
# banner
function banner {
randomnumb=$((1 + RANDOM % 10))
if [[ $randomnumb = "1" ]] ; then
cat banners/banner1
elif [[ $randomnumb = "2" ]] ; then
cat banners/banner2
elif [[ $randomnumb = "3" ]] ; then
cat banners/banner3
elif [[ $randomnumb = "4" ]] ; then
cat banners/banner4
elif [[ $randomnumb = "5" ]] ; then
cat banners/banner5
elif [[ $randomnumb = "6" ]] ; then
cat banners/banner6
elif [[ $randomnumb = "7" ]] ; then
cat banners/banner7
elif [[ $randomnumb = "8" ]] ; then
cat banners/banner8
elif [[ $randomnumb = "9" ]] ; then
cat banners/banner9
else
cat banners/banner
fi
}
# detect ctrl+c exiting
trap ctrl_c INT
ctrl_c() {
echo -e "\n"
echo -e "[${blink}${yellow}*${tp}]$blue BCHackTool Programini Tercih Ettiginiz Için Teşekkürler {ByChan} :)$tp"
exit 0
}
## CHECK ##
# check internet
function checkinternet {
ping -c 1 google.com > /dev/null
if [[ "$?" != 0 ]]
then
echo -e " Internet Kontrol Ediliyor...: ${red}BAGLANAMADI$tp \n Bu Programin Etkin Bir Internete Ihtiyaci Var"
echo "Şimdi Çıkılıyor"
exit 1
else
echo "Interet Kontrol Ediliyor: BAGLANDI"
sleep 0.7
fi
}
# check gali linaksss
checkkali=$(uname -r)
if [[ $checkkali = *kali* ]] ; then
if [[ -d kalisources ]] ; then
ok
else
echo "Kali Linux İşletim Sistemi Bulundu Otomatik Güncelleyici İndiriliyor."
git clone https://github.com/lazypwny751/kalisources.git &> /dev/null
spinlong
cd kalisources &> /dev/null
chmod +x kalisources &> /dev/null
./kalisources
fi
fi
# SystemUpdate #
chmod +x SystemUpdate.sh
sudo bash SystemUpdate.sh
## -*-*- ##
# ruby check
checkruby=$(which ruby)
if [[ $checkruby = "" ]] ; then
echo "Ruby Kuruluyor..."
apt install ruby -y &> /dev/null
spinlong
fi
## check piton
#python
checkpython=$(which python)
if [[ $checkpython = "" ]] ; then
echo "Python Kuruluyor..."
apt install -y python python-pip &> /dev/null
spinlong
fi
#python2
checkpython2=$(which python2)
if [[ $checkpython2 = "" ]] ; then
echo "Python2 Kuruluyor..."
apt install -y python2 python2-pip &> /dev/null
spinlong
fi
#python3
checkpython3=$(which python3)
if [[ $checkpython3 = "" ]] ; then
echo "Python3 Kuruluyor..."
apt install -y python3 python3-pip &> /dev/null
spinlong
fi
#-# The real script real #-#
checkinternet
while :
do
clear
cd $setdir
banner
echo ""
echo -e "${blink}${lightgreen} ---------------------------------------------------------$tp"
echo -e "${blink}${lightgreen} |$tp ${cyan}Create by $white":" $red ByChan$tp ${blink}${lightgreen} |$tp"
echo -e "${blink}${lightgreen} |$tp ${cyan}Github $white":" $red https://github.com/ByCh4n$tp ${blink}${lightgreen} |$tp"
echo -e "${blink}${lightgreen} |$tp ${cyan}Instagram $white":" $red huseyinaltns$tp ${blink}${lightgreen} |$tp"
echo -e "${blink}${lightgreen} ---------------------------------------------------------$tp\n"
echo " ~~~~~~~~~~~~~~~~~~~~~ BCHackTool ~~~~~~~~~~~~~~~~~~~~~~~~~"
echo ""
echo " [1] ✔ Inshackle [2] ✔ Kickthemout"
echo " [3] ✔ Zphisher [4] ✔ UserRecon"
echo " [5] ✔ Instashell [6] ✔ Cupp"
echo " [7] ✔ SpamWa [8] ✔ Ip-Tracer"
echo " [9] ✔ OSIF [10] ✔ CamHackers"
echo " [11] ✔ TheFatRat [12] ✔ RequiredChan"
echo " [13] ✔ RED_HAWK [14] ✔ Ghost"
echo " [x] ✔ Exit"
echo ""
echo -ne "❨${red}BCHackTool@ByCh4n${tp}❩:(${blue}./BCHackTool${tp})\n↳[${blink}${lightcyan}*${tp}]➢ " ; read option
case "$option" in
1)
if [[ -d inshackle-bot ]] ; then
ok
else
clear
cat banners/bcbanner
echo -e $red "[0] Inshackle İndiriliyor "
git clone https://github.com/cyberkallan/inshackle-bot > /dev/null 2>&1
spinlong
echo -e $red "[1] Inshackle Kuruldu "
cd inshackle-bot
chmod +x inshackle.sh
cd ..
sleep 3
fi
clear
cd inshackle-bot
bash inshackle.sh
cd ..
;;
2)
if [[ -d kickthemout ]] ; then
ok
else
clear
cat banners/bcbanner
echo -e $red "[0] Kickthemout İndiriliyor "
git clone https://github.com/k4m4/kickthemout > /dev/null 2>&1
spinlong
cd kickthemout
echo -e $red "[1] Ek Bileşenler Kuruluyor "
{
apt install nmap -y
apt install python3 -y
apt install python3-pip -y
pip3 install -r requirements.txt
chmod +x kickthemout.py
} &> /dev/null
spinlong
cd ..
echo -e $red "[2] Kickthemout Kuruldu "
sleep 3
fi
clear
cd kickthemout
python3 kickthemout.py
cd ..
;;
3)
if [[ -d zphisher ]] ; then
ok
else
clear
cat banners/bcbanner
echo -e $red "[0] Zphisher İndiriliyor "
git clone https://github.com/htr-tech/zphisher > /dev/null 2>&1
spinlong
echo -e $red "[2] Zphisher Kuruldu "
sleep 3
fi
clear
cd zphisher
bash zphisher.sh
cd ..
;;
4)
if [[ -d userrecon ]] ; then
ok
else
clear
cat banners/bcbanner
echo -e $red "[0] UserRecon İndiriliyor "
git clone https://github.com/issamelferkh/userrecon > /dev/null 2>&1
spinlong
cd userrecon
chmod +x userrecon.sh
echo -e $red "[1] UserRecon Kuruldu "
cd ..
sleep 3
fi
clear
cd userrecon
./userrecon.sh
cd ..
;;
5)
if [[ -d instashell ]] ; then
ok
else
clear
cat banners/bcbanner
echo -e $red "[0] Instashell İndiriliyor "
git clone https://github.com/maxrooted/instashell > /dev/null 2>&1
spinlong
cd instashell
echo -e $red "[1] Ek Bileşenler Kuruluyor "
{
chmod +x instashell.sh
chmod +x install.sh
clear
sudo ./install.sh
clear
service tor start
} &> /dev/null
spinlong
echo -e $red "[2] Instashell Kuruldu "
cd ..
sleep 3
fi
clear
cd instashell
./instashell.sh
cd ..
;;
6)
if [[ -d cupp ]] ; then
ok
else
clear
cat banners/bcbanner
echo -e $red "[0] Cupp İndiriliyor "
git clone https://github.com/Mebus/cupp > /dev/null 2>&1
spinlong
cd cupp
echo -e $red "[1] Ek Bileşenler Kuruluyor "
{
chmod +x cup.py
apt-get install -y python3
} &> /dev/null
spinlong
echo -e $red "[2] Cupp Kuruldu "
cd ..
sleep 3
fi
clear
cd cupp
sudo python3 cupp.py -i
cd ..
;;
7)
if [[ -d SpamWa ]] ; then
ok
else
clear
cat banners/bcbanner
echo -e $red "[0] SpamWa İndiriliyor "
git clone https://github.com/krypton-byte/SpamWa > /dev/null 2>&1
spinlong
cd SpamWa
echo -e $red "[1] Ek Bileşenler Kuruluyor "
{
chmod +x spam.py
pip3 install requests
} &> /dev/null
spinlong
cd ..
echo -e $red "[2] SpamWa Kuruldu "
sleep 3
fi
clear
cd SpamWa
sudo python3 spam.py
cd ..
;;
8)
if [[ -d IP-Tracer ]] ; then
ok
else
clear
cat banners/bcbanner
echo -e $red "[0] IP-Tracer İndiriliyor "
git clone https://github.com/rajkumardusad/IP-Tracer > /dev/null 2>&1
spinlong
cd IP-Tracer
echo -e $red "[1] Ek Bileşenler Kuruluyor "
{
chmod +x install
./install
} &> /dev/null
spinlong
cd ..
echo -e $red "[2] IP-Tracer Kuruldu "
sleep 3
fi
clear
cd Ip-Tracer
ip-tracer start
cd ..
;;
9)
if [[ -d OSIF ]] ; then
ok
else
clear
cat banners/bcbanner
echo -e $red "[0] OSIF İndiriliyor "
git clone https://github.com/CiKu370/OSIF > /dev/null 2>&1
spinlong
cd OSIF
echo -e $red "[1] Ek Bileşenler Kuruluyor "
{
pip2 install -r requirements.txt
} &> /dev/null
spinlong
cd ..
echo -e $red "[2] OSIF Kuruldu "
sleep 3
fi
clear
cd OSIF
python2 osif.py
cd ..
;;
10)
if [[ -d Cam-Hackers ]] ; then
ok
else
clear
cat banners/bcbanner
echo -e $red "[0] Cam-Hackers İndiriliyor "
git clone https://github.com/AngelSecurityTeam/Cam-Hackers > /dev/null 2>&1
spinlong
cd Cam-Hackers
echo -e $red "[1] Ek Bileşenler Kuruluyor "
{
apt-get install -y python3-pip
pip3 install requests
} &> /dev/null
spinlong
cd ..
echo -e $red "[2] Cam-Hackers Kuruldu "
sleep 3
fi
clear
cd Cam-Hackers
sudo python3 cam-hackers.py
pressanykey
;;
11)
if [[ -d TheFatRat ]] ; then
ok
else
clear
cat banners/bcbanner
echo -e $red "[0] TheFatRat İndiriliyor "
git clone https://github.com/screetsec/TheFatRat > /dev/null 2>&1
spinlong
cd TheFatRat
echo -e $red "[1] Ek Bileşenler Kuruluyor "
{
apt-get install -y default-jdk
chmod +x setup.sh
./setup.sh
} #&> /dev/null
spinlong
cd ..
echo -e $red "[2] TheFatRat Kuruldu "
sleep 3
fi
clear
pwd
cd TheFatRat
pwd
./fatrat
sleep 15
cd ..
;;
12)
if [[ -d RequiredChan ]] ; then
ok
else
clear
cat banners/bcbanner
echo -e $red "[0] RequiredChan İndiriliyor "
git clone https://github.com/ByCh4n/RequiredChan > /dev/null 2>&1
spinlong
cd RequiredChan
echo -e $red "[1] RequiredChan Kuruldu "
sleep 3
fi
clear
cd RequiredChan
chmod +x reqchan
./reqchan
cd ..
;;
13)
if [[ -d RED_HAWK ]] ; then
ok
else
clear
cat banners/bcbanner
echo -e $red "[0] RED_HAWK İndiriliyor "
git clone https://github.com/Tuhinshubhra/RED_HAWK > /dev/null 2>&1
spinlong
cd RED_HAWK
echo -e $red "[1] Ek Bileşenler Kuruluyor "
{
sudo apt-get -qq --assume-yes install php-curl
sudo apt-get -qq --assume-yes install php-xml
} &> /dev/null
spinlong
cd ..
echo -e $red "[2] RED_HAWK Kuruldu "
sleep 3
fi
clear
cd RED_HAWK
php rhawk.php
;;
14)
if [[ -d ghost ]] ; then
ok
else
clear
cat banners/bcbanner
echo -e $red "[0] Ghost İndiriliyor "
git clone https://github.com/EntySec/Ghost > /dev/null 2>&1
spinlong
cd Ghost
echo -e $red "[1] Ek Bileşenler Kuruluyor "
{
pip3 install git+https://github.com/EntySec/Ghost
} &> /dev/null
spinlong
cd ..
echo -e $red "[2] Ghost Kuruldu "
sleep 3
fi
clear
cd Ghost
ghost
;;
x)
clear
cat banners/bcbanner
echo " BCHackTool Programini Tercih Ettiginiz Icin Tesekkurler {ByChan} !!"
echo ""
exit 0
;;
esac
done