Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    how to make DLL hack!


    vaznervz
     Share

    Recommended Posts

    After reading alot of the post here and getting alot of questions about how to make a dll hack I decided to make a tutorial on it.

     

    Things needed

    1. Visuial C++ 6.0 (pm me if you need this)

    2. Addie finder ( Nearons should work for you)

    3. SDK Summer 2004 Download here http://www.microsoft.com/downloads/d...displaylang=en

    4. Injector (Any hack you have downloaded comes with one.)

     

     

    Step 1

     

    Open Visual C++

    Press File-->New Select Win32 Dynamic-Link Library and enter a project Name

    Select An Empty DLL Project

    Press File-->New Select C++ Source File Give it a name

     

    Now you are ready to get started

     

    Copy and Paste this code Start Below Here:

     

    /*

    Project : Public HACK Tutorial

    Author : Vaznervz AKA:GHB

    */

    #include <stdio.h>

    #include <windows.h>

     

    //Address go Here

    #define Playerpointer 0x00CB11C8 //these are current

    #define Serverpointer 0x00B39BE0 // as of 8-11-09

    #define OFS_X 0x0000023C // on Warrock int

    #define OFS_Y 0x00000244 // change them when needed

    #define OFS_Z 0x00000240

    #define ADR_FAST_HEALTH 0x00AF5404

    #define ADR_FAST_AMMO 0x00AF5400

    #define ADR_FAST_FLAG 0x00AF5408

    #define ADR_FAST_REPAIR 0x00AF540C

    #define ADR_SPEED 0x0099ADA8

    #define ADR_SPAWN_1 0x00C48320

    #define ADR_SPAWN_2 0x00CACF2C

    #define ADR_BOUNDS_1 0x00C5DF9C

    #define ADR_BOUNDS_2 0x00C5DFA0

    #define ADR_SCOPE 0x00AF53F6

    #define ADR_Spread 0x00AF5458

     

     

    HANDLE Warrock;

    DWORD *ingame= (DWORD*)Playerpointer;

    DWORD *outgame= (DWORD*)Serverpointer;

     

    //Hack Codes Go Here

    //Fast All

    void Fastall()

    {

    *(float*) ADR_FAST_HEALTH = 5000000;

    *(float*) ADR_FAST_AMMO = 5000000;

    *(float*) ADR_FAST_FLAG = 50000;

    *(float*) ADR_FAST_REPAIR = 5000000;

    }

    //Speed

    void speed() // insert key, speed on

    {

    if(GetAsyncKeyState(VK_INSERT) &1)

    {

    *(float*) ADR_SPEED = 1500;

    }

    }

    void speedoff() // delete key, speed normal

    {

    if(GetAsyncKeyState(VK_DELETE) &1)

    {

    *(float*) ADR_SPEED = 100;

    }

    }

    //No Spawn Wait

    void nowait()

    {

    *(float*) ADR_SPAWN_1 = 0;

    *(float*) ADR_SPAWN_2 = 0;

    }

    //No Boundries

    void nobound()

    {

    //if (nobound)

    {

    long t=0;

    unsigned long Protection;

    VirtualProtect((void*)ADR_BOUNDS_1, sizeof(t), PAGE_READWRITE, &Protection);

    memcpy((void*)ADR_BOUNDS_1, &t , sizeof(t));

    VirtualProtect((void*)ADR_BOUNDS_1, sizeof(t), Protection, 0);

    VirtualProtect((void*)ADR_BOUNDS_2, sizeof(t), PAGE_READWRITE, &Protection);

    memcpy((void*)ADR_BOUNDS_2, &t , sizeof(t));

    VirtualProtect((void*)ADR_BOUNDS_2, sizeof(t), Protection, 0);

    }

    }

    //Scope

    void scope()

    {

    if(GetAsyncKeyState(VK_RBUTTON))

    {

    int t=1;

    unsigned long Protection;

    VirtualProtect((void*)ADR_SCOPE, sizeof(t), PAGE_READWRITE, &Protection);

    memcpy((void*)ADR_SCOPE, &t , sizeof(t));

    VirtualProtect((void*)ADR_SCOPE, sizeof(t), Protection, 0);

    }

    else

    {

    int t=0;

    unsigned long Protection;

    VirtualProtect((void*)ADR_SCOPE, sizeof(t), PAGE_READWRITE, &Protection);

    memcpy((void*)ADR_SCOPE, &t , sizeof(t));

    VirtualProtect((void*)ADR_SCOPE, sizeof(t), Protection, 0);

    }

    }

    //No Spread

    void Spread()

    {

    *(float*) ADR_Spread = 0;

    }

     

    //Any other hacks you decide to add go above here

    //Hack are put into the game here

    void snip()

    {

    for(;; )

    {

    if(*ingame) //check if we are ingame.. prevent crashs

    {

    Fastall();

    speed(); // player hacks go here

    speedoff();

    scope();

    }

    if(*outgame)

    {

    Spread();

    nowait(); //server hacks go here

    }

    Sleep(200); //prevent for overloading the cpu

    }

    }

    BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)

    {

    if(dwReason == DLL_PROCESS_ATTACH)

    {

    MessageBoxA(NULL, "YOUR NAME HERE", "Credits", MB_OK); // Put your

    //name where Your Name Here is but leave the ""

    MessageBoxA(NULL, "GHBsy's Base Code", "Credits", MB_OK); // Do not

    // edit this

    CreateThread(0, 0, (LPTHREAD_START_ROUTINE)snip, 0, 0, 0); //create

    // the hackthread

    }

    return TRUE;

    }

     

     

    Stop Copy Above Here!!!!!!!!!!!!

    Now you can goto Build-->Compile "?.cpp"

    If no errors then Build-->Build "?.dll"

    Then goto your project folder and click the debug folder. In there you should fine the DLL file. Copy and Paste it in the same folder as your injector. Make sure they have the same name.

    Exp- test.exe(injector) test.dll(DLL File)

     

    Look over the hacks and build off of them this will get you started but its a very simple hack. I will check this post every day and try to get back to your questions ASAP.

     

    Remember if you use my base code then you can atleast do 2 things for me.

    1. Give me Credit

    2. Press the Thanks Button

     

    Have fun with this and keep in touch with any updates to the hack you have added. Im interested to see how far you can get with it.

    Link to comment
    Share on other sites

    • 2 months later...
    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...