Updated to work with the knifechanger

This commit is contained in:
ALittlePatate
2021-04-11 12:40:12 +02:00
committed by GitHub
parent 9d022aa3f9
commit b5fb1d6e8f
13 changed files with 2796 additions and 0 deletions

19
classes/get_netvars.py Normal file
View File

@@ -0,0 +1,19 @@
from netvar_manager import NetvarsManager
import pymem
import pymem.process
class get_netvars() :
def __init__(self) :
pm = pymem.Pymem("csgo.exe")
netvars_manager = NetvarsManager(pm)
out_file = "classes/netvars.json"
if out_file:
with open(out_file, 'w+') as fp:
netvars_manager.dump_netvars(
fp,
json_format=out_file.endswith('.json')
)
else:
netvars_manager.dump_netvars()
pm.close_process()