Categories > Coding > C++ >

Getting Lua State Offset in IDA Pro

Posts: 11

Threads: 1

Joined: Dec, 2020

Reputation: 0

Replied

oops sry for the triple post, i didn't realise there was a next page. I am sooo sry

  • 0

0x90

dingleberry#2286

vip

Posts: 248

Threads: 26

Joined: Dec, 2020

Reputation: 27

Replied

@Moon This isn't lua... It's C++ reversing, it belongs in C++ section. 

  • 0

Added

@MaximusExploit Nah it's a common misunderstanding. Basically there are certain portions of memory that're hashed, and memcheck makes sure they aren't modified put simply. You can still read memory, and you can still write it in those sections, but if you write without a bypass you need to change it back fast enough to not get detected.

  • 0

Added

@_realnickk What... Why would you do that, that isn't even how a detour works, you're just feeding him wrong info.... 

A gettop hook is bad because it can provide states that aren't the clientstate. You can be getting a thread for some random connection for all you know. You're better off getting scriptcontext from datamodel, or just getting it directly, then from there you can grab a pointer to the client state.

  • 0

Posts: 867

Threads: 34

Joined: Aug, 2020

Reputation: 6

Replied

@0x90 Alright thanks for informing me.

 

iq goes +1

  • 0

Posts: 11

Threads: 1

Joined: Dec, 2020

Reputation: 0

Replied

@0x90

Do you know the current lua offset? or a way to get it easily?

  • 0

Prev

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )