Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Programming. | 3 guests |
Acmlm's Board - I2 Archive - Programming - C++: Global RAM viewer/editor? | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
eek2 Micro-Goomba Level: 7 Posts: 12/14 EXP: 1280 For next: 168 Since: 03-15-04 From: Cedar Point Since last post: 337 days Last activity: 337 days |
| ||
I don't even know if this is possible, nor even what to look for online when it comes to this, so I will ask here. Let's say there's a program running on my computer that uses some array or variable or something, and for whatever reason, I would like to view and edit the contents of that array during runtime from a completely separate program. I know somehow I would need to be able to read the entire RAM and then find the exact location where the program stores its variables and such, and then read/write to it from a remote program. Is that even possible to do? I don't see why it wouldn't be, but for all I know, the operating system might not allow programs to access the data of another running program, for security and safety reasons. If that's possible to do (in C++), does anyone have any ideas? |
|||
neotransotaku Baby Mario 戻れたら、 誰も気が付く Level: 87 Posts: 579/4016 EXP: 6220548 For next: 172226 Since: 03-15-04 From: Outside of Time/Space Since last post: 11 hours Last activity: 1 hour |
| ||
it's impossible to do unless you run a thread that has been created by the OS kernel. in addition, being a third party program to alter memory is extremely difficult to do since the memory address you are working with aren't the real addresses of where the memory really lies. | |||
HyperLamer <||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people Sesshomaru Tamaranian Level: 118 Posts: 658/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
I'm not sure about globally accessing RAM, but it's possible to read/write the memory a specific process uses. Use ReadProcessMemory() and WriteProcessMemory(). (I've almost got it working in VB. ) | |||
neotransotaku Baby Mario 戻れたら、 誰も気が付く Level: 87 Posts: 587/4016 EXP: 6220548 For next: 172226 Since: 03-15-04 From: Outside of Time/Space Since last post: 11 hours Last activity: 1 hour |
| ||
any process? so you can write memory into a process your program hasn't created? | |||
HyperLamer <||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people Sesshomaru Tamaranian Level: 118 Posts: 669/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
Yes, that's how things like Cheat-O-Matic work. I think it's possible to make a section private, but I've never seen it done. It's certainly not an easy task, though... |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Programming - C++: Global RAM viewer/editor? | | | |