-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
40 lines (33 loc) · 1.39 KB
/
main.py
File metadata and controls
40 lines (33 loc) · 1.39 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
"""
CS2 External Cheat — Ana Giris Noktasi
========================================
"""
from gui import run_gui
from config import Config
from utils import Memory
if __name__ == "__main__":
print("======================================")
print(" RAVEN.CASH CS2 EXTERNAL ")
print("======================================")
cfg = Config()
mem = Memory(cfg.process_name)
if mem.attach():
print(f"[+] CS2 Bulundu. PID: {mem.pid}")
client = mem.get_base("client.dll")
if client:
print(f"[+] client.dll Base: 0x{client:X}")
# Kritik Offset Kontrolu
lp = mem.read_ptr(client + cfg.client("dwLocalPlayerPawn"))
el = mem.read_ptr(client + cfg.client("dwEntityList"))
print(f"[?] LocalPlayerPawn: 0x{lp:X} (Offset: 0x{cfg.client('dwLocalPlayerPawn'):X})")
print(f"[?] EntityList: 0x{el:X} (Offset: 0x{cfg.client('dwEntityList'):X})")
if lp == 0:
print("HATA: LocalPlayerPawn okunamadi! Offset yanlis olabilir.")
if el == 0:
print("HATA: EntityList okunamadi! Offset yanlis olabilir.")
else:
print("HATA: client.dll modulu bulunamadi!")
else:
print("HATA: CS2 bulunamadi/yonetici haklari gerekebilir.")
print("======================================")
run_gui()