+ 1

Can I Dump data from RAM?

I wants to dump data from RAM using C programming language. And I also wants to use custom memory address in pointer. Can I do that? I think I can. But don't know how I can.

5th Nov 2020, 4:13 AM
🌀 Shail Murtaza شعیل مرتضیٰ
🌀 Shail Murtaza شعیل مرتضیٰ - avatar
6 Respostas
+ 3
You likely won't be able to dump data from the RAM, at least not a significant amount. The OS manages the virtual address space for each program and kills it when it accesses memory it doesn't own. Linux is very strict with this and you'll instantly receive a segmentation fault while Windows might take a bit longer to kill your program.
5th Nov 2020, 7:14 AM
Aaron Eberhardt
Aaron Eberhardt - avatar
+ 3
Yo! Martin Taylor Aaron Eberhardt I know that modern OS assign a virtual memory space to every program which runs. But what about Windows XP ?? Does Windows XP also assign memory space to programs ??? And, Will this program work in XP or DOS or any other OS ??? And what about use of USB as RAM in Windows, can I do something within it ??? https://code.sololearn.com/cy64Ffx1k6AP/?ref=app
5th Jan 2021, 10:52 AM
🌀 Shail Murtaza شعیل مرتضیٰ
🌀 Shail Murtaza شعیل مرتضیٰ - avatar
+ 2
It looks like I will have to study very much more to do that. 😅😄😅😄
5th Nov 2020, 3:31 PM
🌀 Shail Murtaza شعیل مرتضیٰ
🌀 Shail Murtaza شعیل مرتضیٰ - avatar
+ 2
Shail Murtaza I guess Windows XP can be counted as a modern OS, even Windows 10 still has many components from the NT kernel in XP. Actually virtual address spaces dates back to very early Windows versions. Maybe you program will "work" in old DOS versions but probably not in Windows except for very early versions. I don't know about using USB as RAM in Windows but it's definitely possible with Linux. But even if it's possible it's so slow that your PC will become unusable.
5th Jan 2021, 2:04 PM
Aaron Eberhardt
Aaron Eberhardt - avatar
+ 1
Aaron Eberhardt I have program named "Cheat Engine" which can do it. I also can change values of program in RAM. It is written in Object Pascal and C programming language.
5th Nov 2020, 12:29 PM
🌀 Shail Murtaza شعیل مرتضیٰ
🌀 Shail Murtaza شعیل مرتضیٰ - avatar
0
Shail Murtaza that's right, I forgot that Windows seems to have that possibility for some reason... which of course is a huge security nightmare. I'm pretty sure Linux always prevents such behaviour.
5th Nov 2020, 1:02 PM
Aaron Eberhardt
Aaron Eberhardt - avatar