-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
293 lines (258 loc) · 15.4 KB
/
main.py
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
# coding: utf-8
#!/usr/bin/env python
import os
import time
from time import sleep
from platform import system
import subprocess
from subprocess import check_call
from sys import argv
from genericpath import isfile
from traceback import print_tb
from pystyle import *
from colorama import Fore, init
from sys import stdout
cmd = os.system("clear")
defaultpublickey = "mypublickey.pem";
def intro():
cmd = os.system("clear")
print("""
\033[94m ,▄▄▄ █▄▄▄,
\033[94m ▄█████▄▄▄▄╓, ██▓██▄
\033[94m ▄▄██▓███▓███████████▓███▓█
\033[94m ▄███▀█▓██████████████████████
\033[94m ,███▀ █████████████████████▓██, \033[0m\033[91m
\033[94m ███ ▀██████████████▓████▀╙▀██ \033[0m\033[91m
\033[94m ,██└ ██████████▓█¬ "██µ \033[0m\033[91m ██╗ ██╗ ██╗███╗ ███╗██╗███╗ ██╗ \033[0m
\033[94m ╒██ ██████████▓█" ██µ \033[0m\033[91m ██║ ██║ ██║████╗ ████║██║████╗ ██║ \033[0m
\033[94m ██ ▄███████████▀ ██ \033[0m\033[91m ██║ ██║ ██║██╔████╔██║██║██╔██╗ ██║ \033[0m
\033[94m ▐█▌ ▐█▓█████████▌ ▐█▌ \033[0m\033[91m ██║ ██║ ██║██║╚██╔╝██║██║██║╚██╗██║ \033[0m
\033[94m ██ ,█▓██████████ ██ \033[0m\033[91m ███████╗╚██████╔╝██║ ╚═╝ ██║██║██║ ╚████║ \033[0m
\033[94m ██ █▓████████▓█ ██ \033[0m\033[91m ╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝ \033[0m
\033[94m ██⌐ ██████████▓█ ]██ \033[0m\033[1;31m A Advance Steganography Tool \033[0m
\033[94m ▐██ ██████████▓█▀ ██▌ \033[0m\033[1;32m Coded By © 1ucif3r \033[0m
\033[94m ██▄ ▐███████████▌ ▐██ \033[0m\033[91m \033[0m
\033[94m ██▄ █████████████▄ ,,,, ▄██ █ \033[0m\033[91m \033[0m
\033[94m ▀██ ████████████▓██████▓▓▓██████▄▄██▄
\033[94m ╙██▄ ▀██▓██████████████████████▓▓▓█▓█⌐
\033[94m ╙▀██▄ "▀███▓▓██▓▓▓███▀▀██████████████
\033[94m ▀▀███▄g `▀▀▀▀▀▀▀▄▄███▀▀,███████████
\033[94m ▀▀▀███████████▀▀▀¬æ██████▓███████
\033[94m ▀▀██████
\033[94m ▀██
\033[1;34m[1]-->Hide MSG in Image file \033[1;34m[5]-->Extract MSG from IMG
\033[1;34m[2]-->Hide MSG in Video file \033[1;34m[6]-->Extract MSG from VIDEO
\033[1;34m[3]-->Hide One file in Another file \033[1;34m[7]-->Extract One file in Another file
\033[1;34m[4]-->FileLock (SOON)
\033[1;34m[0]-->About Dev
\033[1;34m[00]-->Exit
""")
stdout.write(Fore.LIGHTBLUE_EX+"╔═══"+Fore.LIGHTBLUE_EX+"["+Fore.RED+"root"+Fore.RED+ " @ " +Fore.RED+"Lumin"+Fore.LIGHTBLUE_EX+"]"+Fore.LIGHTBLUE_EX+"\n╚══"+Fore.RED+"# " +Fore.WHITE)
choice = input()
if choice == "1" :
print("\033[1;32m\nGenerating Both Public & Private Key ...")
print("")
os.system("python3 genkeys.py")
print("")
print("\033[1;32m================================================================")
print("\033[1;31m[==] Enter your Image path & secret Message Below [==] ")
print("\033[1;32m================================================================")
print("")
imgpath = input("\033[1;31m>> \033[1;37mEnter Your image path : ")
print("")
secret = input("\033[1;31m>> \033[1;37mEnter Your secret File : ")
if not imgpath :
print("\033[1;31m Pls Enter image path & secret")
print("")
print("\033[1;91mYou are grounded! You go to the main menu...\033[1;m")
print("")
time.sleep(2)
else:
print("")
publickey = input("Enter your Public Key Manually or Leave it for the Default generated one : ")
print("")
if not publickey:
os.system("python3 img.py hide "+imgpath+" "+secret+" "+defaultpublickey+" output.png")
else :
os.system("python3 img.py hide "+imgpath+" "+secret+" "+publickey+" output.png")
time.sleep(1)
intro()
elif choice == "2" :
print("")
print("\033[1;32m================================================================")
print("\033[1;31m[==] Enter your Video path & secret Message Below [==] ")
print("\033[1;32m================================================================")
print("")
vidpath = input("\033[1;31m>> \033[1;37mEnter Your Video path : ")
print("")
secret = input("\033[1;31m>> \033[1;37mEnter Your secret File or Msg : ")
print("")
codecs = input("\033[1;31m>> \033[1;37mChoice FFV1 or HFYU codecs : ")
if not vidpath :
print("")
print("\033[1;31m Pls Enter Video path & secret")
print("")
print("\033[1;91mYou are grounded! You go to the main menu...\033[1;m")
print("")
time.sleep(2)
else:
print("")
publickey = input("Enter your Public Key Manually or Leave it for the Default generated one : ")
print("")
if not publickey:
os.system("python3 vid.py hide "+vidpath+" --output output.mkv --message "+secret+" --codec "+codecs+" --public_key "+defaultpublickey+"")
else :
os.system("python3 vid.py hide "+vidpath+" --output output.mkv --message "+secret+" --codec "+codecs+" --public_key "+publickey+"")
time.sleep(1)
intro()
elif choice == "3" :
print("")
print("\033[1;32m================================================================")
print("\033[1;31m[==] Enter your Both Files Below [==] ")
print("\033[1;32m================================================================")
print("")
file1 = input("\033[1;31m>> \033[1;37mEnter Your 1st File path : ")
print("")
file2 = input("\033[1;31m>> \033[1;37mEnter Your 2st File path : ")
print("")
output = input("\033[1;31m>> \033[1;37mEnter Your Output file name : ")
if not file1 :
print("")
print("\033[1;31m Pls Enter 1st File Path")
print("")
print("\033[1;91mYou are grounded! You go to the main menu...\033[1;m")
print("")
time.sleep(2)
elif not file2 :
print("")
print("\033[1;31m Pls Enter 2nd File Path")
print("")
print("\033[1;91mYou are grounded! You go to the main menu...\033[1;m")
print("")
time.sleep(2)
elif not output :
print("")
print("\033[1;31m Pls Enter 2nd File Path")
print("")
print("\033[1;91mYou are grounded! You go to the main menu...\033[1;m")
print("")
time.sleep(2)
else:
print("")
publickey = input("Enter your Public Key Manually or Leave it for the Default generated one : ")
print("")
if not publickey:
os.system("python3 file.py --hide --host "+file1+" --file "+file2+" --public-key "+defaultpublickey+" --output "+output+"")
else :
os.system("python3 file.py --hide --host "+file1+" --file "+file2+" --public-key "+publickey+" --output "+output+"")
time.sleep(1)
intro()
elif choice == "5" :
print("")
print("\033[1;32m================================================================")
print("\033[1;31m[==] Enter your Image path & Private Key Below [==] ")
print("\033[1;32m================================================================")
print("")
imgpath = input("\033[1;31m>> \033[1;37mEnter Your image path : ")
print("")
privatekey = input("\033[1;31m>> \033[1;37mEnter Your Private Key : ")
print("")
if not imgpath :
print("")
print("\033[1;31m Pls Enter image path & Private Key")
print("")
print("\033[1;91mYou are grounded! You go to the main menu...\033[1;m")
print("")
time.sleep(2)
else:
os.system("python3 img.py extract "+imgpath+" "+privatekey+" [extracted.txt]")
time.sleep(1)
intro()
elif choice == "6" :
print("")
print("\033[1;32m================================================================")
print("\033[1;31m[==] Enter your Video path & Private Key Below [==] ")
print("\033[1;32m================================================================")
print("")
videopath = input("\033[1;31m>> \033[1;37mEnter Your Video path : ")
print("")
privatekey = input("\033[1;31m>> \033[1;37mEnter Your Private Key : ")
print("")
passphrase = input("\033[1;31m>> \033[1;37mEnter Your Passphrase : ")
print("")
if not videopath :
print("")
print("\033[1;31m Pls Enter video path , Private Key & passphrase")
print("")
print("\033[1;91mYou are grounded! You go to the main menu...\033[1;m")
print("")
time.sleep(2)
else:
os.system("python3 vid.py unhide "+videopath+" --private_key "+privatekey+" --passphrase "+passphrase+"")
time.sleep(1)
intro()
elif choice == "7" :
print("")
print("\033[1;32m================================================================")
print("\033[1;31m[==] Enter your Both Files Below [==] ")
print("\033[1;32m================================================================")
print("")
file1 = input("\033[1;31m>> \033[1;37mEnter Your Hidden File path : ")
print("")
privatekey = input("\033[1;31m>> \033[1;37mEnter Your Private Key : ")
print("")
passphrase = input("\033[1;31m>> \033[1;37mEnter Your Passphrase : ")
print("")
outputfile = input("\033[1;31m>> \033[1;37mEnter Your Output name : ")
print("")
if not file1 :
print("")
print("\033[1;31m Pls Enter video path , Private Key & passphrase")
print("")
print("\033[1;91mYou are grounded! You go to the main menu...\033[1;m")
print("")
time.sleep(2)
else:
os.system("python file.py --unhide --host "+file1+" --private-key "+privatekey+" --output "+outputfile+" --passphrase "+passphrase+"")
time.sleep(1)
intro()
elif choice == "0" :
cmd = os.system("clear")
print("""
]@ ,$@'
]@@g ,@@@@
%$$&Ng ,g@@$@@
g@@@|*&$Nw, ,g@@NM$$$gwwggg$$$$N@@gg, ,g@N$W$|@$@g
%@$M@ljg$$@$MNmgg@@M$l&@]N@@@@@@$$$$$@M$@@$@$@@gg@NM$@g$grl@M$&@`
,]@$@@L,*&MM|'"MW/$@@@@%@@@@@@@@@@@@@@@@R@$$$@}gM"'lMM$M,;@&$@Mg@`
"$@$MM@,,jp@$%%"']Q@@@@@$@Mll$$$$@$$$%@$$@@@@P$""%%$$g@,,@MM$%@C
w$&N@$@@gw;"$g|$,#U@@@@@l$$$$$$$$@@@@$@$@@@@@U@,ll$@*},y@@$$@$Lw
*%@@$MMNN&R&$$L]W$@@M$$@$$$$$$$@@@@$@@$@@@@V@l$$@RN&NM$$$@@M`
"&$@@gg,,$@&$L%,%@$$$P%$$$$@@@@$@P$@@@@@,@,$@B$,,lg@@@$"
*%@@$$|L]M&$]$@@@$@g@Ng$@$$@N@g@@$@@@[l&M@,l$$$@M'
*M%@@@@@@$@g@#@$$$%$ll$$$$$$$$$$$@Wl$@@@@@@MM*
$@@$$$@@@@@&@k"*N$$$$@@N*'g$$@@@@@@$$$@@\033[0m\033[91m \033[0m
'%@@@$@@@@@@@$@" "$@@@@$@@$@@$$@F\033[0m\033[91m ( ( ( ( \033[0m
]@@@@j@@@@@@@@@Ng,,,,gg@@@@@@@@@$$$$@F \033[0m\033[91m )\ ) ( )\ ) )\ ) )\ ) \033[0m
%@@@l%@@l$$@@T%@M$T%@]$l$$@@@$@$$@F \033[0m\033[91m(()/( ( )\ (()/((()/( ( (()/( \033[0m
%@@@$$@@@@$@$$$@$@@@$@@$@@@$@$$@,, \033[0m\033[91m /(_)) )\ (((_) /(_))/(_)) )\ /(_)) \033[0m
$@@P*$@NN@@@@@@@@@@@@@@@NNNNNPP \033[0m\033[91m(_)) _ ((_) )\___ (_)) (_))_|((_) (_)) \033[0m
@P $@F @ ,,,]L $ ,,,@ ,gggP \033[0m\033[91m| | | | | |((/ __||_ _|| |_ | __|| _ \ \033[0m
@ww@,]@@@L,$,,,,]@gwgg \033[0m\033[91m| |__| |_| | | (__ | | | __| | _| | / \033[0m
$l'""]@T$lj@@@@l`' \033[0m\033[91m|____|\___/ \___||___||_| |___||_|_\ \033[0m
@@@@@@@@@@@
"MN@@@BM
\033[0m\033[92m [!] Instagram : instagram.com/0x1ucif3r/ \033[0m
\033[0m\033[92m [!] Website : lucifer.sh/ \033[0m
\033[0m\033[92m [!] Github : github.com/1ucif3r/ \033[0m
""")
time.sleep(5)
intro()
quit()
elif choice == "00":
exit()
else:
print("Not Found")
cmd = os.system("sleep 2")
intro()
intro()