-
Notifications
You must be signed in to change notification settings - Fork 179
/
Ddosv5-0-2.sh
2758 lines (2645 loc) · 90.9 KB
/
Ddosv5-0-2.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
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#!/bin/bash
#some variables
DEFAULT_ROUTE=$(ip route show default | awk '/default/ {print $3}')
IFACE=$(ip route show | awk '(NR == 2) {print $3}')
JAVA_VERSION=`java -version 2>&1 |awk 'NR==1{ gsub(/"/,""); print $3 }'`
MYIP=$(ip route show | awk '(NR == 2) {print $9}')
######## Update Kali
function updatekali {
clear
echo -e "
\033[31m#######################################################\033[m
Let's Update Kali
\033[31m#######################################################\033[m"
select menusel in "Update sources.list (Included kali sana repository for installing more package)" "Update Kali Sana 2.0 to Kali 2016.2" "Update and Clean Kali" "Back to Main"; do
case $menusel in
"Update sources.list (Included kali sana repository for installing more package)")
echo -e "\033[31m====== Adding new sources list and updating ======\033[m"
rm /etc/apt/sources.list
echo "" >> /etc/apt/sources.list
echo 'deb http://http.kali.org/kali kali-rolling main non-free contrib' >> /etc/apt/sources.list
echo 'deb-src http://http.kali.org/kali kali-rolling main contrib non-free' >> /etc/apt/sources.list
echo 'deb http://old.kali.org/kali sana main non-free contrib' >> /etc/apt/sources.list
apt-get update
pause
clear ;;
"Update Kali Sana 2.0 to Kali 2016.2")
clear
echo -e "\033[32mUpdating Kali Sana to Kali Linux 2016.2\033[m"
rm /etc/apt/sources.list
echo "" >> /etc/apt/sources.list
echo 'deb http://http.kali.org/kali kali-rolling main non-free contrib' >> /etc/apt/sources.list
echo 'deb-src http://http.kali.org/kali kali-rolling main contrib non-free' >> /etc/apt/sources.list
#apt-get update && apt-get -y dist-upgrade
apt-get update && apt-get -y upgrade
echo -e "\033[32mDone updating kali. You need to reboot your Kali Linux system\033[m"
pause
clear ;;
"Update and Clean Kali")
clear
echo -e "\033[32mUpdating and Cleaning Kali\033[m"
apt-get update && apt-get -y dist-upgrade && apt-get autoremove -y && apt-get -y autoclean
echo -e "\033[32mDone updating and cleaning kali\033[m" ;;
"Back to Main")
clear
mainmenu ;;
*)
screwup
updatekali ;;
esac
break
done
}
######### Install WebApp Hacking Lab
function WebAppLab {
clear
echo -e "
\033[31m#######################################################\033[m
Install WebApp Hacking Lab
\033[31m#######################################################\033[m"
select menusel in "Installing bWAPP" "Installing DVWA" "Install All" "Back to Main"; do
case $menusel in
"Installing bWAPP")
installbWAPP
pause
WebAppLab ;;
"Installing DVWA")
installdvwa
pause
WebAppLab ;;
"Install All")
installbWAPP
installdvwa
pause
WebAppLab ;;
"Back to Main")
clear
mainmenu ;;
*)
screwup
WebAppLab ;;
esac
break
done
}
######## Install Dirs3arch
function installDirs3arch {
echo -e "\e[1;31mThis option will install dirs3arch!\e[0m"
echo -e "\e[1;31mHTTP(S) directory/file brute forcer\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Installing dirs3arch ======\033[m"
sleep 2
git clone https://github.com/maurosoria/dirs3arch.git /opt/intelligence-gathering/WebApp/dirs3arch-master/
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install dvwa
function installdvwa {
echo -e "\e[1;31mThis option will install dvwa!\e[0m"
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Installing dvwa ======\033[m"
sleep 2
chmod +x installing-dvwa.sh
./installing-dvwa.sh
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install bwapp
function installbWAPP {
echo -e "\e[1;31mThis option will install bwapp!\e[0m"
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Installing bwapp ======\033[m"
sleep 2
chmod +x installing-bwapp.sh
./installing-bwapp.sh
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
#### Bleachbit Virtualbox
function installvirtualbox {
echo -e "\e[1;31mThis option will install Virtualbox and fix "Unable to connect USB devices to a VirtualBox guest from Debian"!\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\e[31m[+] Installing Virtualbox now!\e[0m"
apt-get install -y virtualbox-guest-x11 virtualbox virtualbox-ext-pack linux-headers*
usermod -a -G vboxusers ddos
echo -e "\e[32m[-] Done Installing Virtualbox!\e[0m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
#### Bleachbit Installation
function installbleachbit {
echo -e "\e[1;31mThis option will install Bleachbit!\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\e[31m[+] Installing Bleachbit now!\e[0m"
apt-get -y install bleachbit
echo -e "\e[32m[-] Done Installing Bleachbit!\e[0m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
#### arc theme Installation
function installarctheme {
echo -e "\e[1;31mThis option will install arc theme & arc icon!\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\e[31m[+] Installing arc theme & arc icon now!\e[0m"
apt-get -y install autoconf automake pkg-config libgtk-3-dev git
git clone https://github.com/horst3180/arc-theme --depth 1 && cd arc-theme
./autogen.sh --prefix=/usr
sudo make install
cd ..
rm -rf arc-theme
git clone https://github.com/horst3180/arc-icon-theme --depth 1 && cd arc-icon-theme
./autogen.sh --prefix=/usr
sudo make install
cd ..
rm -rf arc-icon-theme
echo -e "\e[32m[-] Done Installing arc theme!\e[0m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
#### GoldenDict Installation
function installGoldendict {
echo -e "\e[1;31mThis option will install GoldenDict!\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\e[31m[+] Installing GoldenDict now!\e[0m"
apt-get -y install goldendict
echo -e "\e[32m[-] Done Installing goldendict!\e[0m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
#### Metasploit Installation
function installmetasploitframework {
echo -e "\e[1;31mThis option will install metasploit framework on Ubuntu/Mint!\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\e[31m[+] Installing Metasploit now!\e[0m"
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall
chmod 755 msfinstall
./msfinstall
echo -e "\e[32m[-] Done Installing Metasploit!\e[0m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install Flash
function installflash {
echo "This will install Flash. Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\e[31m[+] Installing Flash now!\e[0m"
apt-get -y install flashplugin-nonfree
update-flashplugin-nonfree --install
echo -e "\e[32m[-] Done Installing Flash!\e[0m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install RecordMyDesktop
function installrecordmydesktop {
echo "This will install RecordMyDesktop. Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\e[31m[+] Installing RecordMyDesktop now!\e[0m"
apt-get -y install gtk-recordmydesktop
echo -e "\e[32m[-] Done Installing RecordMyDesktop!\e[0m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install Pinta
function installpinta {
echo "This will install Pinta (image editor). Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\e[31m[+] Installing Pinta now!\e[0m"
apt-get -y install pinta
echo -e "\e[32m[-] Done Installing Pinta!\e[0m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install GnomeTweakTool
function installgnometweaktool {
echo "This will install Gnome Tweak Tools. Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\e[31m[+] Installing Gnome Tweak Tool now!\e[0m"
apt-get -y install gnome-tweak-tool
echo -e "\e[32m[-] Done Installing Gnome Tweak Tool!\e[0m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install ibus
function installibus {
echo "This will install ibus. Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\e[31m[+] Installing ibus now!\e[0m"
apt-get -y install ibus && apt-get -y install ibus-unikey
echo -e "\e[32m[-] Done Installing ibus!\e[0m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install libreoffice
function installlibreoffice {
echo "This will install libreoffice. Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\e[31m[+] Installing libreoffice now!\e[0m"
apt-get -y install libreoffice
echo -e "\e[32m[-] Done Installing libreoffice!\e[0m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install knotes
function installknotes {
echo "This will install knotes. Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\e[31m[+] Installing knotes now!\e[0m"
apt-get -y install knotes
echo -e "\e[32m[-] Done Installing knotes!\e[0m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install Veil-Framework
function installveil {
if [ ! -f /opt/BypassAV/Veil-Evasion/Veil-Evasion.py ]; then
echo -e "\e[1;31mThis option will install Veil-Evasion!\e[0m"
echo -e "\e[1;31mHow to use Veil-Evasion\e[0m"
echo -e "\e[1;32mhttps://www.youtube.com/watch?v=H_0MPjSF5L0\e[0m"
echo -e "\e[1;31mHow to change Veil-Evasion icon\e[0m"
echo -e "\e[1;31mhttps://www.youtube.com/watch?v=WeM0c0s-vQI\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Installing Veil-Evasion ======\033[m"
sleep 2
git clone https://github.com/Veil-Framework/Veil-Evasion.git /opt/BypassAV/Veil-Evasion/
cd /opt/BypassAV/Veil-Evasion/setup
./setup.sh -s
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
else
echo -e "\e[32m[-] Veil-Evasion already installed !\e[0m"
fi
}
######## Install VPN-BOOK
function installvpnbook {
if [ ! -f /root/Desktop/vpnbook.sh ]; then
echo -e "\e[1;31mThis option will install VPN-BOOK!\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Installing VPN-BOOK ======\033[m"
sleep 2
cd /root/Desktop
wget https://github.com/Top-Hat-Sec/thsosrtl/blob/master/VeePeeNee/VeePeeNee.sh
mv VeePeeNee.sh vpnbook.sh
chmod a+x vpnbook.sh
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
else
echo -e "\e[32m[-] VPN-BOOK already installed !\e[0m"
fi
}
######### Install Google Chrome
function installgooglechrome {
echo -e "\e[1;33mThis option will install google chrome.\e[0m"
echo "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
read -p "Are you using a 32bit or 64bit operating system [ENTER: 32 or 64]? " operatingsys
if [ "$operatingsys" == "32" ]; then
echo -e "\e[1;33m[+] Downloading Google Chrome for Debian 32bit\e[0m"
wget https://archive.org/download/google-chrome-stable_48.0.2564.116-1_i386/google-chrome-stable_48.0.2564.116-1_i386.deb
echo -e "\e[31m[-] Done with download!\e[0m"
echo -e "\e[1;33m[+] Installing google chrome\e[0m"
dpkg -i google-chrome-stable_48.0.2564.116-1_i386.deb
rm google-chrome-stable_48.0.2564.116-1_i386.deb
apt-get -f install
echo -e "\e[34m[-] Done installing Google Chrome on your Kali Linux system!\e[0m"
echo -e "\e[34m[-] To run Google Chrome, use command: /usr/bin/google-chrome-stable --no-sandbox --user-data-dir\e[0m"
else
echo -e "\e[1;33m[+] Downloading Google Chrome for Debian 64bit\e[0m"
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
echo -e "\e[31m[-] Done with download!\e[0m"
echo -e "\e[1;33m[+] Installing Google Chrome\e[0m"
dpkg -i google-chrome-stable_current_amd64.deb
rm google-chrome-stable_current_amd64.deb
apt-get -f install
echo -e "\e[34m[-] Done installing Google Chrome on your Kali Linux system!\e[0m"
echo -e "\e[34m[-] To run Google Chrome, use command: /usr/bin/google-chrome-stable --no-sandbox --user-data-dir\e[0m"
fi
else
echo -e "\e[34m[-] Ok,maybe later !\e[0m"
fi
}
######### Install Tor Browser
function installtorbrowser {
echo -e "\e[1;33mThis option will install Tor Browser.\e[0m"
echo "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
read -p "Are you using a 32bit or 64bit operating system [ENTER: 32 or 64]? " operatingsys
if [ "$operatingsys" == "32" ]; then
echo -e "\e[1;33m[+] Downloading Tor Browser 32bit\e[0m"
cd /root/Desktop
wget https://www.torproject.org/dist/torbrowser/6.5.1/tor-browser-linux32-6.5.1_en-US.tar.xz
echo -e "\e[31m[-] Done with download!\e[0m"
echo -e "\e[1;33m[+] Installing Tor Browser\e[0m"
tar -xf tor-browser-linux32-6.0.5_en-US.tar.xz
cd /root/Desktop/tor-browser_en-US/Browser/
mv start-tor-browser start-tor-browser.txt
sed -i 's/`id -u`" -eq 0/`id -u`" -eq 1/g' start-tor-browser.txt
mv start-tor-browser.txt start-tor-browser
cd ..
ls -ld
chown -R root:root .
ls -ld
echo -e "\e[34m[-] Done installing Tor Browser on your Kali Linux system!\e[0m"
else
cd /root/Desktop
wget https://www.torproject.org/dist/torbrowser/6.5.1/tor-browser-linux64-6.5.1_en-US.tar.xz
echo -e "\e[31m[-] Done with download!\e[0m"
echo -e "\e[1;33m[+] Installing Tor Browser\e[0m"
tar -xf tor-browser-linux64-6.0.5_en-US.tar.xz
cd /root/Desktop/tor-browser_en-US/Browser/
mv start-tor-browser start-tor-browser.txt
sed -i 's/`id -u`" -eq 0/`id -u`" -eq 1/g' start-tor-browser.txt
mv start-tor-browser.txt start-tor-browser
cd ..
ls -ld
chown -R root:root .
ls -ld
echo -e "\e[34m[-] Done installing Tor Browser on your Kali Linux system!\e[0m"
fi
else
echo -e "\e[34m[-] Ok,maybe later !\e[0m"
fi
}
######## Install VPN
function installvpn {
echo -e "\e[1;31mThis option will install VPN!\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Installing VPN ======\033[m"
sleep 2
apt-get -y install network-manager-openvpn
apt-get -y install network-manager-openvpn-gnome
apt-get -y install network-manager-pptp
apt-get -y install network-manager-pptp-gnome
apt-get -y install network-manager-strongswan
apt-get -y install network-manager-vpnc
apt-get -y install network-manager-vpnc-gnome
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install Archive-Manager
function installarchivemanager {
echo -e "\e[1;31mThis option will install Archive Manager!\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Installing Archive Manager ======\033[m"
sleep 2
apt-get -y install unrar unace rar unrar p7zip zip unzip p7zip-full p7zip-rar file-roller
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install Gdebi
function installgdebi {
echo -e "\e[1;31mThis option will install Gdebi!\e[0m"
echo -e "\e[1;31mgdebi lets you install local deb packages resolving and installing its dependencies. apt does the same, but only for remote (http, ftp) located packages.!\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Installing Gdebi ======\033[m"
sleep 2
apt-get -y install gdebi &>/dev/nul
echo -e "\033[32m====== Done Installing Gdebi ======\033[m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install bittorrent client
function installbittorrent {
echo -e "\e[1;31mThis option will install bittorrent!\e[0m"
echo -e "\e[1;31mThis is a transitional dummy package to ensure clean upgrades from old releases (the package deluge-torrent is replaced by deluge)!\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Installing bittorrent ======\033[m"
sleep 2
apt-get -y install transmission
echo -e "\033[32m====== Done Installing bittorrent ======\033[m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install Fix Sound Mute
function installfixsoundmute {
echo -e "\e[1;31mThis option will fix sound mute on Kali Linux on boot!\e[0m"
echo -e ""
echo -e "Do you want to install alsa-utils to fix it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Fixing sound mute ======\033[m"
sleep 2
apt-get -y install alsa-utils
echo -e "\033[32m====== Done Installing alsa-utils ======\033[m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install Change Kali Login Wallpaper
function installchangelogin {
echo -e "\e[1;31mThis option will change Kali Login Wallpaper!\e[0m"
echo -e "\e[1;31mPlace wallpaper that you want to make as Kali Login Wallpaper on Desktop\e[0m"
echo -e "\e[1;31mAfter that, Rename it to "login-background.png" (.png format)\e[0m"
echo -e ""
echo -e "Do you want to change it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Changing Kali Login Wallpaper ======\033[m"
sleep 2
cd /usr/share/images/desktop-base/
mv login-backgroung.{png,png.bak}
mv /root/Desktop/login-background.png /usr/share/images/desktop-base/
echo -e "\033[32m====== Done Changing ======\033[m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install Firefox
function installfirefox {
echo -e "\e[1;31mThis option will install Firefox!\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Installing Firefox ======\033[m"
sleep 2
apt-get -y remove iceweasel
echo -e deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main | tee -a /etc/apt/sources.list > /dev/null
apt-key adv –recv-keys –keyserver keyserver.ubuntu.com C1289A29
apt-get update
apt-get --force-yes install firefox-mozilla-build
echo -e "\033[32m====== Done Installing ======\033[m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install MinGW
function installMinGW {
echo -e "\e[1;31mThis option will install MinGW!\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Installing MinGW ======\033[m"
sleep 2
apt-get -y -qq install mingw-w64 binutils-mingw-w64 gcc-mingw-w64 cmake
apt-get -y -qq install mingw-w64-dev mingw-w64-tools
apt-get -y -qq install gcc-mingw-w64-i686 gcc-mingw-w64-x86-64
apt-get -y -qq install mingw32
echo -e "\033[32m====== Done Installing ======\033[m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install Vmware
function installVmware {
echo -e "\e[1;31mThis option will install Vmware-tools!\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Installing Vmware Tools ======\033[m"
sleep 2
apt-get -y -qq install open-vm-tools-desktop fuse
echo -e "\033[32m====== Done Installing ======\033[m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install fix device
function installfixdevice {
echo -e "\e[1;31mThis option will fix device mananged error!\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Fixing ======\033[m"
sleep 2
mv /etc/NetworkManager/NetworkManager.conf /etc/NetworkManager/NetworkManager.txt
sed -i 's/false/true/g' /etc/NetworkManager/NetworkManager.txt
mv /etc/NetworkManager/NetworkManager.txt /etc/NetworkManager/NetworkManager.conf
echo -e "\033[32m====== Done Fixing ======\033[m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install installwirelessdriver
function installwirelessdriver {
echo -e "\e[1;31mThis option will Install Wifi card driver in Kali Linux!\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
firefox https://www.youtube.com/watch?v=AZ0lPu9NhWQ
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install installtransparent
function installtransparent {
echo -e "\e[1;31mThis option will Transparent-top bar-notification-windows on Kali Linux!\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
firefox https://www.youtube.com/watch?v=S3Dex1ltDs4
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install Java version 8
function installjava {
echo -e "\e[1;31mThis option will install java!\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Installing Java ======\033[m"
sleep 2
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
apt-get -y install oracle-java8-installer
echo -e "\033[32m====== Done Installing ======\033[m"
echo -e "\033[32mTo remove java version 1.8\033[m"
echo -e "\033[32mapt-get --purge remove oracle-java8-installer\033[m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install Sopcast
function installsopcast {
echo -e "\e[1;31mThis option will install sopcast!\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Installing Sopcast ======\033[m"
sleep 2
wget https://launchpad.net/~jason-scheunemann/+archive/ppa/+files/sp-auth_3.2.6~ppa1~precise3_i386.deb
dpkg -i sp-auth_3.2.6~ppa1~precise3_*.deb
apt-get -f install
wget https://launchpad.net/~jason-scheunemann/+archive/ppa/+files/sopcast-player_0.8.5~ppa~precise1_i386.deb
dpkg -i sopcast-player_0.8.5~ppa~precise1_*.deb
apt-get -f install
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install nvidia
function installnvidia {
echo -e "\e[1;31mThis option will install nvidia GPU driver!\e[0m"
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Installing nvidia GPU driver ======\033[m"
sleep 2
apt update && apt dist-upgrade -y
apt install -y ocl-icd-libopencl1 nvidia-driver nvidia-cuda-toolkit
nvidia-smi
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install fix sound kali linux 2016.2
function installsoudkali2016 {
echo -e "\e[1;31mThis option will fix sound mute and start pulseaudio on startup!\e[0m"
echo -e ""
echo -e "Do you want to fix it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Fixing Sound ======\033[m"
sleep 2
systemctl --user enable pulseaudio
systemctl --user start pulseaudio
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Install Wordlist
function installwordlist {
echo -e "\e[1;31mThis option will download more wordlist to your Kali Linux system!\e[0m"
echo -e ""
echo -e "Do you want to download it ? (Y/N)"mv /etc/NetworkManager/NetworkManager.conf /etc/NetworkManager/NetworkManager.txt
sed -i 's/false/true/g' /etc/NetworkManager/NetworkManager.txt
mv /etc/NetworkManager/NetworkManager.txt /etc/NetworkManager/NetworkManager.conf
echo -e "\033[32m====== Done Fixing ======\033[m"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Downloading wordlist ======\033[m"
sleep 2
echo -e "\n $GREEN[+]$RESET Updating wordlists ~ collection of wordlists"
apt-get -y -qq install curl
#--- Extract rockyou wordlist
[ -e /usr/share/wordlists/rockyou.txt.gz ] && gzip -dc < /usr/share/wordlists/rockyou.txt.gz > /usr/share/wordlists/rockyou.txt #gunzip rockyou.txt.gz
#rm -f /usr/share/wordlists/rockyou.txt.gz
#--- Extract sqlmap wordlist
#unzip -o -d /usr/share/sqlmap/txt/ /usr/share/sqlmap/txt/wordlist.zip
#--- Add 10,000 Top/Worst/Common Passwords
mkdir -p /usr/share/wordlists/
(curl --progress -k -L "http://xato.net/files/10k most common.zip" > /tmp/10kcommon.zip && unzip -q -o -d /usr/share/wordlists/ /tmp/10kcommon.zip 2>/dev/null) || (curl --progress -k -L "http://download.g0tmi1k.com/wordlists/common-10k_most_common.zip" > /tmp/10kcommon.zip && unzip -q -o -d /usr/share/wordlists/ /tmp/10kcommon.zip) #***!!! hardcoded version! Need to manually check for updates
mv -f /usr/share/wordlists/10k{\ most\ ,_most_}common.txt
#--- Linking to more - folders
[ -e /usr/share/dirb/wordlists ] && ln -sf /usr/share/dirb/wordlists /usr/share/wordlists/dirb
#--- Linking to more - files
#ln -sf /usr/share/sqlmap/txt/wordlist.txt /usr/share/wordlists/sqlmap.txt
##--- Not enough? Want more? Check below!
##apt-cache search wordlist
##find / \( -iname '*wordlist*' -or -iname '*passwords*' \) #-exec ls -l {} \;
#--- Remove old temp files
rm -f /tmp/10kcommon.zip
echo -e "\033[32m====== Done Downloading ======\033[m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Software and System Tools menu
function softwaresandystemtools {
clear
echo -e "
\033[31m#######################################################\033[m
Software and System Tools
\033[31m#######################################################\033[m"
select menusel in "VirtualBox" "Arc theme" "Bleachbit" "Google Chrome" "GoldenDict" "Sopcast" "Flash" "Transparent-top bar-notification-windows on Kali Linux" "Install Wifi card driver in Kali Linux" "Java" "Pinta" "RecordMyDesktop" "GnomeTweakTool" "ibus" "libreoffice" "knotes" "VPN" "VPN-BOOK" "Tor Browser" "Fix Sound Mute" "Fix Sound Mute on Kali Linux 2016.2" "Archive-Manager" "Gdebi" "bittorrent client" "NVIDIA GPU Drivers" "system-config-samba" "Fix Device not managed error" "Change Kali Login Wallpaper" "Firefox" "MinGW" "Vmare-tools" "Install All" "Back to Main"; do
case $menusel in
"VirtualBox")
installvirtualbox
pause
softwaresandystemtools ;;
"Arc theme")
installarctheme
pause
softwaresandystemtools ;;
"NVIDIA GPU Drivers")
installnvidia
pause
softwaresandystemtools ;;
"Fix Sound Mute on Kali Linux 2016.2")
installsoudkali2016
pause
softwaresandystemtools ;;
"Transparent-top bar-notification-windows on Kali Linux")
installtransparent
pause
softwaresandystemtools ;;
"Sopcast")
installsopcast
pause
softwaresandystemtools ;;
"Firefox")
installfirefox
pause
softwaresandystemtools ;;
"Install Wifi card driver in Kali Linux")
installwirelessdriver
pause
softwaresandystemtools ;;
"Java")
installjava
pause
softwareandsystemtools ;;
"MinGW")
installMinGW
pause
softwaresandystemtools ;;
"Vmare-tools")
installVmware
pause
softwaresandystemtools ;;
"Bleachbit")
installbleachbit
pause
softwaresandystemtools ;;
"GoldenDict")
installGoldendict
pause
softwaresandystemtools ;;
"Flash")
installflash
pause
softwaresandystemtools ;;
"system-config-samba")
installsystem-config-samba
pause
softwaresandystemtools ;;
"Pinta")
installpinta
pause
softwaresandystemtools ;;
"Google Chrome")
installgooglechrome
pause
softwaresandystemtools ;;
"RecordMyDesktop")
installrecordmydesktop
pause
softwaresandystemtools ;;
"GnomeTweakTool")
installgnometweaktool
pause
softwareandsystemtools ;;
"ibus")
installibus
pause
softwaresandystemtools ;;
"libreoffice")
installlibreoffice
pause
softwareandsystemtools ;;
"knotes")
installknotes
pause
softwaresandystemtools ;;
"VPN")
installvpn
pause
softwaresandystemtools ;;
"VPN-BOOK")
installvpnbook
pause
softwaresandystemtools ;;
"Tor Browser")
installtorbrowser
pause
softwaresandystemtools ;;
"Fix Sound Mute")
installfixsoundmute
pause
softwaresandystemtools ;;
"Archive-Manager")
installarchivemanager
pause
softwaresandystemtools ;;
"Gdebi")
installgdebi
pause
softwaresandystemtools ;;
"bittorrent client")
installbittorrent
pause
softwaresandystemtools ;;
"Fix Device not managed error")
installfixdevice
pause
softwaresandystemtools ;;
"Change Kali Login Wallpaper")
installchangelogin
pause
softwaresandystemtools ;;
"Install All")
installvirtualbox
installbleachbit
installGoldendict
installflash
installpinta
installrecordmydesktop
installgnometweaktool
installibus
installlibreoffice
installknotes
installvpnbook
installvpn
installtorbrowser
installfixsoundmute
installsoudkali2016
installgooglechrome
installarchivemanager
installgdebi
installbittorrent
installfixdevice
installchangelogin
installsystem-config-samba
installfirefox
installMinGW
installVmware
echo -e "\e[32m[-] Done Installing Software and System Tools\e[0m"
pause
softwaresandystemtools ;;
"Back to Main")
clear
mainmenu ;;
*)
screwup
softwaresandystemtools ;;
esac
break
done
}
######## Update metasploit
function updatemetasploit {
if [ ! -f /opt/dirs3arch.py ]; then
echo -e "\e[1;31mThis option will update latest metasploit version!\e[0m"
echo -e ""
echo -e "Do you want to update it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Updating metasploit ======\033[m"
sleep 2
git clone https://github.com/rapid7/metasploit-framework.git /opt/exploitation/metasploit/
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
else
echo -e "\e[32m[-] Metasploit already updated !\e[0m"
fi
}
######## Update Social Engineering Toolkit
function updateSET {
echo -e "\e[1;31mThis option will update latest SET version!\e[0m"
echo -e ""
echo -e "Do you want to update it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Updating SET ======\033[m"
sleep 2
rm -rf /opt/exploitation/set/
git clone https://github.com/trustedsec/social-engineer-toolkit.git /opt/exploitation/set/
mv /usr/share/set/config/ /opt/exploitation/set/
echo -e "\e[32m[-] Done!\e[0m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Update Beef
function updateBeef {
echo -e "\e[1;31mThis option will update latest Beef version!\e[0m"
echo -e ""
echo -e "Do you want to update it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Updating SET ======\033[m"
sleep 2
git clone https://github.com/beefproject/beef.git /opt/exploitation/beef/
echo -e "\e[32m[-] Done!\e[0m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
######## Update Veil-Evasion
function updateVeil {
echo -e "\e[1;31mThis option will update latest Veil version!\e[0m"
echo -e ""
echo -e "Do you want to update it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Updating Veil-Evasion ======\033[m"
sleep 2
cd /opt/BypassAV/
rm -rf Veil-Evasion/
git clone https://github.com/Veil-Framework/Veil-Evasion.git /opt/BypassAV/Veil-Evasion/
echo -e "\e[32m[-] Done!\e[0m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}