View previous topic :: View next topic |
Author |
Message |
lucaskrong How do I cheat?
Reputation: 0
Joined: 06 Dec 2015 Posts: 2
|
Posted: Sun Dec 06, 2015 9:01 am Post subject: Find end address |
|
|
Hey.
I need find END address of the module Gunz.exe
How can i do it?
Look at screenshot
I find :
Gunz.exe+41FFFE - FF 15 6C823101 - call dword ptr [Gunz.exe+46826C]
Gunz.exe+42FFEE - C7 85 B8FDFFFF 01000000 - mov [ebp-00000248],00000001
Gunz.exe+430000 - 89 9D E8FDFFFF - mov [ebp-00000218],ebx
Gunz.exe+440000 - 8B 77 08 - mov esi,[edi+08]
But i never get the end, its like infinite
Thank you!
Description: |
|
Filesize: |
70.24 KB |
Viewed: |
6444 Time(s) |

|
Description: |
|
Filesize: |
70.24 KB |
Viewed: |
6444 Time(s) |

|
|
|
Back to top |
|
 |
panraven Grandmaster Cheater
Reputation: 62
Joined: 01 Oct 2008 Posts: 958
|
Posted: Sun Dec 06, 2015 9:28 am Post subject: |
|
|
In Lua,
this give a module's size Code: |
local ModuleBaseAddress='cheatengine-x86_64.exe'
getModuleSize(ModuleBaseAddress) |
The end Address can then be calculated as
Code: | -- ModuleBaseAddress + ModuleSize
getAddress(ModuleBaseAddress)+getModuleSize(ModuleBaseAddress) |
The getModuleSize return nil (Lua value means 'nothing') if the input address is not within any module's address range.
The address form "ABC.exe+123458" not necessary within module ABC.exe's address range, may be in another module or non-module.
bye~
ADDED:
In memory view, menus: Tool>Dissect PE Header
Click the module in the list box ,
and cllick the [info] beside the base address,
the PE info will show on right panel.
The 'size of image' should be module size as above.
_________________
- Retarded.
Last edited by panraven on Sun Dec 06, 2015 9:47 am; edited 1 time in total |
|
Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sun Dec 06, 2015 9:42 am Post subject: |
|
|
Table > Show Cheat Table Lua Script (Ctrl+Alt+L)
Code: | local module = "Gunz.exe"
local address = getAddress(module)
print(string.format("%X",address))
local size = getModuleSize(module)
print(string.format("%X",size))
print(string.format("%X",address+size)) |
edit: Awe, panraven beat me.
|
|
Back to top |
|
 |
lucaskrong How do I cheat?
Reputation: 0
Joined: 06 Dec 2015 Posts: 2
|
Posted: Sun Dec 06, 2015 11:34 am Post subject: |
|
|
Thank you guys!
|
|
Back to top |
|
 |
|