forked from JU5TDIE/Lester-Ver2.0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
72 lines (57 loc) · 3.24 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
import sys
import time
import pynput
import win32gui
from threading import Thread
from hacks import casinofingerprint, casinokeypad, cayofingerprint, cayovoltage
def PrintBanner():
print('''
██╗░░░░░███████╗░██████╗████████╗███████╗██████╗░ ██╗░░░██╗███████╗██████╗░ ██████╗░░░░░█████╗░
██║░░░░░██╔════╝██╔════╝╚══██╔══╝██╔════╝██╔══██╗ ██║░░░██║██╔════╝██╔══██╗ ╚════██╗░░░██╔══██╗
██║░░░░░█████╗░░╚█████╗░░░░██║░░░█████╗░░██████╔╝ ╚██╗░██╔╝█████╗░░██████╔╝ ░░███╔═╝░░░██║░░██║
██║░░░░░██╔══╝░░░╚═══██╗░░░██║░░░██╔══╝░░██╔══██╗ ░╚████╔╝░██╔══╝░░██╔══██╗ ██╔══╝░░░░░██║░░██║
███████╗███████╗██████╔╝░░░██║░░░███████╗██║░░██║ ░░╚██╔╝░░███████╗██║░░██║ ███████╗██╗╚█████╔╝
╚══════╝╚══════╝╚═════╝░░░░╚═╝░░░╚══════╝╚═╝░░╚═╝ ░░░╚═╝░░░╚══════╝╚═╝░░╚═╝ ╚══════╝╚═╝░╚════╝░
''')
def PrintCredits():
print('''
Made by JUSTDIE
Special thanks to RedHeadEmile
''')
def check_window():
print('[*] Searching Grand Theft Auto V...')
while True:
hwnd = win32gui.FindWindow(None, "Grand Theft Auto V")
if hwnd:
print('[*] Grand Theft Auto V Detected!')
print('')
print('=============================================')
return True
time.sleep(1)
def casino_fingerprint():
thread = Thread(target = casinofingerprint.main)
thread.start()
def casino_keypad():
thread = Thread(target = casinokeypad.main)
thread.start()
def cayo_fingerprint():
thread = Thread(target = cayofingerprint.main)
thread.start()
def cayo_voltage():
thread = Thread(target = cayovoltage.main)
thread.start()
def shutdown():
sys.exit()
def main():
PrintBanner()
PrintCredits()
if check_window():
with pynput.keyboard.GlobalHotKeys({
'<F4>': shutdown,
'<F5>': casino_fingerprint,
'<F6>': casino_keypad,
'<F7>': cayo_fingerprint,
'<F8>': cayo_voltage}) as h:
h.join()
if __name__ == "__main__":
main()