CoolExternal TriggerBot | Python |

Posts 1–6 of 6 · Page 1 of 1
External TriggerBot | Python |
So, as I have very little knowledge in C++, or C, I decided to try and see if Python was able to read and write memory like C does, found out it is possible . Here is the source for a simple TriggerBot in Python3.

Code:
import keyboard
import pymem
import pymem.process
import time

# Offsets 01/17/18
dwLocalPlayer = (0xA9D0DC)
dwForceAttack = (0x2EBC23C)
m_iCrosshairId = (0xB2A4)
trigger_key = "p" # Aim key, while pressed, triggerbot is activated.


pm = pymem.Pymem("csgo.exe")


def main():
    print("TriggerBot is enabled. Your trigger key is: {}.".format(trigger_key))

    client = pymem.process.module_from_name(pm.process_id, "client.dll")
    player = client.base_address + dwLocalPlayer
    in_crosshair = pm.read_int(player) + m_iCrosshairId
    force_attack = client.base_address + dwForceAttack

    while True:
        r = pm.read_int(in_crosshair)

        if keyboard.is_pressed(trigger_key):
            if r > 0 and r <= 64:
                pm.write_int(force_attack, 5)
                time.sleep(0.01)  
                pm.write_int(force_attack, 4)


if __name__ == '__main__':
    main()
Requirements :
python3
keyboard
pymem
pywin32


This is probably detected, only releasing for reference, if someone is trying to mess around with Python. No instructions either because it's not meant to be used like this.
This is sick, I don't know Python, but it's really cool how much shorter Python is compared to C++
Quote Originally Posted by LuaHax View Post
This is sick, I don't know Python, but it's really cool how much shorter Python is compared to C++
haha, yes, but I think Python is limited for doing things like this, let's see, next goal would be to create an internal, doubt it is possible though.
You can host Python in C++ without a doubt. Not sure how difficult that would be, however.

Essentially you'd want to create a normal C++ base, dxhook etc and expose it to Python and just write the actual cheating parts in Python. Should you do this though? Probably not- unless you *really* like Python.
Python was used to make simple external cheats in the past, it can be really good if used correctly.

Also have you coded this from scratch yourself and when did you do so if you have?
Quote Originally Posted by vaLixy View Post
Python was used to make simple external cheats in the past, it can be really good if used correctly.

Also have you coded this from scratch yourself and when did you do so if you have?
Found this on someones github, changed a few things and released. Not much was changed, atleast not enough for sig change.

Never knew python was used to make things like this, anyhow did some research and found some cool modules to play around with e.g Cython, and pymem.
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?