-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
69 lines (53 loc) · 1.6 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
from modules_ import fivem
from utils import core
def main():
try:
opt = input(f'{core.r}@{core.n} ')
if opt == 'help' or opt == '?':
core.corestuff.help_command()
main()
elif opt == 'clear' or opt == 'cls':
core.clear()
core.corestuff.banner()
main()
elif opt == 'modules' or opt == 'mods':
core.corestuff.show_modules()
main()
elif opt == 'alias':
core.corestuff.alias()
main()
elif 'dump-players' in opt:
cfx = opt.split(' ')[1]
fivem.dumping.dump_players(cfx)
print('')
main()
elif 'extract-info' in opt:
cfx = opt.split(' ')[1]
fivem.dumping.dump_info(cfx)
main()
elif 'dump-resources' in opt:
cfx = opt.split(' ')[1]
fivem.dumping.dump_resources(cfx)
print('')
main()
elif 'parse-cfx' in opt:
cfx = opt.split(' ')[1]
fivem.dumping.parse_cfx(cfx)
print('')
main()
elif 'scanner' in opt:
cfx = opt.split(' ')[1]
print('')
fivem.dumping.scanner(cfx)
print('')
main()
else:
main()
except Exception:
print(f'\n{core.r}•{core.n} Missing CFX. Usage: <module> <cfx>\n')
main()
if __name__ == '__main__':
core.clear()
core.title()
core.corestuff.banner()
main()