[INTERNAL]C++ How to Read/Write Process Memory Tutorial

  Рет қаралды 2,032

TreckStrend

TreckStrend

Күн бұрын

This is a follow up on my first tutorial I made a week ago, I figured id make one more to end it off. This should be uploaded today, 3/12/20. at 3:20pm.
This is an add-on to the previous code, whats different is that the code functions to read/write process memory. Also includes functions to read the module you are targeting for.
Credits to GuidedHacking for the GetPROCID, GetModuleBaseAddress, and FindDMAAddy functions.
Github source code:
github.com/sFI...

Пікірлер: 10
@gmddolbaeb2191
@gmddolbaeb2191 2 жыл бұрын
is it working on x86?
@TreckStrend
@TreckStrend 2 жыл бұрын
Yes just set project to x86 and make sure the process is x86 before injecting
@yeetmcyeeter1263
@yeetmcyeeter1263 4 жыл бұрын
im reporting you to the it support in india
@TreckStrend
@TreckStrend 4 жыл бұрын
Please dont
@sowiet1444
@sowiet1444 3 жыл бұрын
lol its not internal its external
@TreckStrend
@TreckStrend 3 жыл бұрын
No it is internal code, I just wasnt using winapi for a dll project, I only wanted to point across the code I used for grabbing the main processe through a DLL injection.
@Japrajah
@Japrajah 3 жыл бұрын
@@TreckStrend u know how to use *reinterpret_cast(ModuleBase + 0x0027A6F0) = 123; i want write 1 byte but i don't know how to do that without external ReadProcessMemory bullshit . To use ReadProcessMemory i can use c# and this realy easy .
@TreckStrend
@TreckStrend 3 жыл бұрын
@@Japrajah I'm not familiar with C# but using internal code doesn't require you to call readprocessmemory since you already have a handle to the process by injecting the dll, I had used RPM calls in the video since I wasnt coding with winapi which is necessary for a dll compile. And what are you trying to say? Are you having trouble getting the Module Base Address? Maybe cast to a byte* instead of int*
@Japrajah
@Japrajah 3 жыл бұрын
@@TreckStrend yes im stupid uintptr_t ModuleBase = reinterpret_cast(GetModuleHandle(TEXT("game.dll"))); uintptr_t RandomVoid = ModuleBase + 0x12345; ... ... byte* ret = reinterpret_cast(cheat::RandomVoid); *ret = 0xC3;
@TreckStrend
@TreckStrend 3 жыл бұрын
@@Japrajah why must you reinterpret cast for? Just cast the module base address from the get go. Ex. (BYTE*)ModuleBaseAddr+0x123, in C++ it will do the conversion from there and return a byte* no need for reinterpret
How To Find Offsets, Entity Addresses & Pointers
22:46
Guided Hacking
Рет қаралды 334 М.
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 58 МЛН
Un coup venu de l’espace 😂😂😂
00:19
Nicocapone
Рет қаралды 11 МЛН
you will never ask about pointers again after watching this video
8:03
How I Would Learn To Code (If I Could Start Over)
13:43
Namanh Kapur
Рет қаралды 7 МЛН
Learn Reverse Engineering (for hacking games)
7:26
cazz
Рет қаралды 1,1 МЛН
C++ Libraries For Beginners
6:12
Michael Forest
Рет қаралды 155 М.
Learning C# In A Week... Otherwise I Fail University
9:04
How A Steam Bug Deleted Someone’s Entire PC
11:49
Kevin Fang
Рет қаралды 1 МЛН
Hacking a game with DLL injection [Game Hacking 101]
10:58
WHY IS THE HEAP SO SLOW?
17:53
Core Dumped
Рет қаралды 246 М.
Blueprints vs. C++: How They Fit Together and Why You Should Use Both
47:14
Every Programming Language Ever Explained in 15 Minutes
15:29
Flash Bytes
Рет қаралды 341 М.