Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C 

Triggerbot in 10 Minutes

Will write this as if you have no knowledge of anything in life.
Comments where necessary.
Straight up this isn't just some source I'm giving you to take, even though it can be straight compiled and used, I wrote this so you can learn!


Things you need:
  • Visual Studio or C++ Compiler


  • A brain




I see a lot of tutorials force people to manually get offsets using Cheat engine and/or Ollydb. In the realworld of CSGO cheats this just isn't the case.

1st step we want to get offsets ready, so either download a Offset Dumper or go Haze Dumper Git here.

Now that you have access to the offsets have a look through them and lets get started.

2nd step we want to download ProcMem (Process & Memory). This is a CPP and Header that allows us to Read and Write Memory as well as grab Modules. We will read and write memory from a DLL inside CSGO called Client.dll and Engine.dll. And the module (dll) grab is to actually link to the modules themselves.

3rd step we go to Visual Studio, click File > New > Project > Win32 Console Application > Name it whatever you want > Click Finish on next window not 'next'. This is our start.

4th step right click on 'Header Files' on the right and click Add > New Item > Header File > Name the header ProcMem. Inside this paste in the code from ProcMem.h that you downloaded eariler.

Now right click 'Source File' > Add > New Item > C++ File > Name it ProcMem. Inside this paste in the code from ProcMem.cpp that you downloaded eariler.

Steps of code:

1.
Code
#include "stdafx.h"
#include "ProcMem.h"

//Here we are including the ProcMem Header so we can use its contents. That is the sole purpose of including.
//As stated in the Tutorial ProcMem allows use to Read/Write Memory and also Grab 'Modules' (DLLs).
#include "stdafx.h"
#include "ProcMem.h"
///////////////////////


//Specifying function
void TriggerBot();
ProcMem Mem;
//////////////////////

using namespace std; //to cout messages to cosnole app

2.
Code
//This is our Main function. Generally used for basic duties and calling other functions.
int Main()
{
    cout << "Insane Triggerbot DUDE\n";
    TriggerBot();
    return 0;
}
//////////////////////////////////////////////


3.
Code
//Here we will create a structure called Offsets to link back to in our TriggerBot function.
struct sOffsets
{
    DWORD LocalPlayer = 0xAA66D4;
    DWORD ForceAttack1 = 0x2F0917C; //These offsets link together to find LocalBase then
    DWORD EntityBase = 0x4AC91B4; //finds the team and health then
    DWORD TeamOffset = 0xF0; //gets crosshair which will be used to find
    DWORD HealthOffset = 0xFC; //enemy is in Crosshair
    DWORD EntityLoop = 0x10;
    DWORD CrosshairOffset = 0xAA70;
}Offset;
//////////////////////////////////////


4.
Code
//Here we will code our triggerbot
void TriggerBot()
{
    DWORD ClientDLL;
    Mem.Process("csgo.exe"); //Uses ProcMem to find the Process called csgo.exe
    ClientDLL = Mem.Module("client.dll"); //Uses ProcMem to find the client.dll

    while (1) //forever loop
    {
        DWORD LocalBase = Mem.Read<DWORD>(ClientDLL + Offset.LocalPlayer); //We are reading a DWORD from client.dll and storing as LocalBase
        int LocalTeam = Mem.Read<int>(LocalBase + Offset.TeamOffset);
        int CrosshairID = Mem.Read<int>(LocalBase + Offset.CrosshairOffset);
        DWORD EntityInCrosshair = Mem.Read<DWORD>(ClientDLL + Offset.EntityBase + ((CrosshairID - 1) * Offset.EntityLoop));
        int EntityHealth = Mem.Read<int>(EntityInCrosshair + Offset.HealthOffset);
        int EntityTeam = Mem.Read<int>(EntityInCrosshair + Offset.TeamOffset);

        if (EntityHealth > 0 && LocalTeam != EntityTeam && GetAsyncKeyState(VK_MENU) & 0x8000)
        {
            Mem.Write<DWORD>(ClientDLL + Offset.ForceAttack1, 6);
        }
    }
}
//////////////////////////////////////////////

5. Lastly click on Project (top) > 'name' Properties > Configuration Properties > General > Character Set > Not Set.

and Project > 'name' Properties > C/C++ > Precompiled Headers > Precompiled Header > Not Using Precompiled Headers.

6. All done.


Dont be a scrub and just copy and paste. Look at the code. At different features and basic shit. Enjoy it.

BHOP in 10 Minutes coming tomorrow if this post gets good feedback.
All in on Ethereum
Clear instructions, easy to understand code. Good job mate. Thanks a bunch.

Fixed one error
Code
int EntityHealth = Mem.Read<int>(EntityInCrosshair + Offset.TeamOffset);

To

int EntityHealth = Mem.Read<int>(EntityInCrosshair + Offset.HealthOffset);
[Image: v2d4SYP.gif]
I have no knowledge of coding whatsoever and I found this relatively easy to understand, thanks for this.
Glad you enjoyed it!

Thanks mate will update the post.
All in on Ethereum
thx, i have a priv8 triggerbot now if anyone wants a slot
(Mar 8, 2017 01:05 PM)clrlslwi Wrote:  thx, i have a priv8 triggerbot now if anyone wants a slot

Funny
All in on Ethereum
hello yes we will be pasting from procmem today so first u need to find the offsets then you need to paste a memory write in a while loop kay? enjoy ez csgo hacker

enjoy 25% cpu usage for a triggerbot r o f l
hint: sleep(1);
(Mar 9, 2017 06:39 AM)caiveman Wrote:  hello yes we will be pasting from procmem today so first u need to find the offsets then you need to paste a memory write in a while loop kay? enjoy ez csgo hacker

enjoy 25% cpu usage for a triggerbot r o f l
hint: sleep(1);

You're very quick to critisize every forum post aren't you ;)

As said, I assumed people would take this code and add to it. And yes, delays are part of that.
All in on Ethereum
>Not running your CS:GO cheats in an SGX enclave in 2017
You should do more of these so I can compile all of them and put out a p2c.
(Mar 9, 2017 07:25 PM)clrlslwi Wrote:  >Not running your CS:GO cheats in an SGX enclave in 2017

do u even hypervisor rootkit?
PM for any questions regarding this post :)

Happy to help
All in on Ethereum


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by IllusionistenNov 4, 2015 04:54 PM 14 1,435 Nov 4, 2015 04:54 PM
Last Post: Vrekt
[C] by ErockAug 7, 2015 09:00 PM 3 199 Aug 7, 2015 09:00 PM
Last Post: ๖ۣۜCyber
[Python] by HypnotistDec 7, 2014 10:49 AM 3 151 Dec 7, 2014 10:49 AM
Last Post: RoutineBoy