Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    D3v17Dy7's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    71
    Reputation
    10
    Thanks
    38
    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 09:51 AM.

  2. The Following 25 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),Cosmo_ (05-16-2015),cyborge (02-12-2016),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),mickxd (10-24-2015),nignogwoot (10-10-2016),ogdontay (07-31-2015),rafael tenedini123 (07-15-2015),RANZZRATTE (03-28-2016),Slenderman443 (05-28-2016),thaina (02-10-2016),theunknownman (05-17-2015),TicTak82 (06-14-2015),troy192 (10-19-2015)

  3. #2
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,674
    Reputation
    905
    Thanks
    18,541
    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),[MPGH]Eithan1231 (05-16-2015)

  5. #3
    akim14's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    853
    Reputation
    281
    Thanks
    4,997
    My Mood
    Doh
    Approved, post back results

    MPGH Member since 21/10/2009
    CoD section Minion since 1/22/2015
    GTA section Minion since 7/15/2015
    Minion+ since 1/27/2016
    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
    71
    Reputation
    10
    Thanks
    38
    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,674
    Reputation
    905
    Thanks
    18,541
    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
    71
    Reputation
    10
    Thanks
    38
    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,674
    Reputation
    905
    Thanks
    18,541
    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
    146
    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
    71
    Reputation
    10
    Thanks
    38
    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
    146
    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
    71
    Reputation
    10
    Thanks
    38
    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
    71
    Reputation
    10
    Thanks
    38
    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
    456
    Reputation
    11
    Thanks
    3,956
    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, 03: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, 02: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, 10: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, 07:30 PM
  5. HACK INFINITE AMMO
    By soratheking in forum Call of Duty Modern Warfare 2 Help
    Replies: 4
    Last Post: 02-07-2010, 10:25 AM