Results 1 to 9 of 9
  1. #1
    lala's Avatar
    Join Date
    Apr 2015
    Gender
    female
    Location
    surfing inside code
    Posts
    494
    Reputation
    57
    Thanks
    8,196
    My Mood
    Cheerful

    supply_always_top-2-15-2018

    hey hey,

    im releasing something little again.

    1 - open game and cheat as admin
    2 - in game ud see always ammo and med boxes
    3 - close after cheat is done or wait for new game then cheat start from start

    images:



    source:
    Code:
    /*
    * Copyright (C) 2018  lava
    *
    * This program is free software: you can redistribute it and/or modify
    * it under the terms of the GNU General Public License as published by
    * the Free Software Foundation, either version 3 of the License.
    *
    * This program is distributed in the hope that it will be useful,
    * but WITHOUT ANY WARRANTY; without even the implied warranty of
    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    * GNU General Public License for more details.
    *
    * You should have received a copy of the GNU General Public License
    * along with this program.  If not, see <https://www.gnu.org/licenses/>.
    */
    
    #include <windows.h>
    #include <stdio.h>
    #include <TlHelp32.h>
    
    #define size_to_scan 786
    
    unsigned long get_proc(const char *name) {
        void *snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
        PROCESSENTRY32 pe32;
        pe32.dwSize = sizeof(PROCESSENTRY32);
    
        while (Process32Next(snapshot, &pe32))
            if (strcmp(pe32.szExeFile, name) == 0)
                return pe32.th32ProcessID;
    
        return 0;
    }
    
    unsigned long get_module(unsigned long pid, const char *module_name, unsigned long *size) {
        void *snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, pid);
        MODULEENTRY32 me32;
        me32.dwSize = sizeof(MODULEENTRY32);
    
        while (Module32Next(snapshot, &me32)) {
            if (strcmp(me32.szModule, module_name) == 0) {
                printf("\n\tmodule: %s, %08X ", me32.szModule, me32.modBaseAddr);
                if (size != 0) *size = me32.modBaseSize;
                return (unsigned long)me32.modBaseAddr;
            }
        } return 0;
    }
    
    
    unsigned long search(void *handle, unsigned long start, unsigned long size, const char *bytesToSearch, unsigned long sizeToSearch, unsigned long step) {
        unsigned char bytes[size_to_scan];
        unsigned long gotCount = 0;
    
        for (unsigned long i = 0; i < size; i += size_to_scan) {
            ReadProcessMemory(handle, (PVOID)(start + i), &bytes, size_to_scan, 0);
            for (unsigned short j = 0; j < size_to_scan; j++) {
                bool failed = false;
    
                for (unsigned char k = 0; k < sizeToSearch; k++) {
                    if (*(unsigned char *)((unsigned long)&bytes + j + k) != (unsigned char)bytesToSearch[k]) {
                        failed = true;
                        break;
                    }
                }
    
                if (failed == false) {
                    gotCount++;
                    if (gotCount == step)
                        return start + i + j;
                }
            }
        } return 0;
    }
    
    
    int main() {
        // vars this func uses
        unsigned long pid; // process id
        unsigned long player_dll;
        unsigned long player_dll_size;
        void *handle;
    
        unsigned long oldProtect;
        unsigned long addr;
        bool enabling_cheat;
    
    
        // declare vars
        pid = 0;
        player_dll = 0;
        player_dll_size = 0x7FFFFFFF;
    
        oldProtect = 0;
        addr = 0;
        enabling_cheat = false;
    
        printf("||=======================================================||\n");
        printf("||          cheat for hng version 142953 QQ              ||\n");
        printf("||             show always supply boxes                  ||\n");
        printf("|| made by: lava                                         ||\n");
        printf("||=======================================================||\n");
    
        for (; get_proc("HeroesAndGeneralsDesktop.exe") != 0; ) {
            printf("searching for hng ... ");
            for (pid = 0; pid == 0; ) pid = get_proc("hng.exe");
            printf("| Done\n");
    
            printf("hook to hng ... ");
            handle = OpenProcess(PROCESS_VM_OPERATION | PROCESS_VM_READ | PROCESS_VM_WRITE, false, pid);
            if (handle) {
                printf("searching modules ... ");
                for (; player_dll == 0; Sleep(1000)) player_dll = get_module(pid, "player.dll", &player_dll_size);
                printf("<<-- Done\n");
    
                printf("searching for where tu put new code ... ");
    
                // for meds
                addr = search(handle, player_dll, player_dll_size, "\xF6\x45\xEC\x01\x0F\x84", 6, 1);
                if (addr != 0) {
                    VirtualProtectEx(handle, (void *)(addr), 10, PAGE_EXECUTE_READWRITE, (LPDWORD)&oldProtect);
                    enabling_cheat = WriteProcessMemory(handle, (void *)(addr), "\xC7\x45\xEC\x0D\x0A\x00\x00\x90\x90\x90", 10, 0);
                    VirtualProtectEx(handle, (void *)(addr), 10, oldProtect, NULL);
                } else {
                    printf("| failed\n");
                    printf("error log: already applied or cheat is out of date ... ");
                    enabling_cheat = true;
                }
    
                // for ammo
                addr = search(handle, player_dll, player_dll_size, "\xF6\x45\xEC\x01\x0F\x84", 6, 1);
                if (addr != 0) {
                    VirtualProtectEx(handle, (void *)(addr), 10, PAGE_EXECUTE_READWRITE, (LPDWORD)&oldProtect);
                    enabling_cheat = WriteProcessMemory(handle, (void *)(addr), "\xC7\x45\xEC\x0D\x0A\x00\x00\x90\x90\x90", 10, 0);
                    VirtualProtectEx(handle, (void *)(addr), 10, oldProtect, NULL);
                }
    
                
    
                if (enabling_cheat) {
                    printf("| Done\n");
    
                    printf("waiting for end game ... ");
                    for (;; Sleep(500)) {
                        // check if process is closed
                        if (get_proc("hng.exe") != 0) {
                            // proccess is still alive
                        } else {
                            printf("end of game listening new\n");
                            break;
                        }
                    }
                } else {
                    printf("| failed\n");
                    printf("error log: try again or ur out of luck\n");
                }
            } else {
                printf("| Failed\n");
                printf("error log: run cheat with admin rights\n");
            }
        }
    
        printf("bye bye\n");
        Sleep(1000);
        printf(".");
        Sleep(1000);
        printf(".");
        Sleep(1000);
        printf(".\n");
        Sleep(1000);
    
        return 0;
    }
    virus scans:
    https://virusscan.jotti.org/en-US/fi...job/kb506uosou
    https://www.virustotal.com/#/file/12...9870/detection

    <b>Downloadable Files</b> Downloadable Files
    Last edited by T-800; 06-30-2018 at 12:35 PM.

  2. The Following 26 Users Say Thank You to lala For This Useful Post:

    12prosinec (03-04-2018),aleriagwapo (03-09-2018),Asgaroth (03-15-2018),CharmingChad (04-13-2018),CraftUrToeMC (02-19-2018),dodik1337 (09-24-2018),Dtory2015 (04-02-2018),Freeholdkizw (03-06-2018),g9h007 (03-08-2018),idk123987 (02-16-2018),INsBInsane (05-25-2018),irbison (05-14-2018),Kilxstar (03-08-2018),L.Y.L (03-09-2018),LeetHacker4819234 (02-17-2018),lefthun763 (05-18-2018),miszkowaty (06-23-2018),MoneyNitch (05-19-2018),noomzuza2 (03-17-2018),OhhhReally?! (04-01-2018),oxelesss (03-08-2018),sativka (02-18-2018),shadowdoggie000 (06-21-2018),SupercoolT (04-23-2018),truemove3plus (07-12-2018),wiedzmin9999 (03-11-2018)

  3. #2
    Ally's Avatar
    Join Date
    Dec 2014
    Gender
    female
    Location
       ♥
    Posts
    8,697
    Reputation
    1610
    Thanks
    8,499
    My Mood
    Angelic
    //Approved

    Premium Member 22/4/16
    Steam Minion 22/12/2017
    OFPS Minion 5/2/2019
    MMO Minion 5/2/2019
    Minion+ 5/2/2019
    Mod 8/11/2020
    Retired 3/10/2022
    22 / Dec 7, 2001

  4. #3
    efeay's Avatar
    Join Date
    Jan 2018
    Gender
    female
    Posts
    81
    Reputation
    10
    Thanks
    2
    ud now ??????

    - - - Updated - - -

    ?????
    ??????????????????????**

    - - - Updated - - -

    can make aimbot or wh pls )))

  5. #4
    efeay's Avatar
    Join Date
    Jan 2018
    Gender
    female
    Posts
    81
    Reputation
    10
    Thanks
    2
    hey ????????????????? plsssss add more hacksss

  6. #5
    efeay's Avatar
    Join Date
    Jan 2018
    Gender
    female
    Posts
    81
    Reputation
    10
    Thanks
    2
    HEEEYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!1

  7. #6
    black606's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    0
    I have found myself in the situation of not knowing where to go to heal or collect ammunition, they even came to kill me for looking at the map like a fool, all in order to look for it, good job partner ^-^

  8. #7
    Dragzon's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Location
    Empty
    Posts
    919
    Reputation
    27
    Thanks
    110
    My Mood
    Cynical
    dont call it ''cheat'' its bullshit i just press ''M'' and i will know where i have to go /

  9. #8
    Threadstarter
    That’s right. Our weakness is
    Contributor
    Game Hacking Team
    lala's Avatar
    Join Date
    Apr 2015
    Gender
    female
    Location
    surfing inside code
    Posts
    494
    Reputation
    57
    Thanks
    8,196
    My Mood
    Cheerful
    @T-800 sorry for mentioning that much but this is also out of date

  10. #9
    T-800's Avatar
    Join Date
    Aug 2014
    Gender
    male
    Location
    Romania
    Posts
    17,076
    Reputation
    1688
    Thanks
    84,838
    Outdated, closed.

    "Never stop being a good person because of bad people"


    Super User -> 15-7-2020
    Global Moderator -> 23-3-2019 - 15-7-2020
    Steam Moderator -> 12-12-2017 - 23-3-2019
    Steam Minion+ -> 09-04-2017 - 12-12-2017
    Steam Minion -> 03-01-2017 - 09-04-2017


Similar Threads

  1. Replies: 665
    Last Post: 01-31-2019, 02:07 AM
  2. What the fuck (banned until 2018)
    By NotAlde in forum General
    Replies: 6
    Last Post: 03-20-2016, 08:06 PM
  3. [WTS] Xsplit Accounts+Premium till 2018+3 month code Premium
    By bojicha in forum Selling Accounts/Keys/Items
    Replies: 1
    Last Post: 01-29-2015, 10:21 AM
  4. [WTB] XSplit 2 Accounts worth 200$ each 3 years premium-2018/1/24 for CS:GO/H1Z1/other
    By bojicha in forum Trade Accounts/Keys/Items
    Replies: 1
    Last Post: 01-26-2015, 01:04 PM
  5. Replies: 16
    Last Post: 04-23-2014, 08:25 AM