Thread: (help) New C++

Results 1 to 8 of 8
  1. #1
    superHackz's Avatar
    Join Date
    May 2008
    Posts
    81
    Reputation
    10
    Thanks
    33

    Question (help) New C++

    Hi im new to C++ because i usualy use VB6 and i made my first scope hack like in 5 mins, but for this do i need a undetected module and if so can someone give me link or tell me how exactly.

    Thanks
    Last edited by superHackz; 05-08-2008 at 03:14 PM.

  2. #2
    superHackz's Avatar
    Join Date
    May 2008
    Posts
    81
    Reputation
    10
    Thanks
    33
    NEVER MIND!!!

  3. #3
    k1ntar0's Avatar
    Join Date
    Feb 2008
    Posts
    2
    Reputation
    10
    Thanks
    0
    C++ is not Visual Basic. In C++ you can include header files. But for the memory manipulation you dont need to import functions from a dll file. You can just include <windows.h> and use the following functions:
    FindWindow
    OpenProcess
    WriteProcessMemory
    ReadProcessMemory
    CloseHandle
    Just google them.
    But I wont give you my header file because I wrote it on my own and I spent a lot of time with it.

  4. #4
    superHackz's Avatar
    Join Date
    May 2008
    Posts
    81
    Reputation
    10
    Thanks
    33
    Quote Originally Posted by k1ntar0 View Post
    C++ is not Visual Basic. In C++ you can include header files. But for the memory manipulation you dont need to import functions from a dll file. You can just include <windows.h> and use the following functions:
    FindWindow
    OpenProcess
    WriteProcessMemory
    ReadProcessMemory
    CloseHandle
    Just google them.
    But I wont give you my header file because I wrote it on my own and I spent a lot of time with it.

    well im quiting making hacks Cause VB6 sucks and C++ is too hard and no helps me with it....

  5. #5
    Toymaker's Avatar
    Join Date
    Feb 2008
    Gender
    male
    Location
    Hannah, Montana
    Posts
    659
    Reputation
    14
    Thanks
    193
    My Mood
    Amused
    Your approach may be the problem instead super. vb6 has some advantages to C++ in the hacking world but you can always just keep it simple with C++ and you don't find 'undetected modules' all you need is to design a module in general and it depends on how smart you are in your hack/hook if you'll be detected or not, although yes sometimes if you know how the protection works you can use some functions in your programming and defeat it. But this would mean you're already a pretty good hacker or programmer. Your first post already immediately told me about where your skill level is, so i'd love to help you.

    I switched to using dev-c++ but it's more picky. If you just limewire Microsoft C++ 6.0 you're golden.

    This same module i was able to be used for two years on Warcraft III for me. Because it's not the programming, but the hook that counts. Use safe offsets/asm and there's a chance you can't use the nice writeprocessmemory and have to use .dll instead but you can google any injector even like LoaderX is free.

    //Cryticals Basic Injection Module
    #include <windows.h>
    #include <iostream>
    using namespace std;
    HWND hwar3=FindWindow(NULL,"Game Name Here");

    //DECLARE FUNCTIONS
    void write(LPVOID addy, DWORD mydata);
    void enableDebugPrivileges();
    void doparti();
    void dopartii();

    char pw[3];

    //Main part
    int main() {
    cout << "Warcraft III Red_Map" << endl;
    if(!hwar3) //If Warcraft doesn't run
    {
    cout << "Warcraft III not found" << endl;
    system("pause");
    exit(0);
    }
    cout << "hack name and credits here" << endl;
    cout << "Please Enter Password... (its abc)" << endl;
    scanf("%s",pw);
    if(!strcmp(pw,"abc")) {
    cout << "Attaching..." << endl;
    enableDebugPrivileges();
    cout << "Revealing Map..." << endl;
    doparti();
    dopartii();
    system("pause");
    }

    }


    void write(LPVOID addy, DWORD mydata)
    {
    DWORD PID, TID;
    TID = ::GetWindowThreadProcessId (hwar3, &PID);
    HANDLE hopen=OpenProcess( PROCESS_ALL_ACCESS|PROCESS_TERMINATE|PROCESS_VM_OP ERATION|PROCESS_VM_READ|
    PROCESS_VM_WRITE,FALSE,PID);

    WriteProcessMemory(hopen,addy,&mydata,1,0);
    CloseHandle(hopen);
    }

    void enableDebugPrivileges()
    {
    HANDLE hcurrent=GetCurrentProcess();
    HANDLE hToken;
    BOOL bret=OpenProcessToken(hcurrent,40,&hToken);
    LUID luid;
    bret=LookupPrivilegeValue(NULL,"SeDebugPrivilege", &luid);
    TOKEN_PRIVILEGES NewState,PreviousState;
    DWORD ReturnLength;
    NewState.PrivilegeCount =1;
    NewState.Privileges[0].Luid =luid;
    NewState.Privileges[0].Attributes=2;
    AdjustTokenPrivileges(hToken,FALSE,&NewState,28,&P reviousState,&ReturnLength);
    }

    void doparti()
    {
    write((LPVOID)0x6F240000, 0xEB);

    }

    void dopartii()
    {
    cout<<"hello lol";

    }

  6. The Following User Says Thank You to Toymaker For This Useful Post:

    oilu (05-26-2008)

  7. #6
    oilu's Avatar
    Join Date
    Apr 2007
    Gender
    male
    Location
    all
    Posts
    7
    Reputation
    10
    Thanks
    0
    Thanks CRYTICAL that help alot yesterday i made 3 hacks, one on vb6 then i made a trainer in c++ and then i made a DLL hack, but now starts the advance part and to be able to go on is different business but i will one way or the other lol.

  8. #7
    Sp4rt4n's Avatar
    Join Date
    May 2007
    Gender
    male
    Location
    ZM_SPACESTATION nigguh.
    Posts
    581
    Reputation
    11
    Thanks
    41
    i is very confused!!!!!
    uʍop əpısdn ədʎʇ ʇuɐɔ sqoou
    Whatever happened to sex, drugs, & rock 'n roll?
    now we just have aids, crack, and techno.


    haters gunna hate while they keep drinkin that hatorade.



  9. #8
    Kung Fu Penguin31's Avatar
    Join Date
    Jun 2007
    Gender
    male
    Location
    how am i supposed to know....
    Posts
    473
    Reputation
    12
    Thanks
    48
    if you want to learn more just buy yourself a good book on c++







    [img]https://www.danasof*****m/sig/ghghhkjklk.jpg[/img]

    drill sargeant: How tall are you boy!?
    soldier: umm....urr about 5' 11''
    drill sargeant: I didn't know they stacked shit that high!!

    Creator of the Annihilation,Freebie and KFP Series.

    <MASTER HACKER>

Similar Threads

  1. Help! New Trainer!
    By condor01 in forum WarRock - International Hacks
    Replies: 6
    Last Post: 09-03-2007, 05:20 AM
  2. prob with new trainer - HELP NEEDED-
    By XqwertyX in forum WarRock Korea Hacks
    Replies: 12
    Last Post: 05-24-2007, 02:48 PM
  3. help for NEW KOREAN TRAINER
    By XqwertyX in forum WarRock Korea Hacks
    Replies: 26
    Last Post: 05-15-2007, 09:07 PM
  4. Hi all! I'm New...can somebody help me
    By test in forum Hack Requests
    Replies: 12
    Last Post: 05-02-2007, 02:30 PM
  5. Project 16 (im new to hacking and need help)
    By FlameDragon in forum WarRock - International Hacks
    Replies: 21
    Last Post: 04-21-2007, 11:06 AM