cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Reading data from memory that's being us
Reading data from memory that's being used by another program.
Aug 26, 2011 at 12:00pm UTC
Theo Paphitis
(9)
Is it possible to read data that's being stored in memory from another program?
If I'm correct isn't this how game hacks work? (Never used/written one only read up about it).
Aug 26, 2011 at 12:08pm UTC
Athar
(4466)
Yes, it depends on the OS. It can be done with ReadProcessMemory on Windows and by reading from /proc/pid/mem (or using ptrace) on Linux.
You have to be admin/root to do this, though.
Last edited on
Aug 26, 2011 at 12:12pm UTC
Topic archived. No new replies allowed.