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 › ReadProcessMemory

ReadProcessMemory

Posts 16–18 of 18 · Page 2 of 2
cnttuchme
cnttuchme
Yes that is windows.. its from the book im reading.
I love to take it to highschool and people think im reading about how to get c's in highschool
#16 · 16y ago
SI
simondaking
This is a little late but I'm currently writing a memory scanner, a very simple one that I'll integrate into some of my cheat programs.

zeco was on to the right idea about reading small parts in at a time. I hope this gives you a little food for thought.

Enjoy...

Code:
vector<DWORD> scan_vec;

void ScanMemory(DWORD dwValue)
{
    DWORD dwBuffer[1024]; 
    DWORD dwMax = 0x7FFFEFFF;
    DWORD dwAddr = 0x400000;
    DWORD dwFound;

    scan_vec.clear();
   
    while(dwAddr < dwMax)
    {
        ReadProcessMemory(hProcess, (void*)dwAddr, &dwBuffer, 4096, NULL);

        for(int i=0; i<1024; ++i)
        {
            if(dwValue == dwBufferr[i])
            {
                dwFound = dwAddr + i*4;              
                scan_vec.push_back(dwFound);
            }
        }

       dwAddr += 4096;
    } 
}
#17 · 16y ago
why06
why06
Very late, Im going to have to close this. Normally I would ban for bumping as well, but seeing as you contributed something nice I won't, but try not to bump ancient threads man. =/
#18 · 16y ago
Posts 16–18 of 18 · Page 2 of 2

Post a Reply

Similar Threads

  • ReadProcessMemoryBy aanthonyz in C++/C Programming
    27Last post 10y ago
  • Write/ReadProcessMemory errorsBy Dragonion in General Game Hacking
    0Last post 18y ago
  • C# WriteProcessMemory/ReadProcessMemoryBy Kantanomo in C# Programming
    10Last post 14y ago
  • ReadProcessMemory - Read 8 byte [solved]By pyton789 in Visual Basic Programming
    7Last post 14y ago

Tags for this Thread

#readprocessmemory