Jump to content
  • 0

Reverse of memory dump.


Daisy123
 Share

Question

Hello everyone. I knew that gg have dumpmemory feature which can copy content of a memory region to a binary file. I wonder if there are any way for copy a binary file to a region of memory. Is is possible to write a lua script with can do this? Thank you very much.
 

b44a40b7f92840500ec5e0b782cd8232.png

Link to comment
Share on other sites

Recommended Posts

  • 0
11 minutes ago, Enyby said:

Usually dumped data divided to 4096 because dumped by memory pages which 4096 bytes size.

data:byte() is shortcut for string.byte. Obviously string.long not exists. Read lua reference about string.byte.

you need build qword or dword yourself from bytes. Maybe it be slower rather than byte - IDK. you need test it if speed of byte solution not suit you.

Thank you very much. I think this speed is enough for me. I know more about lua script and GG because of your help. I hope this script will useful with other people.

[added 1 minute later]

reverse_dump.lua

Link to comment
Share on other sites

  • 0
9 hours ago, Enyby said:

Usually dumped data divided to 4096 because dumped by memory pages which 4096 bytes size.

data:byte() is shortcut for string.byte. Obviously string.long not exists. Read lua reference about string.byte.

you need build qword or dword yourself from bytes. Maybe it be slower rather than byte - IDK. you need test it if speed of byte solution not suit you.

ENYBY i read from here ...  in a unity game there were a special memory range (which wont change) allocated for Assembly-CSharp.dll. , my question is gamegfuardian can read this by atach the process?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.