Categories > Coding > C++ >
How do I execute addresses?
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);
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
Cancel
Post
Replied
Got print working, but how do I run luavm_load? 0x72A2A0 is the addy right?
Cancel
Post
Replied
I don't fully understand what you are referring to.
Do your addresses not work properly?
Cancel
Post
hecker dude ngl i hecked 5 ips in 1 second also luaU_loadbiglongjuicythingy(rL);
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post