Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    D3v17Dy7's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    79
    Reputation
    10
    Thanks
    48
    My Mood
    Aggressive

    [C++] Zombies hacks, infinite ammo/nades/monkeybombs, kill/headshots & points

    F1 for ammo/nades/monkeys, F2 for points and F3 for kills/headshots.
    Here's the source, it's in C++. Took me a while to make
    Code:
    #include <iostream>
    #include <Windows.h>
    #include <string>
    
    using namespace std;
    
    int main() {
        int newValue   = 13337;
        HWND hWnd = FindWindow(0, "Call of Duty®: BlackOps");
    
        if(hWnd == 0) {
            cerr << "Cannot find window." << endl;
            return 1;
        } else {
            bool ammoCheat;
            bool pointCheat;
            while(!GetAsyncKeyState(VK_INSERT)) {
            Sleep(100);
            DWORD pId;
            GetWindowThreadProcessId(hWnd, &pId);
            HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, false, pId);
            if (!hProc) {
                cerr << "Cannot open process." << endl;
                return 2;
            } else {
                DWORD baseAddr = 0x1C08F00;
                DWORD baseAddr2 = 0x1C08F10;
                DWORD baseAddrGrenades = 0x01C08F08;
                DWORD baseAddrPoints = 0x1C0A6C8;
                DWORD baseAddrKills = 0x01C0A6CC;
                DWORD baseAddrHeadshots = 0x01C0A6EC;
                DWORD baseAddrMonkeyBombs = 0x01C08F18;
                if(GetAsyncKeyState(VK_F1)) {
                    int isSuccessful = WriteProcessMemory(hProc, (LPVOID)baseAddr, &newValue, sizeof(newValue), NULL);
                    int isSuccessful2 = WriteProcessMemory(hProc, (LPVOID)baseAddr2, &newValue, sizeof(newValue), NULL);
                    int isSuccessful3 = WriteProcessMemory(hProc, (LPVOID)baseAddrGrenades, &newValue, sizeof(newValue), NULL);
                    int isSuccessful4 = WriteProcessMemory(hProc, (LPVOID)baseAddrMonkeyBombs, &newValue, sizeof(newValue), NULL);
                    if(isSuccessful > 0 && isSuccessful2 > 0 && isSuccessful3 > 0 && isSuccessful4 > 0) {
                        clog << "Ammo & nades hacked successfully" << endl;
                        Sleep(400);
                    } else {
                        cerr << "Cannot write memory :c" << endl;
                    }
                }
                if(GetAsyncKeyState(VK_F2)) {
                    int isSuccessful = WriteProcessMemory(hProc, (LPVOID)baseAddrPoints, &newValue, sizeof(newValue), NULL);
                    if(isSuccessful > 0) {
                        clog << "Points hacked successfully" << endl;
                        Sleep(400);
                    } else {
                        cerr << "Cannot write memory :c" << endl;
                    }
                }
                if(GetAsyncKeyState(VK_F3)) {
                    int isSuccessful = WriteProcessMemory(hProc, (LPVOID)baseAddrKills, &newValue, sizeof(newValue), NULL);
                    int isSuccessful2 = WriteProcessMemory(hProc, (LPVOID)baseAddrHeadshots, &newValue, sizeof(newValue), NULL);
                    if(isSuccessful > 0 && isSuccessful2 > 0) {
                        clog << "Kills/headshots hacked successfully" << endl;
                        Sleep(400);
                    } else {
                        cerr << "Cannot write memory :c" << endl;
                    }
                }
            }
        }
    }
    return 0;
    }
    I compiled it as an attachment, too.
    Here are the virus scans.
    VirusTotal
    Jotti
    For the ZIP:
    VirusTotal
    Jotti
    <b>Downloadable Files</b> Downloadable Files
    Last edited by D3v17Dy7; 05-16-2015 at 08:51 AM.

  2. The Following 32 Users Say Thank You to D3v17Dy7 For This Useful Post:

    ALIUSMADZ (06-27-2015),AmaZingN0OB (08-02-2015),aziz zyzz (07-07-2016),barryownt (08-04-2015),beatacake (06-21-2015),BenKnight153 (01-28-2016),Corporall (10-11-2020),Cosmo_ (05-16-2015),cyborge (02-12-2016),devBeast (08-02-2023),e12p (07-26-2016),Garv (08-23-2015),Goobyhkekki (04-02-2016),gourame (06-11-2016),jkexitium (11-14-2015),KoNiiTRoX (03-12-2016),LobbyGodMan (01-10-2016),martzel145 (01-15-2021),mic3zoz (05-28-2019),mickxd (10-24-2015),nignogwoot (10-10-2016),Nunchaku (06-11-2018),ogdontay (07-31-2015),rafael tenedini123 (07-15-2015),RANZZRATTE (03-28-2016),sajjad78 (05-06-2018),Slenderman443 (05-28-2016),thaina (02-10-2016),theunknownman (05-17-2015),TicTak82 (06-14-2015),troy192 (10-19-2015),xxsxn (01-04-2018)

  3. #2
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Good work, keep it up

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  4. The Following 2 Users Say Thank You to Jorndel For This Useful Post:

    D3v17Dy7 (05-16-2015),Silent (05-16-2015)

  5. #3
    akim14's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    896
    Reputation
    293
    Thanks
    5,054
    My Mood
    Doh
    Approved, post back results
    [IMG]
    MPGH Member since 10. 21. 2009
    CoD section Minion 22. 01. 2015 - 23. 02. 2017
    GTA section Minion 15. 07.2015 - 23. 02. 2017
    Minion+ 27. 01. 2016 - 23. 02. 2017
    Skype Impersonator: mpgh.akim14. (always use skype buton on my profile and contact me here)

  6. #4
    D3v17Dy7's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    79
    Reputation
    10
    Thanks
    48
    My Mood
    Aggressive
    Quote Originally Posted by Jorndel View Post
    Good work, keep it up
    Quote Originally Posted by akim14 View Post
    Approved, post back results
    Thank you guys, it means a lot, I just started programming C++ :P
    And to everyone here, post back your results!

  7. #5
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by D3v17Dy7 View Post
    Thank you guys, it means a lot, I just started programming C++ :P
    You're welcome

    C++ is the right language to make cheats in, while C#/VB is best for trainers

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  8. #6
    D3v17Dy7's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    79
    Reputation
    10
    Thanks
    48
    My Mood
    Aggressive
    Quote Originally Posted by Jorndel View Post

    You're welcome

    C++ is the right language to make cheats in, while C#/VB is best for trainers
    I'm guessing to "freeze" the addresses I lower the sleep to about 10ms or so and make it so that
    Code:
    if(hackOn = true) { 
    changeValue(ammo)
    }
    every tick or something?

  9. #7
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    Quote Originally Posted by D3v17Dy7 View Post
    I'm guessing to "freeze" the addresses I lower the sleep to about 10ms or so and make it so that
    Code:
    if(hackOn = true) { 
    changeValue(ammo)
    }
    every tick or something?
    I don't code C++ so I can't tell. I've made like 2 private trainers

    From what I see, you can only use the hotkey's one time. And then the program closes/stops.
    I dunno so I can't tell you more

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  10. #8
    sn0wyyy's Avatar
    Join Date
    Mar 2015
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    1
    Nice
    I would just make a loop or something, worked in c# atleast

  11. #9
    theunknownman's Avatar
    Join Date
    May 2015
    Gender
    male
    Posts
    154
    Reputation
    10
    Thanks
    12
    My Mood
    Doubtful
    i'm wanting to use this but -

    how do I use it?

    and is there a way to make it harder for VAC to detect?

  12. #10
    D3v17Dy7's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    79
    Reputation
    10
    Thanks
    48
    My Mood
    Aggressive
    Quote Originally Posted by Jorndel View Post


    I don't code C++ so I can't tell. I've made like 2 private trainers

    From what I see, you can only use the hotkey's one time. And then the program closes/stops.
    I dunno so I can't tell you more
    Nope, stays open until you press INSERT.
    And it's pretty much infinite ammo, there's no way you'll run out :P

    Quote Originally Posted by theunknownman View Post
    i'm wanting to use this but -

    how do I use it?

    and is there a way to make it harder for VAC to detect?
    VAC is not activated in singleplayer/zombies.

  13. #11
    theunknownman's Avatar
    Join Date
    May 2015
    Gender
    male
    Posts
    154
    Reputation
    10
    Thanks
    12
    My Mood
    Doubtful
    do you have to be host for this to work?

  14. #12
    D3v17Dy7's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    79
    Reputation
    10
    Thanks
    48
    My Mood
    Aggressive
    Quote Originally Posted by theunknownman View Post
    do you have to be host for this to work?
    I'm guessing so, but I'm not certain.
    I'll get back to you on that.

  15. #13
    D3v17Dy7's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    79
    Reputation
    10
    Thanks
    48
    My Mood
    Aggressive
    I made invincibility & super-duper rapid fire
    Code:
    #include <iostream>
    #include <Windows.h>
    #include <string>
    
    using namespace std;
    
    int main() {
        int newValue = 133337;
        HWND hWnd = FindWindow(0, "Call of Duty®: BlackOps");
    
        if(hWnd == 0) {
            cerr << "Cannot find window." << endl;
            return 1;
        } else {
            bool ammoCheat = false;
            bool pointCheat = false;
            bool rapidfire = false;
            bool invincibility = false;
            int health = 50000;
            int hurr = 0;
            DWORD baseAddr = 0x1C08F00;
            DWORD baseAddr2 = 0x1C08F10;
            DWORD baseAddrGrenades = 0x01C08F08;
            DWORD baseAddrPoints = 0x1C0A6C8;
            DWORD baseAddrKills = 0x01C0A6CC;
            DWORD baseAddrHeadshots = 0x01C0A6EC;
            DWORD baseAddrMonkeyBombs = 0x01C08F18;
            // Player Structure
            DWORD baseAddrHealth = 0x01A7987C;
            DWORD baseAddrRapidFire = 0x01C08B7C;
            DWORD baseAddrRapidFire2 = 0x01C08B84;
            int timeX = 50;
            while(!GetAsyncKeyState(VK_DELETE)) {
            Sleep(timeX);
            DWORD pId;
            GetWindowThreadProcessId(hWnd, &pId);
            HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, false, pId);
            if (!hProc) {
                cerr << "Cannot open process." << endl;
                return 2;
            } else {
                if(rapidfire) {
                    WriteProcessMemory(hProc, (LPVOID)baseAddrRapidFire, &hurr, sizeof(baseAddrRapidFire), NULL); // 1 byte
                    WriteProcessMemory(hProc, (LPVOID)baseAddrRapidFire2, &hurr, sizeof(baseAddrRapidFire2), NULL); // 1 byte
                }
                if(invincibility) {
                    WriteProcessMemory(hProc, (LPVOID)baseAddrHealth, &health, sizeof(baseAddrHealth), NULL);
                }
                if(GetAsyncKeyState(VK_F5)) {
                    if(rapidfire == true) {
                        cout << "F1 | Infinite Ammo" << endl;
                        cout << "F2 | Point Hack" << endl;
                        cout << "F3 | Invincibility" << endl;
                        cout << "F4 | Rapid Fire ON" << endl;
                    } else {
                        cout << "F1 | Infinite Ammo" << endl;
                        cout << "F2 | Point Hack" << endl;
                        cout << "F3 | Kills/headshots 13337" << endl;
                        cout << "F4 | Rapid Fire OFF" << endl;
                    }
                }
                if(GetAsyncKeyState(VK_F1)) {
                    int isSuccessful = WriteProcessMemory(hProc, (LPVOID)baseAddr, &newValue, sizeof(newValue), NULL);
                    int isSuccessful2 = WriteProcessMemory(hProc, (LPVOID)baseAddr2, &newValue, sizeof(newValue), NULL);
                    int isSuccessful3 = WriteProcessMemory(hProc, (LPVOID)baseAddrGrenades, &newValue, sizeof(newValue), NULL);
                    int isSuccessful4 = WriteProcessMemory(hProc, (LPVOID)baseAddrMonkeyBombs, &newValue, sizeof(newValue), NULL);
                    if(isSuccessful > 0 && isSuccessful2 > 0 && isSuccessful3 > 0 && isSuccessful4 > 0) {
                        clog << "Ammo & nades hacked successfully" << endl;
                        Sleep(400);
                    } else {
                        cerr << "Cannot write memory :c" << endl;
                    }
                }
                if(GetAsyncKeyState(VK_F2)) {
                    int isSuccessful = WriteProcessMemory(hProc, (LPVOID)baseAddrPoints, &newValue, sizeof(newValue), NULL);
                    if(isSuccessful > 0) {
                        clog << "Points hacked successfully" << endl;
                        Sleep(400);
                    } else {
                        cerr << "Cannot write memory :c" << endl;
                    }
                }
                if(GetAsyncKeyState(VK_F3)) {
                    int isSuccessful = WriteProcessMemory(hProc, (LPVOID)baseAddrHealth, &newValue, sizeof(newValue), NULL);
                    if(isSuccessful > 0) {
                        clog << "Invincibility " << invincibility << endl;
                        invincibility = !invincibility;
                        if(rapidfire) {
                            timeX = 3;
                        } else {
                            timeX = 25;
                        }
                        Sleep(200);
                    } else {
                        cerr << "Cannot write memory :c" << endl;
                    }
                }
                if(GetAsyncKeyState(VK_F4)) {
                    int isSuccessful = WriteProcessMemory(hProc, (LPVOID)baseAddrRapidFire, &hurr, sizeof(hurr), NULL); // 1 byte
                    int isSuccessful2 = WriteProcessMemory(hProc, (LPVOID)baseAddrRapidFire2, &hurr, sizeof(hurr), NULL); // 1 byte
                    if(isSuccessful > 0 && isSuccessful2 > 0) {
                        clog << "Rapid Fire " << rapidfire << endl;
                        rapidfire = !rapidfire;
                        if(rapidfire) {
                            timeX = 3;
                        } else {
                            timeX = 25;
                        }
                        Sleep(200);
                    } else {
                        cerr << "Cannot write memory :c" << endl;
                    }
                }
            }
        }
    }
    return 0;
    }

  16. #14
    christian2912's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Im new to this how do I use this?

  17. #15
    AuT03x3C's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Location
    kernel32.dll
    Posts
    453
    Reputation
    11
    Thanks
    4,561
    My Mood
    Sleepy
    Quote Originally Posted by christian2912 View Post
    Im new to this how do I use this?
    Create a cpp file, open the cpp file with notepad and copy the code into it, compile it.

Page 1 of 2 12 LastLast

Similar Threads

  1. [Release] Alien Swarm Hack [infinite ammo]
    By TheAnonyMoose in forum Other First Person Shooter Hacks
    Replies: 5
    Last Post: 04-19-2014, 02:51 AM
  2. Infinite ammo Zombies online no Hacks or Programs
    By furmonk in forum Call of Duty Black OPS Tutorials
    Replies: 8
    Last Post: 01-09-2011, 01:03 PM
  3. Modern Warfare 2 Infinite Ammo and 4x XP Hack
    By SpencerXZ in forum General Hacking
    Replies: 5
    Last Post: 06-12-2010, 09:33 AM
  4. [Release] Op7 Hack Infinite ammo,And many more
    By TheBigBoy in forum Operation 7 Hacks
    Replies: 36
    Last Post: 02-14-2010, 06:30 PM
  5. HACK INFINITE AMMO
    By soratheking in forum Call of Duty Modern Warfare 2 Help
    Replies: 4
    Last Post: 02-07-2010, 09:25 AM