-
Notifications
You must be signed in to change notification settings - Fork 150
/
Lalin.sh
3294 lines (2893 loc) · 108 KB
/
Lalin.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
#=============================================================================
#+ ---=> [ LALIN ( LAZY LINUX ) #
# + ---=> [ Welcome and dont disclaimer #
# + ---=> [ LALIN Author By Edooo -maland- #
# + ---=> [ Tested On Kali Linux and Kali sana v.2 #
# + ---=> [ contact me in [email protected] #
# + ---=> [ Improve lazy command in here
#=============================================================================
#This colour
cyan='\e[0;36m'
green='\e[0;34m'
okegreen='\033[92m'
lightgreen='\e[1;32m'
white='\e[1;37m'
red='\e[1;31m'
yellow='\e[1;33m'
GIT_CLONE='git clone -q --depth 1'
# pause function
function pause(){
echo -e $cyan""
read -sn 1 -p "Press any keywoard to continue..."
}
# function ngerusuhlo
function ngerusuhlo {
clear
echo -e $white"Ngerusuhlo jan pencet asal dong , try again."
pause
clear
}
##########Update Kali#############
function updatekali {
clear
echo -e $red"============================================================================="
echo -e $white"NOTE : "
echo -e $white"CREATE A BACKUP FILE WHEN YOU RUNE OPTION 1 2 3"
echo""
echo -e $red""
echo "██╗ ██╗██████╗ ██████╗ █████╗ ████████╗███████╗██╗ ██╗ █████╗ ██╗ ██╗"
echo "██║ ██║██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝██╔════╝██║ ██╔╝██╔══██╗██║ ██║"
echo -e $white"██║ ██║██████╔╝██║ ██║███████║ ██║ █████╗ █████╔╝ ███████║██║ ██║"
echo "██║ ██║██╔═══╝ ██║ ██║██╔══██║ ██║ ██╔══╝ ██╔═██╗ ██╔══██║██║ ██║"
echo "╚██████╔╝██║ ██████╔╝██║ ██║ ██║ ███████╗██║ ██╗██║ ██║███████╗██║"
echo " ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝"
echo " "
echo -e $red"============================================================================="
echo -e $white " Let's Update kali to New Version "
echo -e $red"============================================================================="
echo " "
echo -e $white""
select lalinselc in "Add Myrepositories" "Update sources.list ( 2016 )" "Update Kali" "Update and Clean Kali" "Restore Repository" "Backup Repository" "Back to Main"; do
case $lalinselc in
"Add Myrepositories")
clear
echo -e "\033[31m====== Adding new sources list and updating ======\033[m"
rm /etc/apt/sources.list
echo 'deb http://http.kali.org/kali sana main contrib non-free' >> /etc/apt/sources.list
echo 'deb-src http://http.kali.org/kali sana main contrib non-free' >> /etc/apt/sources.list
echo 'deb http://security.kali.org/kali-security sana/updates main contrib non-free' >> /etc/apt/sources.list
echo 'deb-src http://security.kali.org/kali-security sana/updates main contrib non-free' >> /etc/apt/sources.list
echo 'deb http://http.kali.org/kali kali-bleeding-edge contrib non-free main' >> /etc/apt/sources.list
apt-get update
apt-get upgrade
pause
clear ;;
"Update sources.list")
clear
echo -e "\033[31m====== Adding new sources list and updating ======\033[m"
rm /etc/apt/sources.list
echo "" >> /etc/apt/sources.list
echo '# Security updates ' >> /etc/apt/sources.list
echo 'deb http://http.kali.org/kali kali-rolling main non-free contrib' >> /etc/apt/sources.list
apt-get update
apt-get upgrade
pause
clear ;;
"Update Kali")
clear
echo -e "\033[32mUpdating Kali\033[m"
#apt-get update && apt-get -y dist-upgrade
apt-get update && apt-get -y upgrade
echo -e "\033[32mDone updating kali\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" ;;
"Restore Repository")
clear
rm /etc/apt/sources.list
mv /etc/apt/sources.list.backup /etc/apt/sources.2
echo -e $red " Done Restore repository "
pause
clear ;;
"Backup Repository")
clear
rm /etc/apt/sources.list.backup
cp /etc/apt/sources.list /etc/apt/sources.list.backup
echo -e $red " Backup name is sources.list.backup"
pause
clear ;;
"Back to Main")
clear
lalin ;;
*)
ngerusuhlo
updatekali ;;
esac
break
done
}
#################################################################################
#Install VirtualBox
#################################################################################
function babivirtualbox {
clear
echo -e "\e[1;33mThis option will install VirtualBox.\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 Virtualbox for Debian 32bit\e[0m"
wget http://download.virtualbox.org/virtualbox/4.3.30/virtualbox-4.3_4.3.30-101610~Debian~wheezy_i386.deb
echo -e "\e[31m[-] Done with download!\e[0m"
echo -e "\e[1;33m[+] Installing VirtualBox\e[0m"
dpkg -i virtualbox-4.3_4.3.30-101610~Debian~wheezy_i386.deb
rm virtualbox-4.3_4.3.30-101610~Debian~wheezy_i386.deb
echo -e "\e[34m[-] Done installing VirtualBox on your Kali Linux system!\e[0m"
else
echo -e "\e[1;33m[+] Downloading VirtualBox for Debian 64bit\e[0m"
wget http://download.virtualbox.org/virtualbox/4.3.30/virtualbox-4.3_4.3.30-101610~Debian~wheezy_amd64.deb
echo -e "\e[31m[-] Done with download!\e[0m"
echo -e "\e[1;33m[+] Installing VirtualBox\e[0m"
dpkg -i virtualbox-4.3_4.3.30-101610~Debian~wheezy_amd64.deb
rm virtualbox-4.3_4.3.30-101610~Debian~wheezy_amd64.deb
echo -e "\e[34m[-] Done installing VirtualBox on your Kali Linux system!\e[0m"
fi
else
echo -e "\e[34m[-] Ok,maybe later !\e[0m"
fi
}
#################################################################################
#Install Vmware
#################################################################################
function installVmware {
clear
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 Qemu
#################################################################################
function installqemu {
clear
echo -e "\e[1;31mThis option will install Qemu with the 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 Qemu ===============================\033[m"
sleep 2
apt-get -y -qq install qemu-system
echo -e "\033[32m=============================== Done Installing ===============================\033[m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
#################################################################################
# Install VKM
#################################################################################
function installvkm {
clear
echo -e "\e[1;31mThis option will install VKM!\e[0m"
echo -e ""
echo -e $red"NOTE : "
echo -e $white"KVM only works if your CPU has hardware virtualization support – either Intel VT-x or AMD-V."
echo
echo -e $red"For Detail : "
echo -e $white"http-www-howtogeek.com/117635/how-to-install-kvm-and-create-virtual-machines-on-ubuntu/"
echo
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m=============================== Installing VKM ===============================\033[m"
sleep 2
apt-get -y -qq install qemu-kvm libvirt-bin bridge-utils virt-manager
echo -e "\033[32m=============================== Done Installing ===============================\033[m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
########VIRTUAL MACHINE##############
function virtualme {
clear
echo -e $white"============================================================================"
echo -e $yellow"NOTE : "
echo -e $white"You Must Connect To The Internet "
echo -e $cyan""
echo "██╗ ██╗██╗██████╗ ███╗ ███╗ █████╗ ██████╗██╗ ██╗██╗███╗ ██╗███████╗";
echo "██║ ██║██║██╔══██╗████╗ ████║██╔══██╗██╔════╝██║ ██║██║████╗ ██║██╔════╝";
echo "██║ ██║██║██████╔╝██╔████╔██║███████║██║ ███████║██║██╔██╗ ██║█████╗ ";
echo "╚██╗ ██╔╝██║██╔══██╗██║╚██╔╝██║██╔══██║██║ ██╔══██║██║██║╚██╗██║██╔══╝ ";
echo " ╚████╔╝ ██║██║ ██║██║ ╚═╝ ██║██║ ██║╚██████╗██║ ██║██║██║ ╚████║███████╗";
echo " ╚═══╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚══════╝";
echo " ";
echo -e $white"============================================================================"
echo -e $cyan " Let's Intall Virtual Machine for Pentesting "
echo -e $white"============================================================================"
echo " "
echo -e $white""
select lalinselc in "Install VirtualBox" "Install Vmware" "Install Qemu" "Install VKM" "Back to Main"; do
case $lalinselc in
"Install VirtualBox")
babivirtualbox
pause
virtualme ;;
"Install Vmware")
installVmware
pause
virtualme ;;
"Install Qemu")
installqemu
pause
virtualme ;;
"Install VKM")
installvkm
pause
virtualme ;;
"Back to Main")
clear
lalin ;;
*)
ngerusuhlo
virtualme ;;
esac
break
done
}
#################################################################################
# Install Google Chrome
#################################################################################
function gchrome {
echo -e "\e[1;31mThis option will install Google Chrome Latest Version!\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;31m[+] Downloading google-chrome-stable_current_i386\e[0m"
wget wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
echo -e "\e[32m[-] Done with download!\e[0m"
echo -e "\e[1;31m[+] Installing google-chrome\e[0m"
dpkg -i google-chrome-stable_current_i386.deb
cp /opt/google/chrome/google-chrome.desktop /usr/share/applications/google-chrome.desktop
echo -e "\e[1;31m[+] Patching to run as root!\e[0m"
head -n -1 /opt/google/chrome/google-chrome > temp.txt ; mv temp.txt /opt/google/chrome/google-chrome
echo 'exec -a "$0" "$HERE/chrome" "$@" --user-data-dir' >> /opt/google/chrome/google-chrome
chmod +x /opt/google/chrome/google-chrome
echo -e "\e[32m[-] Done patching!\e[0m"
rm google-chrome-stable_current_i386.deb
echo -e "\e[32m[-] Done installing enjoy chrome!\e[0m"
else
echo -e "\e[1;31m[+] Downloading google-chrome-stable_current_amd64\e[0m"
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
echo -e "\e[32m[-] Done with download!\e[0m"
echo -e "\e[1;31m[+] Installing google-chrome\e[0m"
dpkg -i google-chrome-stable_current_amd64.deb
cp /opt/google/chrome/google-chrome.desktop /usr/share/applications/google-chrome.desktop
echo -e "\e[1;31m[+] Patching to run as root!\e[0m"
head -n -1 /opt/google/chrome/google-chrome > temp.txt ; mv temp.txt /opt/google/chrome/google-chrome
echo 'exec -a "$0" "$HERE/chrome" "$@" --user-data-dir' >> /opt/google/chrome/google-chrome
chmod +x /opt/google/chrome/google-chrome
echo -e "\e[32m[-] Done patching!\e[0m"
rm google-chrome-stable_current_amd64.deb
echo -e "\e[32m[-] Done installing enjoy chrome!\e[0m"
fi
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
#################################################################################
# Install Chromium
#################################################################################
function gchromium {
clear
echo -e "\e[1;31mThis option will install Chromium !\e[0m"
echo -e ""
apt-get update
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m=========================== Installing Chromium ===============================\033[m"
sleep 2
apt-get --force-yes install Chromium
echo -e "\033[32m=============================== Done Installing ===============================\033[m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
#################################################################################
# Install Firefox
#################################################################################
function gfox {
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
}
#################################################################################
# Tor Browser-32
#################################################################################
function gtor32 {
if [ ! -f /root/tor-browser_en-US/Browser/start_tor_browser ]; then
echo -e "\e[1;31mThis option will install Tor Browser 32 bit!\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 Tor Browser 32 bit ======\033[m"
sleep 2
cd /root/Desktop
wget https://www.torproject.org/dist/torbrowser/6.0.5/tor-browser-linux32-6.0.5_en-US.tar.xz
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
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
else
echo -e "\e[32m[-] Tor Browser already installed !\e[0m"
fi
}
function gtor64 {
if [ ! -f /root/tor-browser_en-US/Browser/start_tor_browser ]; then
echo -e "\e[1;31mThis option will install Tor Browser (64 bit!) \e[033m"
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 Tor Browser 64bit ======\033[m"
sleep 2
cd /root/Desktop
wget https://www.torproject.org/dist/torbrowser/6.0.5/tor-browser-linux64-6.0.5_en-US.tar.xz
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
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
else
echo -e "\e[32m[-] Tor Browser already installed !\e[0m"
fi
}
######## BROWSERS MENU ##############
function listbrowser {
clear
echo -e $green"======================================================================="
echo -e $red"NOTE : "
echo -e $white"You Must Connect To The Internet "
echo -e $white" ____________ _____ _ _ _____ ___________ _____ "
echo " | ___ \ ___ \ _ | | | / ___| ___| ___ \/ ___|"
echo " | |_/ / |_/ / | | | | | \ \`--.| |__ | |_/ /\ \`--. "
echo " | ___ \ /| | | | |/\| |\`--. \ __|| / \`--. "
echo " | |_/ / |\ \\ \_/ | /\ /\__/ / |___| |\ \ /\__/ /"
echo " \____/\_| \_|\___/ \/ \/\____/\____/\_| \_|\____/ "
echo
echo -e $green"======================================================================="
echo -e $white " Let's Intall and chocie your fav browser "
echo -e $green"======================================================================="
echo " "
echo -e $white""
select lalinselc in "Install Google Chrome" "Install Chromium" "Install Firefox" "Install Min" "Install TOR-32bit" "Install TOR-64bit" "Back to Main"; do
case $lalinselc in
"Install Google Chrome")
gchrome
pause
listbrowser ;;
"Install Chromium")
gchromium
pause
listbrowser ;;
"Install Firefox")
gfox
pause
listbrowser ;;
"Install Min")
firefox https://minbrowser.github.io/min/
firefox http://www.linuxsec.org/2016/06/min-web-browser.html
pause
listbrowser ;;
"Install TOR-32bit")
gtor32
pause
listbrowser ;;
"Install TOR-64bit")
gtor64
pause
listbrowser ;;
"Back to Main")
clear
lalin ;;
*)
ngerusuhlo
virtualm ;;
esac
break
done
}
######################################################################
#Install linset
######################################################################
function wlinset {
clear
echo""
echo -e $white"Linset is not social enginering toolkit "
echo -e ""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
clear
echo -e "\033[31m========================== Installing Linset ===============================\033[m"
sleep 2
rm -rf /root/Linset
$GIT_CLONE https://github.com/kernel-64/linset.git /root/Linset/
echo
echo -e "\033[31m================ Finish , now linset in /root/Linset ========================\033[m"
else
clear
echo -e $white"Okays , Maybe see you next time "
fi
}
#####################################################################
#Install wpsbreaker
######################################################################
function wbreak {
clear
echo""
echo -e $white"High Touch WPS Breaker [HT-WB] is a small tool based on the bash script language, "
echo -e "it can help you to extract the wps pin of many vulnerable routers and get the password,"
echo""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
clear
echo -e "\033[31m========================== Installing Wpsbreaker ============================\033[m"
sleep 2
rm -rf /root/wpsbreak
$GIT_CLONE https://github.com/SilentGhostX/HT-WPS-Breaker.git /root/wpsbreak/
echo
echo -e "\033[31m================ Finish , now linset in /root/wpsbreak ========================\033[m"
else
clear
echo -e $white"Okays , Maybe see you next time "
fi
}
####################################################################
#Install wifiphiser
######################################################################
function wphiser {
clear
echo""
echo -e $white"Wifiphisher is a security tool that mounts automated phishing attacks against WiFi networks in order to obtain secret passphrases or other credentials "
echo -e "it is a social engineering attack that unlike other methods it does not include any brute forcing."
echo""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
clear
echo -e "\033[31m========================== Installing WifiPhiser ============================\033[m"
sleep 2
rm -rf /root/wifiphiser
$GIT_CLONE https://github.com/Tle7839/wifiphiser.git /root/WifiPhiser/
echo
echo -e "\033[31m================ Finish , now linset in /root/WifiPhiser ======================\033[m"
else
clear
echo -e $white"Okays , Maybe see you next time "
fi
}
####################################################################
#Install Fluxion
######################################################################
function wflux {
clear
echo""
echo -e $white"Fluxion is a remake of linset by vk439 with fixed bugs and added features. s "
echo -e "It's compatible with the latest release of Kali"
echo""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
clear
echo -e "\033[31m========================== Installing Fluxion ============================\033[m"
sleep 2
rm -rf /root/wpsbreak
$GIT_CLONE https://github.com/deltaxflux/fluxion.git /root/fluxion/
echo
echo -e "\033[31m================ Finish , now linset in /root/fluxion ========================\033[m"
sleep 2
sh /root/fluxion/Installer.sh
else
clear
echo -e $white"Okays , Maybe see you next time "
fi
}
####################################################################
#Install wifi-hacker ( wpa , wep ,wps )
######################################################################
function whack {
clear
echo""
echo -e $white"Shell Script For Attacking Wireless Connections Using Built-In Kali Tools."
echo -e "Supports All Securities (WEP, WPS, WPA, WPA2)."
echo""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
clear
echo -e "\033[31m========================== Installing Wifihacker ============================\033[m"
sleep 2
rm -rf /root/wifihacker
$GIT_CLONE https://github.com/esc0rtd3w/wifi-hacker.git /root/Wifihacker/
echo
echo -e "\033[31m================ Finish , now linset in /root/Wifihacker ======================\033[m"
else
clear
echo -e $white"Okays , Maybe see you next time "
fi
}
######################################################################
# Install wifite
######################################################################
function wwifite {
echo -e "\e[1;31mThis option will install wifite!\e[0m"
echo -e "\e[1;31mAn automated wireless attack tool.\e[0m"
echo -e "\e[1;31mHow to use wifite\e[0m"
echo -e "\e[1;31mhttps://www.youtube.com/watch?v=3n_lugYLApw\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 wifite ==========================\033[m"
sleep 2
rm -rf /opt/WiFu/wifite/
$GIT_CLONE https://github.com/derv82/wifite.git /opt/WiFu/wifite/
echo -e "\033[31m====================== Installing wifite Done ==========================\033[m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
####################################################################################
#Install wpa-autopwn
####################################################################################
function wtown {
echo -e "\e[1;31mThis option will install wpa-autopwn!\e[0m"
echo -e "\e[1;31mWPA/WPA2 autopwn script that parses captured handshakes and sends them to the Crackq\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 wpa-autopwn ==============================\033[m"
sleep 2
rm -rf /opt/WiFu/wpa-autopwn/
$GIT_CLONE https://github.com/vnik5287/wpa-autopwn.git /opt/WiFu/wpa-autopwn/
echo -e "\033[31m====================== Installing wpa-autopwn Done ==========================\033[m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
########################################################
# Update Exploitdb
##########################################################
function updateexploitdb {
clear
echo -e "\033[31mThis script will update your Exploitdb\033[m"
cd /opt
$GIT_CLONE https://github.com/offensive-security/exploit-database.git
cp -TRv exploit-database /usr/share/exploitdb
rm -rf exploit-database
echo -e "\e[32m[-] Done Updating Exploitdb!\e[0m"
}
############################################################
# Searchsploit
##################################################################
function searchsploit {
clear
echo -e "\033[31mWhat do you want to Hack Today?\033[m"
echo -e "\033[31mEnter a search term and hit Enter\033[m"
read searchterm
gnome-terminal --maximize -t "Seachsploit" --working-directory=WORK_DIR -x bash -c "searchsploit $searchterm; echo -e '\e[32m[-] Close this window when done!\e[0m'; bash" 2>/dev/null & sleep 2
}
######## Menu Update Exploitdb ##########
function exploitdb {
clear
echo -e $white"======================================================================="
echo -e $red"NOTE : "
echo -e $white"You Must Connect To The Internet "
echo
echo -e $red" ) ( ( ) ( ( ";
echo " ( /( )\ ))\ ) ( /( )\ ) * ))\ ) ( ";
echo " ( )\()|()/(()/( )\()|()/(\` ) /(()/( ( )\ ";
echo " )\ ((_)\ /(_))(_)|(_)\ /(_))( )(_))(_)))((_) ";
echo " ((_)__((_|_))(_)) ((_|_)) (_(_()|_))_((_)_ ";
echo " | __\ \/ / _ \ | / _ \_ _||_ _|| \| _ ) ";
echo " | _| > <| _/ |__| (_) | | | | | |) | _ \ ";
echo " |___/_/\_\_| |____|\___/___| |_| |___/|___/ ";
echo " ";
echo -e $white"======================================================================="
echo -e $red " Let's Intall and update "
echo -e $white"======================================================================="
echo " "
select lalinselc in "Update Exploitdb" "Searchsploit" "Back to Main"; do
case $lalinselc in
"Update Exploitdb")
updateexploitdb
pause
exploitdb;;
"Searchsploit")
searchsploit
pause
exploitdb ;;
"Back to Main")
clear
mainmenu ;;
*)
ngerusuhlo
exploitdb ;;
esac
break
done
}
######## WiFu Menu ####
function wifu {
clear
echo -e $cyan"======================================================================="
echo -e $red"NOTE : "
echo -e $white"You Must Connect To The Internet "
echo
echo -e $red" _ _ _____ ___________ _ _ "
echo " | | | |_ _|_ _| ___| | | |"
echo " | | | | | | | | | |_ | | | |"
echo " | |/\| | | | | | | _| | | | |"
echo " \ /\ /_| |_ _| |_| | | |_| |"
echo " \/ \/ \___/ \___/\_| \___/ "
echo " "
echo -e $cyan"======================================================================="
echo -e $white " Let's Intall WiFu Tool and chocie your fav "
echo -e $cyan"======================================================================="
echo -e $white""
select lalinselc in "Linset" "Wpsbreaker" "Wifiphiser" "Fluxion" "wifi-hack" "wifite" "wpa-autopwn" "Back to Main"; do
case $lalinselc in
"Linset")
wlinset
pause
wifu ;;
"Wpsbreaker")
wbreak
pause
wifu ;;
"Wifiphiser")
wphiser
pause
wifu ;;
"Fluxion")
wflux
pause
wifu ;;
"wifi-hack")
whack
pause
wifu ;;
"wifite")
wwifite
pause
wifu ;;
"wpa-autopwn")
wtown
pause
wifu ;;
"Back to Main")
clear
mainmenu ;;
*)
ngerusuhlo
wifu ;;
esac
break
done
}
#############################################################################
# Install Firefox Security Toolkit
#############################################################################
function fst {
echo -e "\e[1;31mThis option will install Firefox Security Toolkit !\e[0m"
echo -e "\e[1;31mA tool that transforms Firefox browsers into a penetration testing suite\e[0m"
echo""
echo -e $yellow"Available Addons:-"
echo -e $cyan""
echo +" Cookie Export/Import"
echo +" Cookie Manager"
echo +" Copy as Plain Text"
echo +" Crypto Fox"
echo +" CSRF-Finder"
echo +" Disable WebRTC"
echo +" FireBug"
echo +" Fireforce"
echo +" FlagFox"
echo +" Foxy Proxy"
echo +" HackBar"
echo +" Live HTTP Headers"
echo +" Multi Fox"
echo +" PassiveRecon"
echo +" Right-Click XSS"
echo +" Tamper Data"
echo +" User Agent Switcher"
echo +" Wappalyzer"
echo +" Web Developer"
echo""
echo -e $yellow"Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m========================== Installing Firefox Security ============================\033[m"
sleep 2
cd "tools"
chmod +x fst.sh
bash ./fst.sh run
echo -e "\033[31m========================== Installing Firefox Security ============================\033[m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
#############################################################################
# Install bettercap
#############################################################################
function ibettercap {
echo -e "\e[1;31mThis option will install bettercap!\e[0m"
echo -e "\e[1;31mA complete, modular, portable and easily extensible MITM framework.\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 Bettercap ============================\033[m"
sleep 2
rm -rf /opt/MITM/bettercap/
$GIT_CLONE https://github.com/evilsocket/bettercap /opt/MITM/bettercap/
sudo apt-get install build-essential ruby-dev libpcap-dev
cd /opt/MITM/bettercap/
gem build bettercap.gemspec
sudo gem install bettercap*.gem
echo -e "\e[32m[-]========================== Done Installing! ===============================\e[0m"
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
}
####################################################################################
#Install mitmf
####################################################################################
function imitmf {
if [ ! -f /opt/MITMf-master/mitmf.py ]; then
echo -e "\e[1;31mThis option will install mitmf!\e[0m"
echo -e "\e[1;31mFramework for Man-In-The-Middle attacks\e[0m"
echo -e "\e[1;31mDefeat HTST to get HTTPS password\e[0m"
echo -e "\e[1;31mhttps://www.youtube.com/watch?v=KtYWeeQ4hoI\e[0m"
echo -e "\e[1;31mHow to use MITMF\e[0m"
echo -e "\e[1;31mhttps://www.youtube.com/watch?v=0trxc7axE4Y\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 mitmf ==========================\033[m"
sleep 2
rm -rf /opt/Sniffing-Spoofing/mitmf/
$GIT_CLONE https://github.com/byt3bl33d3r/MITMf.git /opt/Sniffing-Spoofing/mitmf/
cd /opt/Sniffing-Spoofing/mitmf/
./setup.sh
apt-get -y install python-dev python-setuptools libpcap0.8-dev libnetfilter-queue-dev
pip install --upgrade -r requirements.txt
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
else
echo -e "\e[32m[-] MITMF already installed !\e[0m"
fi
}
####################################################################
#Install Weeman
######################################################################
function iweeman {
clear
echo""
echo -e $white"HTTP server for phishing in python. (and framework) "
echo -e "Usually you will want to run Weeman with DNS spoof attack. (see dsniff, ettercap)."
echo""
echo -e "Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
clear
echo -e "\033[31m========================== Installing Weeman ============================\033[m"
sleep 2
rm -rf /root/Weeman
$GIT_CLONE https://github.com/Hypsurus/weeman.git /root/Weeman/
echo
echo -e "\033[31m================ Finish , now linset in /root/Weeman ======================\033[m"
else
clear
echo -e $white"Okays , Maybe see you next time "
fi
}
####################################################################
#Install yamas
#####################################################################
function iyamas {
if [ ! -f /usr/bin/yamas ]; then
echo "Yamas is not installed. Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
cd /tmp
wget http://comax.fr/yamas/bt5/yamas.sh
cp yamas.sh /usr/bin/yamas
chmod +x /usr/bin/yamas
rm yamas.sh
cd
echo "Script should now be installed. Launching it !"
sleep 3
gnome-terminal -t "Yamas" -x bash yamas 2>/dev/null & sleep 2
exit 1
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
else
echo "Script is installed"
gnome-terminal -t "Yamas" -x bash yamas 2>/dev/null & sleep 2
sleep 1
fi
}
####################################################################
#Install easycreds
#####################################################################
function iEasy {
if [ ! -f /usr/bin/easy-creds ]; then
echo "This will install Easy-Creds. Do you want to install it ? (Y/N)"
read install
if [[ $install = Y || $install = y ]] ; then
echo -e "\033[31m====== Installing Depends ======\033[m"
apt-get -y install screen hostapd dsniff dhcp3-server ipcalc aircrack-ng
echo -e "\033[32m====== Done Installing Depends ======\033[m"
echo -e "\033[31m====== Installing Easy-Creds ======\033[m"
$GIT_CLONE git://github.com/brav0hax/easy-creds.git /opt/easy-creds
ln -s /opt/easy-creds/easy-creds.sh /usr/bin/easy-creds
cd /root/ &>/dev/null
echo -e "\033[32m===== All Done ======\033[m"
echo "Launching easy-creds in new window !"
gnome-terminal -t "Easy-Creds" -e easy-creds 2>/dev/null & sleep 2
else
echo -e "\e[32m[-] Ok,maybe later !\e[0m"
fi
else
echo "Easy-Creds is installed."
echo "Launching easy-creds in new window !"
gnome-terminal -t "Easy-Creds" -e easy-creds 2>/dev/null & sleep 2