FreeER Grandmaster Cheater Supreme Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Fri Aug 04, 2017 9:32 am Post subject: |
|
|
Here's the pointer for the first step of the tutorial (well step 2 since the first is just clicking next lol)
To use it in lua you could use: writeInteger("[Tutorial-i386.exe+1FD5D0]+480", 300)
like this:
You can also use getAddress to get the address as a number that you can manipulate with math (eg. + 4 instead of concatenating 4 into the string address)
if you had multiple offsets then you just add multiple [] to denote reading the address eg. you have the base address BA and the hex offsets 4, 8, 16, 32 you'd use
local addr = "[[[[BA]+4]+8]+16]+32"
or if you really want to you can manually follow the path with something like
Code: | -- lua uses decimal numbers so if you want hex you need to use 0x
local offsets = {0x4,0x8,0x16,0x32}
local addr = "BA"
for k,v in ipairs(offsets) do
addr = readPointer(addr) + v
end
|
example on step 8
celua.txt wrote: | readPointer(address): In a 64-bit target this equals readQword, in a 32-bit target readInteger() |
|
|