Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › C++/C Programming › (help) New C++

Question(help) New C++

Posts 1–8 of 8 · Page 1 of 1
SU
superHackz
(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
#1 · edited 18y ago · 18y ago
SU
superHackz
NEVER MIND!!!
#2 · 18y ago
K1
k1ntar0
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.
#3 · 18y ago
SU
superHackz
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....
#4 · 18y ago
Toymaker
Toymaker
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";

}
#5 · 18y ago
OI
oilu
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.
#6 · 18y ago
Sp4rt4n
Sp4rt4n
i is very confused!!!!!
#7 · 18y ago
Kung Fu Penguin31
Kung Fu Penguin31
if you want to learn more just buy yourself a good book on c++
#8 · 18y ago
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

  • Help! New Trainer!By condor01 in WarRock - International Hacks
    6Last post 19y ago
  • Project 16 (im new to hacking and need help)By FlameDragon in WarRock - International Hacks
    21Last post 19y ago
  • Hi all! I'm New...can somebody help meBy test in Hack Requests
    12Last post 19y ago
  • help for NEW KOREAN TRAINERBy XqwertyX in WarRock Korea Hacks
    26Last post 19y ago
  • prob with new trainer - HELP NEEDED-By XqwertyX in WarRock Korea Hacks
    12Last post 19y ago

Tags for this Thread

None