How to write WallHack in Python

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Honest
Seçkin Üye
Katılım
20 Şub 2018
Mesajlar
510
Çözümler
1
Tepki puanı
163
Ödüller
7
Yaş
29
8 HİZMET YILI
Hello, today I will show you how to write WallHack in Python, and even do a little protection against VAC.
To get started, you need Python (Preferably version 3.8+).

1. Follow the link * Click * and download.
2. Next, open the file, and click the checkbox in the 'Add Python 3.8 to PATH' item.
3. Then click on 'Install Now'.
4. We are waiting for the installation.



Next, we need to install the modules, for this we do the following:

1.Open the command line ON THE NAME OF THE ADMINISTRATOR.
2. We write: pip install pymem (Waiting for installation).
3. We write: pip install requests (Waiting for installation).


Now you need to create a folder (On the same disk where Python is installed), create a folder in a convenient place, and in this folder we create Our source (For example WH.py) The extension must be .py.


Next, open our file and write:


Python:
import pymem                   # pip install pymem
import pymem.process           # Installed together with the 'pymem' module
import requests                # pip install requests
from threading import Thread   # The module is installed by default


#  ---------- Начинается подключение к игре ----------
print ('>>> Cheat Starts...')

pm = pymem.Pymem("csgo.exe")                                                 
client = pymem.process.module_from_name(pm.process_handle, "client.dll").lpBaseOfDll

#  ---------- Получение оффсетов для чита  ----------
print ('')
print ('>>> Receiving Offsets...')

offsets = 'https://raw.githubusercontent.com/frk1/hazedumper/master/csgo.json'
response = requests.get(offsets).json()

dwGlowObjectManager = int(response["signatures"]["dwGlowObjectManager"])
dwEntityList = int(response["signatures"]["dwEntityList"])

m_iTeamNum = int(response["netvars"]["m_iTeamNum"])
m_iGlowIndex = int(response["netvars"]["m_iGlowIndex"])

print ('>>> Start WallHack...')

#  ---------- The function itself  ----------
def ESP():
    while True:
        glow_manager = pm.read_int(client + dwGlowObjectManager)

        for i in range(1, 32):
            entity = pm.read_int(client + dwEntityList + i * 0x10)

            if entity:
                entity_team_id = pm.read_int(entity + m_iTeamNum)
                entity_glow = pm.read_int(entity + m_iGlowIndex)

                if entity_team_id == 2:  # Terrorist
                    pm.write_float(glow_manager + entity_glow * 0x38 + 0x4, float(0))
                    pm.write_float(glow_manager + entity_glow * 0x38 + 0x8, float(0))
                    pm.write_float(glow_manager + entity_glow * 0x38 + 0xC, float(1))
                    pm.write_float(glow_manager + entity_glow * 0x38 + 0x10, float(1))
                    pm.write_int(glow_manager + entity_glow * 0x38 + 0x24, 1)

                elif entity_team_id == 3:  # Counter-terrorist
                    pm.write_float(glow_manager + entity_glow * 0x38 + 0x4, float(0))
                    pm.write_float(glow_manager + entity_glow * 0x38 + 0x8, float(0))
                    pm.write_float(glow_manager + entity_glow * 0x38 + 0xC, float(1))
                    pm.write_float(glow_manager + entity_glow * 0x38 + 0x10, float(1))
                    pm.write_int(glow_manager + entity_glow * 0x38 + 0x24, 1)

#  ---------- Function activation ----------
Thread(target=ESP).start()

print ('>>> Cheat started.')

If you want to change the color of the stroke, then we need to change some numbers, namely:

1. Do not highlight - 0 0 0
2. Red - 1 0 0
3. Green - 0 1 0
4. Blue - 0 0 1
5. Yellow - 1 1 0
6. White - 1 1 1
7. Blue - 0 1 1
8. Pink - 1 0 1

Now let's run Our cheat:
1. Run the command line (cmd.exe) ON BEHALF OF THE ADMINISTRATOR.
2. Start CS: GO.
3. Specify in cmd the path to the folder in which the source itself is located (cd Path to the folder (For example: cd C: \ Users \ v1ado \ Desktop \ wh)).
4. Register in cmd - python File name.py.



Now let's talk about protection against VAC (although it is not required).

1. Go to the site
Bağlantıları görmek için lütfen Giriş Yap

2. Paste our code and click OBFUSCATE
-It was
Python:
import pymem                   # pip install pymem
import pymem.process           # Installed together with the 'pymem' module
import requests                # pip install requests
from threading import Thread   # The module is installed by default


#  ---------- Начинается подключение к игре ----------
print ('>>> Cheat Starts...')

pm = pymem.Pymem("csgo.exe")                                                 
client = pymem.process.module_from_name(pm.process_handle, "client.dll").lpBaseOfDll

#  ---------- Получение оффсетов для чита  ----------
print ('')
print ('>>> Receiving Offsets...')

offsets = 'https://raw.githubusercontent.com/frk1/hazedumper/master/csgo.json'
response = requests.get(offsets).json()

dwGlowObjectManager = int(response["signatures"]["dwGlowObjectManager"])
dwEntityList = int(response["signatures"]["dwEntityList"])

m_iTeamNum = int(response["netvars"]["m_iTeamNum"])
m_iGlowIndex = int(response["netvars"]["m_iGlowIndex"])

print ('>>> Start WallHack...')

