Jump to content

Question

Posted

Hello guys (◔‿◔)

I am bit confused with something so look at this and if you can help me.

0x7585CF7008 -- its an address that contain value 507,196,847,712Q or (761749B660 in hex)

i want to create a script that take the value 761749B660 (hex value) and
use it in next step as address (goto adress function).

thanks in advance (. ❛ ᴗ ❛.)

9 answers to this question

Recommended Posts

  • 0
Posted
On 4/13/2021 at 3:14 PM, Rajeeb said:

Hello guys (◔‿◔)

I am bit confused with something so look at this and if you can help me.

0x7585CF7008 -- its an address that contain value 507,196,847,712Q or (761749B660 in hex)

i want to create a script that take the value 761749B660 (hex value) and
use it in next step as address (goto adress function).

thanks in advance (. ❛ ᴗ ❛.)

Notice that address need to be statics if you want to do this

  • 0
Posted
3 hours ago, MAARS said:

Notice that address need to be statics if you want to do this

Which one?

 

If you talking about 0x7585CF7008 this, it's not a fixed address but I can easily get that.

 

Ex. I searched value 6969 I got one result and the address is 0x585CF7000 and if I add +0x8 I can easily get that desired address.

 

But the problem is how I can convert that addresses value to hex.

 

Normally we do 

 

gg.searchNumber("6969" , gg.TYPE_DWORD)

p = gg.getResults(1) 

local q = {}

q[1] = {}

q[1].address = p[1].address + 8

q[1].flags = 32 -- (32 = QWORD)

gg.setValues(q)

end

 

but how i can copy the hex value of this address and use it for next search as goto address

  • 0
Posted

you only need the address for that, and after you use goto any other action require user interaction

[added 2 minutes later]

and hex value cant be saved to list items , only DWORD, QWORD, BYTE, FLOAT, XOR, WORD

 

  • 0
Posted
5 hours ago, Rajeeb said:

but how i can copy the hex value of this address and use it for next search as goto address

why you really need the value in Hex notation ? if you already got your value you can get any value around using this address + offset, no need hex notation in this case

  • 0
Posted
1 hour ago, MAARS said:

why you really need the value in Hex notation ? if you already got your value you can get any value around using this address + offset, no need hex notation in this case

I am trying to restore a pointer. If you know how pointer works then maybe you can understand what I am trying for. 

Don't talk about chainer.lua it's too complicated so I am trying for a simple way.

[added 0 minutes later]
1 hour ago, MAARS said:

you only need the address for that, and after you use goto any other action require user interaction

[added 2 minutes later]

and hex value cant be saved to list items , only DWORD, QWORD, BYTE, FLOAT, XOR, WORD

 

That's my main problem :,-)

  • 0
Posted
On 4/13/2021 at 4:14 PM, Rajeeb said:

i want to create a script that take the value 761749B660 (hex value) and
use it in next step as address (goto adress function).

Then just use "value" field of one structure as "address" field of other structure. For example: 

local ptr = {{address = 0x11223348, flags = gg.TYPE_QWORD}}
ptr = gg.getValues(ptr) -- Getting value of a pointer
local val = {{address = ptr[1].value, flags = gg.TYPE_DWORD}} -- Using pointer value as address
val = gg.getValues(val)
print("Pointer at address " .. ptr[1].address .. " points to the value " .. val[1].value .. " at address " .. val[1].address)
  • 0
Posted
10 hours ago, CmP said:

Then just use "value" field of one structure as "address" field of other structure. For example: 


local ptr = {{address = 0x11223348, flags = gg.TYPE_QWORD}}
ptr = gg.getValues(ptr) -- Getting value of a pointer
local val = {{address = ptr[1].value, flags = gg.TYPE_DWORD}} -- Using pointer value as address
val = gg.getValues(val)
print("Pointer at address " .. ptr[1].address .. " points to the value " .. val[1].value .. " at address " .. val[1].address)

Not working (+_+)

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
×
×
  • 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.