Categories > Coding > C++ >

How do I execute addresses?

Posts: 10

Threads: 5

Joined: Feb, 2023

Reputation: 0

Posted

So I know how to get the addies, but I don't know how to exec them. I know this sounds weird

When I run this code, it says memory access violation

 

Code: 

load luavn_load = (load)(lvm_loada);
r_taskdefer_t tdefer = (r_taskdefer_t)(tdefera);
_getstate gstate = (_getstate)(getstatea);
rbx_getscheduler getsch = (rbx_getscheduler)(scanner::gettasksched());
const auto print = reinterpret_cast<void(__fastcall*)(std::uint8_t, const char*, ...)>(reinterpret_cast<std::uintptr_t>(GetModuleHandle(nullptr)) + scanner::getprint());

print(0, "hey");

scheduler_t s(getsch());
int idk = 0;

lua_State* rL = (lua_State*)Deobfuscation::luastate(s.get_script_context());

luavn_load((UINT)rL, &comp, "", 0);
tdefer((UINT)rL);
  • 0

Posts: 24

Threads: 0

Joined: Dec, 2022

Reputation: 5

Replied

Your scanner may be returning an address that's not rebased to 0, print is also __cdecl convention

Try using the current print address instead of scanning at runtime and see if it works: 0xC570C0 rebase 0

  • 0

Posts: 10

Threads: 5

Joined: Feb, 2023

Reputation: 0

Replied

Got print working, but how do I run luavm_load?  0x72A2A0 is the addy right?

  • 0

heckerdude

heckerdude

Posts: 121

Threads: 16

Joined: Aug, 2022

Reputation: 6

Replied

I don't fully understand what you are referring to.

 

Do your addresses not work properly?

  • 0

hecker dude ngl i hecked 5 ips in 1 second also luaU_loadbiglongjuicythingy(rL);

Users viewing this thread:

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