#  ---------- The function itself  ----------
def ESP():
    while True:
        glow_manager = pm.read_int(client + dwGlowObjectManager)

        for i in range(1, 32):
            entity = pm.read_int(client + dwEntityList + i * 0x10)

            if entity:
                entity_team_id = pm.read_int(entity + m_iTeamNum)
                entity_glow = pm.read_int(entity + m_iGlowIndex)

                if entity_team_id == 2:  # Terrorist
                    pm.write_float(glow_manager + entity_glow * 0x38 + 0x4, float(0))
                    pm.write_float(glow_manager + entity_glow * 0x38 + 0x8, float(0))
                    pm.write_float(glow_manager + entity_glow * 0x38 + 0xC, float(1))
                    pm.write_float(glow_manager + entity_glow * 0x38 + 0x10, float(1))
                    pm.write_int(glow_manager + entity_glow * 0x38 + 0x24, 1)

                elif entity_team_id == 3:  # Counter-terrorist
                    pm.write_float(glow_manager + entity_glow * 0x38 + 0x4, float(0))
                    pm.write_float(glow_manager + entity_glow * 0x38 + 0x8, float(0))
                    pm.write_float(glow_manager + entity_glow * 0x38 + 0xC, float(1))
                    pm.write_float(glow_manager + entity_glow * 0x38 + 0x10, float(1))
                    pm.write_int(glow_manager + entity_glow * 0x38 + 0x24, 1)

#  ---------- Function activation ----------
Thread(target=ESP).start()

print ('>>> Cheat started.')

--became
Python:
import pymem #line:1
import pymem .process #line:2
import requests #line:3
from threading import Thread #line:4
print ('>>> Cheat starts...')#line:8
pm =pymem .Pymem ("csgo.exe")#line:10
client =pymem .process .module_from_name (pm .process_handle ,"client.dll").lpBaseOfDll #line:11
print ('')#line:14
print ('>>> Getting offsets...')#line:15
offsets ='https://raw.githubusercontent.com/frk1/hazedumper/master/csgo.json'#line:17
response =requests .get (offsets ).json ()#line:18
dwGlowObjectManager =int (response ["signatures"]["dwGlowObjectManager"])#line:20
dwEntityList =int (response ["signatures"]["dwEntityList"])#line:21
m_iTeamNum =int (response ["netvars"]["m_iTeamNum"])#line:23
m_iGlowIndex =int (response ["netvars"]["m_iGlowIndex"])#line:24
print ('>>> Start WallHack...')#line:26
def ESP ():#line:29
    while True :#line:30
        OO0O0O0OO0OOOO0OO =pm .read_int (client +dwGlowObjectManager )#line:31
        for OOOOO00O0OO00000O in range (1 ,32 ):#line:33
            O00OO0O0O0O00OOO0 =pm .read_int (client +dwEntityList +OOOOO00O0OO00000O *0x10 )#line:34
            if O00OO0O0O0O00OOO0 :#line:36
                O000OOO00O0O00000 =pm .read_int (O00OO0O0O0O00OOO0 +m_iTeamNum )#line:37
                O0OOOOOO000O0OOO0 =pm .read_int (O00OO0O0O0O00OOO0 +m_iGlowIndex )#line:38
                if O000OOO00O0O00000 ==2 :#line:40
                    pm .write_float (OO0O0O0OO0OOOO0OO +O0OOOOOO000O0OOO0 *0x38 +0x4 ,float (0 ))#line:41
                    pm .write_float (OO0O0O0OO0OOOO0OO +O0OOOOOO000O0OOO0 *0x38 +0x8 ,float (0 ))#line:42
                    pm .write_float (OO0O0O0OO0OOOO0OO +O0OOOOOO000O0OOO0 *0x38 +0xC ,float (1 ))#line:43
                    pm .write_float (OO0O0O0OO0OOOO0OO +O0OOOOOO000O0OOO0 *0x38 +0x10 ,float (1 ))#line:44
                    pm .write_int (OO0O0O0OO0OOOO0OO +O0OOOOOO000O0OOO0 *0x38 +0x24 ,1 )#line:45
                elif O000OOO00O0O00000 ==3 :#line:47
                    pm .write_float (OO0O0O0OO0OOOO0OO +O0OOOOOO000O0OOO0 *0x38 +0x4 ,float (0 ))#line:48
                    pm .write_float (OO0O0O0OO0OOOO0OO +O0OOOOOO000O0OOO0 *0x38 +0x8 ,float (0 ))#line:49
                    pm .write_float (OO0O0O0OO0OOOO0OO +O0OOOOOO000O0OOO0 *0x38 +0xC ,float (1 ))#line:50
                    pm .write_float (OO0O0O0OO0OOOO0OO +O0OOOOOO000O0OOO0 *0x38 +0x10 ,float (1 ))#line:51
                    pm .write_int (OO0O0O0OO0OOOO0OO +O0OOOOOO000O0OOO0 *0x38 +0x24 ,1 )#line:52
Thread (target =ESP ).start ()#line:55
print ('>>> Cheat started.')

Bağlantıları görmek için lütfen Giriş Yap



Yes, it looks creepy, if they revert him, they will die of a heart attack on the spot.
Well, in fact, this is the whole guide, put likes, dislikes, write good comments, write bad comments, ask questions, pokedova.
 
Moderatörün son düzenlenenleri:
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...