My own counter strike cheat

in #deutsch2 years ago (edited)
It's really too easy to develop a cheat for CSGO. I didn't even have to bother to disguise my memory queries as well as the write accesses.

Es ist wirklich zu einfach, einen Cheat für CSGO zu entwickeln.
Ich musste mir nicht mal die Mühe machen, meine Arbeitsspeicher abfragen zu verschleiern genauso wenig wie die Schreibzugriffe.


tenor.gif


But now back to the beginning several days ago I found an interesting post on Unknowncheats where someone wrote a CSGO cheat in Python 4 years ago, yes well I thought to myself, even if it worked back then Valve should have hopefully fixed it in time, but at the same moment I asked myself the question, what if it didn't?

Aber jetzt noch mal zum Anfang vor mehrern Tagen habe ich einen interessanten Post auf Unknowncheats gefunden, wo jemand vor 4 Jahren einen CSGO Cheat in Python geschrieben hat, ja gut dachte ich mir, selbst wenn es damals geklappt hat, sollte Valve das in der zeit hoffentlich gefixt haben, aber im selben Moment stellte ich mir die Frage, was wenn nicht?

No sooner said than done, three hours in the keystroke me all the crap I needed to collect and then to be convinced multithreading in the cheat to include, only to find after another two hours that pymem and multithreading do not get along and I may change everything again and each cheat function must be started manually.

But then it was so far me and a few friends sat together in Discord and wanted to find out now whether the anti cheat recognizes us immediately and from this point I honestly lack words.
After 5 minutes of laughter I realized how crappy the anti cheat really is, I did not even bother to cover up anything, I have more than obviously accessed the memory of the game and played around there and the anti cheat did not care, just embarrassing.

Gesagt getan, drei Stunden in die tastengehauen mir den ganzen Mist zusammensuchen, den ich brauchte und dann der Überzeugung zu sein multithreading in den Cheat einzubauen, um nach weiteren zwei Stunden festzustellen, dass pymem und multithreading sich nicht vertragen und ich wieder alles ändern darf und jede cheat Funktion doch einzeln gestartet werden muss.

Doch dann war es so weit ich und ein paar Freunde saßen in Discord zusammen und wollten nun herausfinden, ob das anti cheat uns sofort erkennt und ab diesen punkt fehlen mir ehrlich gesagt die Worte.
Nach 5 Minuten Gelächter wurde mir erst so richtig klar, wie scheiße das anti Cheat wirklich ist, ich habe mir wiegesagt nicht mal im Ansatz die Mühe gemacht, irgendwas zu vertuschen, ich habe mehr als offensichtlich auf den Arbeitsspeicher vom Spiel zugegriffen und dort herumgespielt und das anti cheat hat es nicht interessiert, einfach nur peinlich.


VOTEFOR-banner-altonos.jpg

HIVE-banner-altonos.jpg


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

print("loaded")
while True:

    if keyboard.is_pressed('end'): 
        print("unload")
        exit(0)
        

    if keyboard.is_pressed('ALT'):
        localplayer = pm.read_int(client + dw_local_player)
        crosshairid = pm.read_int(localplayer + m_icrosshair_id)
        getteam = pm.read_int(client + dw_entity_list + (crosshairid - 1) * 0x10)
        localteam = pm.read_int(localplayer + m_iteam_num)
        crosshairteam = pm.read_int(getteam + m_iteam_num)
        if crosshairid > 0 and crosshairid < 32 and localteam != crosshairteam:
                pm.write_int(client + dw_force_attack, 6)

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

print("loaded")
while True:

    if keyboard.is_pressed('end'): 
        print("unload")
        exit(0)


    if keyboard.is_pressed('F8'):
        time.sleep(1)
        if glow_switch:
            glow_switch = False
        else:   
            glow_switch = True
            

    glow_manager = pm.read_int(client + dw_glow_object_manager)
    for i in range(1,32):
        entity = pm.read_int(client + dw_entity_list + i * 0x10)
        if entity:
            entity_team_id = pm.read_int(entity + m_iteam_num)
            entity_glow = pm.read_int(entity + m_iglow_index)

        
        if glow_switch == True:
            if entity_team_id == 2:
                pm.write_float(glow_manager + entity_glow * 0x38 + 0x8, float(4)) #R
                pm.write_float(glow_manager + entity_glow * 0x38 + 0xC, float(1)) #G
                pm.write_float(glow_manager + entity_glow * 0x38 + 0x10, float(5)) #B
                pm.write_float(glow_manager + entity_glow * 0x38 + 0x14, float(1))#A
                pm.write_int(glow_manager + entity_glow * 0x38 + 0x28, 1)    

        else:
            if entity_team_id == 3:
                pm.write_float(glow_manager + entity_glow * 0x38 + 0x8, float(4)) #R
                pm.write_float(glow_manager + entity_glow * 0x38 + 0xC, float(1)) #G
                pm.write_float(glow_manager + entity_glow * 0x38 + 0x10, float(5)) #B
                pm.write_float(glow_manager + entity_glow * 0x38 + 0x14, float(1))#A
                pm.write_int(glow_manager + entity_glow * 0x38 + 0x28, 1)       
Sort:  

Ja Mega! Womit Du Dich eschäftigst finde ich sehr interessant. Bin ja selber Fachinformatiker und verwalte und baue Netzwerke auf und kümmere mich darum, dass die Server ihre Dienste ordnungsgemäß liefern. Doch mit Programmierung ist nach dem cmd.exe und der windows shell schnell vorbei bei mir. Habe füher kaum Interesse gehabt an Programmierung, doch jetzt durch Blockchain etc. wird es immer interessanter für mich und ich ärgere mich ein wenig, ass ich so wenig know how hae.

LG Michael

!invest_vote

Fucking cheater!

@mima2606 denkt du hast ein Vote durch @investinthefutur verdient!
@mima2606 thinks you have earned a vote of @investinthefutur !