Categories > Coding > C++ >

Issue with luavm_load address.

Posts: 12

Threads: 3

Joined: Jun, 2023

Reputation: 0

Posted

Hello, I'm new on WeAreDevs but I've read other threads in the past. I am a scripter and exploiter so I decided to make my own DLL. I made an account on WRD because of this issue I had.

 

So, I think I got the correct address for luavm_load but I have some weird issue happening, everytime I inject (and execute a script) I get a 268 error. This is really weird since it had never happened to me and I don't know what to do, I think I followed the same steps I followed the last time I did it, I searched for the "oldResult, moduleRef = ..." string and double clicked the first cross reference, then went to the third call as I had done in the past and copied the address:

 

I believe this address is correct since I don't crash when the script is executed, instead, I instantly get kicked with a 268 error.

 

uintptr_t processBase = (uintptr_t)GetModuleHandleA(nullptr);

 

auto luavm_load = reinterpret_cast<uintptr_t(__fastcall*)(uintptr_t rl, std::string * source, const char* chunk, int env)>(processBase + 0x55D430);

 

This is my function, thanks for your help beforehand, any help is appreciated.

  • 0

Added

I fixed it lol

  • 0

I am a scripter and exploiter that has recently started developing DLLs and learning reverse engineering.

Users viewing this thread:

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