Git Product home page Git Product logo

onebyteradar's Introduction

OneByteRadar

CS:GO radar hack achieved by patching one byte of game memory. Written in Python 3.

Getting started

Prerequisites

Python 3 and pymem package need to be installed in order to run OneByteRadar.

Running

Run CS:GO, then start OneByteRadar.py either by double-clicking it or typing python OneByteRadar.py command. Although program exists immediately, hack works as long as game's running. To disable the hack without game restart, just start OneByteRadar.py again.

onebyteradar's People

Contributors

danielkrupinski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

onebyteradar's Issues

I made some improvements

Hello,

I really like your cheat so I made improvements (only for usability) :

  • some exception catching
  • ability to enable and disable the cheat while in game (press p)
import pymem
import re
from pynput import keyboard
from termcolor import colored

running = False

try:  # checks if csgo is opened
    pm = pymem.Pymem('csgo.exe')

    def on_press(key):  # starts key listener
        try:
            k = key.char  # single-char keys
        except:
            k = key.name  # other keys
        if k in ['p']:  # keys of interest
            global running
            if not running:  # if cheat wasn't running, runs it
                print(colored('Running...', 'green'))
                running = True
            elif running:  # if cheat was running, stops it
                print(colored('Not running...', 'red'))
                running = False

            # --------------------------- cheat himself -------------------------------------
            pm = pymem.Pymem('csgo.exe')

            client = pymem.process.module_from_name(pm.process_handle,
                                                    'client.dll')

            clientModule = pm.read_bytes(client.lpBaseOfDll, client.SizeOfImage)
            address = client.lpBaseOfDll + re.search(rb'\x80\xB9.{5}\x74\x12\x8B\x41\x08',
                                                     clientModule).start() + 6

            pm.write_uchar(address, 0 if pm.read_uchar(address) != 0 else 2)

            pm.close_process()
            # ---------------------------- end of cheat -------------------------------------

    listener = keyboard.Listener(on_press=on_press)
    listener.start()  # start to listen on a separate thread
    listener.join()  # remove if main thread is polling self.keys

except pymem.exception.ProcessNotFound:  # if csgo isn't running,
                                         # catches the error and prints something readable
    print(colored("CS:GO isn't running...", 'red'))

TKS VERY MUCH

tks a lot for the onebyte py. Cou u make onebyte recoin crosshair?

MEMORY_MANAGEMENT error

After using it a couple of hours I'm getting blue screen with following error:
image

If i reboot pc and use it without this exploit everything is fine. In my opinion it's connected with latest CSGO update(cuz started after it)

Before publishing this issue I checked my RAM

Find memory address

Hi.
Where can I read that byte position can be used to find the data writing address in cs: go?

Tutorial

Hello, could you do like a tutorial or add an explanation in the readme on how to know what to do there to code that?

Radar toggle?

Is it possible to add a keybind that will let you turn on/off the radar ingame?

Error

2022-06-19 16:11:57,321 - pymem - DEBUG - Process 4908 is being debugged

error

line 8, in
clientModule = pm.read_bytes(client.lpBaseOfDll, client.SizeOfImage)
AttributeError: 'NoneType' object has no attribute 'lpBaseOfDll'

Not working after update

OneByteRadar.py", line 10, in
clientModule).start() + 9
AttributeError: 'NoneType' object has no attribute 'start'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.