-
Notifications
You must be signed in to change notification settings - Fork 6
/
WebExploit.py
470 lines (428 loc) · 24.9 KB
/
WebExploit.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
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
def WebExploit():
'''
'MjI'
_____________
MIT License
Copyright (c) 2022 MJi | DarkƤwn [github.com/c4ssif3r]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
'''
import os,sys
from colorama import Fore as f
import time as t
from treelib import Node, Tree
tree = Tree()
class FlowerNode(Node):
def __init__(self, color):
self.color = color
fnode = FlowerNode("white")
# baner #bnr
# dirboster #dirboster
# zipc # zip password cracker
# rarc # rar password cracker
# aps #advanced port scanner
# wpf # wordpress plugin finder
# ipl # ip location tool
# ril # reverce ip lookup
# ssc # ssh cracker
# fpc # ftp cracker
# b64 # base 16, 32, 64, 85 tools . enc . dec
# sse # shodan search engine
# cms # content management system detector
# cfb # CloadFlare bypasser
# mojiana # ?
# ping # ping tool
# ahf # angry hash finder
# updater # update WebExploit
from cores import (updater, baner, dirboster, zipc, rarc, aps, wpf, ipl, ril, ssc, fpc, b64, sse, cms, cfb, mojiana, ping, ahf, pnt)
reset = "\033[0m"
red = "\033[0;31m"
class C:
'''
Define Colors By Manual.
'''
black = "\033[0;30m"
red = "\033[0;31m"
green = "\033[0;32m"
brown = "\033[0;33m"
blue = "\033[0;34m"
purple = "\033[0;35m"
cyan = "\033[0;36m"
l_gray = "\033[0;37m"
dark_gray = "\033[1;30m"
l_red = "\033[1;31m"
red = "\033[1;31m"
l_green = "\033[1;32m"
green = "\033[1;32m"
yellow = "\033[1;33m"
l_blue = "\033[1;34m"
l_purple = "\033[1;35m"
l_cyan = "\033[1;36m"
l_white = "\033[1;37m"
faint = "\033[2m"
italic = "\033[3m"
underline = "\033[4m"
blink = "\033[5m"
nefative = "\033[7m"
cross = "\033[9m"
ended = "\033[0m"
bold = "\033[1m"
nbold = "\033[0m"
reset = "\033[0m"
white = f.WHITE
global c
c = C
updater.run()
while True:
bnr = baner.baner()
print (bnr+f.WHITE+".VERSION 2.0.0 \MJ\\"+C.reset+C.bold)
print ('|')
#print(f.WHITE+""+C.reset+C.bold)
class F(object):
def __init__(self, color):
self.color = color
ftree = Tree()
tree = Tree()
tree1 = Tree()
tree2 = Tree()
tree3 = Tree()
tree.create_node("Web Exploit", "WebExploit") # root
tree.create_node("1- Information Gathering", "info", parent="WebExploit")
#tree.create_node("", "", parent="crack")
# tree.create_node("2- Web Hacking", "WebHacking", parent="WebExploit")
# tree.create_node("Mojiana [EYE Cracker Tool] Crack All HTTP[S][post-[form]][get-[form]]", "mojiana2", parent="WebHacking")
# tree.create_node("Content Management", "cms12", parent="WebHacking")
tree.create_node("2- Private Web Hacking", "p8web", parent="WebExploit")
tree.create_node("Mojiana [EYE Cracker Tool] Crack All HTTP[S][post-[form]][get-[form]]", "mojiana3", parent="p8web")
tree.create_node("Brute Force Directories - [Dir Booster]", "dirboster", parent="p8web")
tree.create_node("Cloud Flare Bypass - [Get Real Ip]", "cfb2", parent="p8web")
tree.create_node("3- Password Attacks", "crack", parent="WebExploit")
tree.create_node("Base 16,32,64,85 Encode | Decode", "ba64", parent="crack")
tree.create_node("Mojiana [EYE Cracker Tool] Crack All HTTP[S][post-[form]][get-[form]]", "mojiana", parent="crack")
tree.create_node("SSH cracker Tool", "sshc", parent="crack")
tree.create_node("FTP cracker Tool", "ftpc", parent="crack")
tree.create_node("ZIP password cracker Tool", "zipC", parent="crack")
tree.create_node("RAR password cracker Tool", "rarC", parent="crack")
tree.create_node("Angry Hash Type Finder - [Identifier]", "aAHF", parent="crack")
tree.create_node("Reverse Ip Lookup - [Get Sites On a IP]", "ril2", parent="p8web")
tree.create_node("Cloud Flare Bypass - [Get Real Ip]", "cfb", parent="info")
tree.create_node("WordPress Plugin Finder", "wpf", parent="info")
tree.create_node("Get Location By Ip v4", "ipl", parent="info")
tree.create_node("Brute Force Directories - [Dir Booster]", "dirbooster", parent="info")
tree.create_node("Advanced Port Scanner", "aps", parent="info")
tree.create_node("Reverse Doamin Lookup - [Get Sites on a IP]", "ril", parent="info")
tree.create_node("Base 16,32,64,85 Tool Enc-Dec", "b64", parent="info")
tree.create_node("Shodan Search Engine + [Save Results]", "sse", parent="info")
tree.create_node("Content Management System Detector", "cms", parent="info")
tree.create_node("Angry Hash Type Finder - [Identifier]", "ahf", parent="info")
tree.create_node("Ping Tool - [By External Server]", "ping", parent="info")
#tree.create_node("Version 1.0.0 \mj\\", "version", parent="WebExploit")
#tree.create_node("", "", parent="info")
# TREE 1
# print ('\n')
tree1.create_node("Information Gathering", "infog") # root info g
tree1.create_node("10 -> WordPress Plugin Finder Tool ", "wpf2", parent='infog')
tree1.create_node("0 -> Advanced Port Scanner", "aps2", parent='infog')
tree1.create_node("1 -> Angry Hash Type Finder - [Identifier]", "ang2", parent='infog')
tree1.create_node("2 -> Base 16,32,64,85 Tool Enc-Dec", "bse2", parent='infog')
tree1.create_node("3 -> Brute Force Directories - [Dir Booster]", "db2", parent='infog')
tree1.create_node("4 -> Cloud Flare Bypass - [Get Real Ip]", "clb2", parent='infog')
tree1.create_node("5 -> Content Management System Detector", "cms2", parent='infog')
tree1.create_node("6 -> Get Location By Ip v4 [show on google map]", "ipl2", parent='infog')
tree1.create_node("7 -> Ping Tool - [By External Server]", "ping2", parent='infog')
tree1.create_node("8 -> Reverse Domain Lookup - [Get Sites on a IP]", "rdl2", parent='infog')
tree1.create_node("9 -> Shodan Search Engine + [Save Results]", "sse2", parent='infog')
tree1.create_node("10 -> PhoneNumber To location + [PhoneLocFinder]", "pnt", parent='infog')
# m
# web attacks
#ftree.show()
# TREE 2
tree2.create_node("Private Web Hacking", "p8_2") # root
tree2.create_node("0 -> Brute Force Directories - [Dir Booster]", "bfd2", parent='p8_2')
tree2.create_node("1 -> Cloud Flare Bypass - [Get Real Ip]", "cfb2", parent='p8_2')
tree2.create_node("2 -> Mojiana [EYE Cracker Tool] Crack All HTTP[S][post-[form]][get-[form]] </mji&ari>4y", "mjiari2", parent='p8_2')
tree2.create_node("3 -> Reverse Ip Lookup - [Get Sites On a IPv4]", "ril3", parent='p8_2')
# TREE 3
tree3.create_node("Crack And Password Attacks", "cpa") # root
tree3.create_node("0 -> Angry Hash Type Finder - [Identifier]", "ag2", parent='cpa')
tree3.create_node("1 -> Base 16,32,64,85 Encode | Decode", "b_all", parent='cpa')
tree3.create_node("2 -> FTP cracker Tool", "ftp2", parent='cpa')
tree3.create_node("3 -> Mojiana [EYE Cracker Tool] Crack All HTTP[S][post-[form]][get-[form]]", "mjiari3", parent='cpa')
tree3.create_node("4 -> RAR password cracker Tool", "rar2", parent='cpa')
tree3.create_node("5 -> SSH cracker Tool", "ssh2", parent='cpa')
tree3.create_node("6 -> ZIP password cracker Tool", "zip2", parent='cpa')
print('.MJi')
print('|')
tree.show()
# try:
while True:
try:
method:str = input(f'.{C.italic}/Mji/WebExploit:~# {C.bold}{C.green}')
break
except:
print ('please enter a valid value !')
continue
if method == 1 or '1' in method:
try:
while True:
os.system('clear')
print (bnr)
print(f.WHITE+""+reset)
tree1.show()
mj = input(f'.{C.italic}/Mji/WebExploit/Information-Gathering{C.reset}:~# {C.bold}{C.green}')
if mj:
if mj == '0':
print (f'{c.reset}')
aps.run()
input('press enter for back to menu and press CTRL+C for exit')
if mj == '1':
print (f'{c.reset}')
ahf.run()
input('press enter for back to menu and press CTRL+C for exit')
if mj == '2':
print (f'{c.reset}')
b64.run()
input('press enter for back to menu and press CTRL+C for exit')
if mj == '3':
print (f'{c.reset}')
dirboster.run()
input('press enter for back to menu and press CTRL+C for exit')
if mj == '4':
print (f'{c.reset}')
cfb.run()
input('press enter for back to menu and press CTRL+C for exit')
if mj == '5':
print (f'{c.reset}')
cms.run()
input('press enter for back to menu and press CTRL+C for exit')
if mj == '6':
print (f'{c.reset}')
ipl.run()
input('press enter for back to menu and press CTRL+C for exit')
if mj == '7':
print (f'{c.reset}')
ping.run()
input('press enter for back to menu and press CTRL+C for exit')
if mj == '8':
print (f'{c.reset}')
ril.run()
input('press enter for back to menu and press CTRL+C for exit')
if mj == '9':
print(f'{c.reset}')
sse.run()
input('press enter for back to menu and press CTRL+C for exit')
if mj == '10':
print(f'{c.reset}')
wpf.run()
input ("press enter for back to menu and press CTRL+C for exit")
if mj == '11':
print(f'{c.reset}')
pnt.run()
input ("press enter for back to menu and press CTRL+C for exit")
else:
input(f'{C.red}ERROR!{c.white}\n\t Enter A Number of tools!\n{C.yellow}For exit press {C.white}[ {C.bold}CTRL+C{C.reset} ] !')
continue
else:
# input("press enter for back to menu")
print (f'{C.red}ERROR!{c.white}\n\t Enter A Number of tools!\n{C.yellow}For exit press {C.white}[ {C.bold}CTRL+C{C.reset} ] !')
cmd=input(f'{C.red}{C.bold}WebExploit{C.reset} - exit ? y/n -> {C.green}').lower()
if 'y' in cmd:
print (f'{C.white}{C.red}{C.bold}WebExploit{C.white}{C.reset} \n\t\t Bye!')
break
sys.exit(0)
# else:
# input(f'{C.red}{C.bold}WebExploit{C.white} -> Invalid Command Try Again [{C.bold}press enter{C.white}]')
# continue
except Exception as derr:
print (f'{C.white}{C.red}{C.bold}WebExploit{C.white}{C.reset} \n\t\t Bye! {derr}')
sys.exit(0)
if method == 2 or '2' in method:
try:
while True:
os.system('clear')
print (bnr)
print(f.WHITE+""+reset)
tree2.show()
mj = input(f'.{C.italic}/Mji/WebExploit/Private Web Hacking{C.reset}:~# {C.bold}{C.green}')
if mj:
if mj == '0':
print (f'{c.reset}')
dirboster.run()
input('press enter for back to menu and press CTRL+C for exit')
elif mj == '1':
print (f'{c.reset}')
cfb.run()
input('press enter for back to menu and press CTRL+C for exit')
elif mj == '2':
print (f'{c.reset}')
mojiana.run()
input('press enter for back to menu and press CTRL+C for exit')
elif mj == '3':
print (f'{c.reset}')
ril.run()
# input('press enter for back to menu and press CTRL+C for exit')
else:
input(f'{C.red}ERROR!{c.white}\n\t Enter A Number of tools!\n{C.yellow}For exit press {C.white}[ {C.bold}CTRL+C{C.reset} ] !')
continue
else:
print (f'{C.red}ERROR!{c.white}\n\t Enter A Number of tools!\n{C.yellow}For exit press {C.white}[ {C.bold}CTRL+C{C.reset} ] !')
cmd=input(f'{C.red}{C.bold}WebExploit{C.reset} - exit ? y/n -> {C.green}').lower()
if 'y' in cmd:
print (f'{C.white}{C.red}{C.bold}WebExploit{C.white}{C.reset} \n\t\t Bye!')
sys.exit(0)
# input(f'{C.red}{C.bold}WebExploit{C.white} -> Invalid Command Try Again [{C.bold}press enter{C.white}]')
# continue
except:
print (f'{C.white}{C.red}{C.bold}WebExploit{C.white}{C.reset} \n\t\t Bye!')
sys.exit(0)
# TREE 3
if method == 3 or '3' in method:
try:
while True:
os.system('clear')
print (bnr)
print(f.WHITE+""+reset)
tree3.show()
mj = input(f'.{C.italic}/Mji/WebExploit/PasswordAttack-Crack{C.reset}:~# {C.bold}{C.green}')
if mj:
if mj == '0':
print (f'{c.reset}')
ahf.run()
input('press enter for back to menu and press CTRL+C for exit')
if mj == '1':
print (f'{c.reset}')
b64.run()
input('press enter for back to menu and press CTRL+C for exit')
if mj == '2':
print (f'{c.reset}')
fpc.run()
input('press enter for back to menu and press CTRL+C for exit')
if mj == '3':
print (f'{c.reset}')
mojiana.run()
input('press enter for back to menu and press CTRL+C for exit')
if mj == '4':
print (f'{c.reset}')
rarc.run()
input('press enter for back to menu and press CTRL+C for exit')
if mj == '5':
print (f'{c.reset}')
ssc.run()
input('press enter for back to menu and press CTRL+C for exit')
if mj == '6':
print (f'{c.reset}')
zipc.run()
input('press enter for back to menu and press CTRL+C for exit')
else:
input(f'{C.red}ERROR!{c.white}\n\t Enter A Number of tools!\n{C.yellow}For exit press {C.white}[ {C.bold}CTRL+C{C.reset} ] !')
continue
else:
input("press enter for back to menu")
print (f'{C.red}ERROR!{c.white}\n\t Enter A Number of tools!\n{C.yellow}For exit press {C.white}[ {C.bold}CTRL+C{C.reset} ] !')
cmd=input(f'{C.red}{C.bold}WebExploit{C.reset} - exit ? y/n -> {C.green}').lower()
if 'y' in cmd:
print (f'{C.white}{C.red}{C.bold}WebExploit{C.white}{C.reset} \n\t\t Bye!')
sys.exit(0)
# input(f'{C.red}{C.bold}WebExploit{C.white} -> Invalid Command Try Again [{C.bold}press enter{C.white}]')
# continue
except:
print (f'{C.white}{C.red}{C.bold}WebExploit{C.white}{C.reset} \n\t\t Bye!')
sys.exit(0)
# if method == 4 or '4' in method:
#
# try:
# while True:
# os.system('clear')
# print (bnr)
# print(f.WHITE+""+reset)
#
# tree1.show()
# mj = input(f'.{C.italic}/Mji/WebExploit/Information-Gathering{C.reset}:~# {C.bold}{C.green}')
# if mj:
# if mj == '0':
# print (f'{c.reset}')
# aps.run()
# input('press enter for back to menu and press CTRL+C for exit')
#
# if mj == '1':
# print (f'{c.reset}')
# ahf.run()
# input('press enter for back to menu and press CTRL+C for exit')
# break
# if mj == '2':
# print (f'{c.reset}')
# b64.run()
# input('press enter for back to menu and press CTRL+C for exit')
# break
# if mj == '3':
# print (f'{c.reset}')
# dirboster.run()
# input('press enter for back to menu and press CTRL+C for exit')
# break
# if mj == '4':
# print (f'{c.reset}')
# cfb.run()
# input('press enter for back to menu and press CTRL+C for exit')
# break
# if mj == '5':
# print (f'{c.reset}')
# cms.run()
# input('press enter for back to menu and press CTRL+C for exit')
# break
# if mj == '6':
# print (f'{c.reset}')
# ipl.run()
# input('press enter for back to menu and press CTRL+C for exit')
# break
# if mj == '7':
# print (f'{c.reset}')
# ping.run()
# input('press enter for back to menu and press CTRL+C for exit')
# break
# if mj == '8':
# print (f'{c.reset}')
# ril.run()
# input('press enter for back to menu and press CTRL+C for exit')
# break
# if mj == '9':
# print (f'{c.reset}')
# sse.run()
# input('press enter for back to menu and press CTRL+C for exit')
# break
#
# else:
# input(f'{C.red}ERROR!{c.white}\n\t Enter A Number of tools!\n{C.yellow}For exit press {C.white}[ {C.bold}CTRL+C{C.reset} ] !')
# continue
# else:
# # print (f'{C.red}ERROR!{c.white}\n\t Enter A Number of tools!\n{C.yellow}For exit press {C.white}[ {C.bold}CTRL+C{C.reset} ] !')
# # cmd=input(f'{C.red}{C.bold}WebExploit{C.reset} - exit ? y/n -> {C.green}').lower()
# # if 'y' in cmd:
# # print (f'{C.white}{C.red}{C.bold}WebExploit{C.white}{C.reset} \n\t\t Bye!')
# # sys.exit(0)
# # input(f'{C.red}{C.bold}WebExploit{C.white} -> Invalid Command Try Again [{C.bold}press enter{C.white}]')
# # continue
# except:
# print (f'{C.white}{C.red}{C.bold}WebExploit{C.white}{C.reset} \n\t\t Bye!')
# sys.exit(0)
else:
# input('\nerror\nBYE!\n')
# os.system('clear')
# break
pass
# except KeyboardInterrupt:
# input(f'\nWebExploit -> Invalid Command \nBYE! ')
# break
WebExploit()