Categories > Coding > C++ >

[QUESTION] How to turn a printsploit into a exploit

Posts: 1

Threads: 1

Joined: Sep, 2024

Reputation: 0

Posted

#include <Windows.h>

#include "pch.h"

 

const uintptr_t Roblox = reinterpret_cast<uintptr_t>(GetModuleHandleA(NULL));
uintptr_t PrintAddr = Roblox +0x0;

typedef int(__cdecl* print_func)(int, const char*, ...);
print_func print = (print_func)(PrintAddr);

BOOL WINAPI DllMain(HINSTANCE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
    if (ul_reason_for_call == DLL_PROCESS_ATTACH)
    {
        print(0, "Injected");
    }
    return TRUE;
}

 

I have this Script which works with the correct offset (I have it) I also have a injector that Bypasses so it really runs But I dont know How to give it more abilitys beside sprint Like really execute lua scripts can sonebody help me I Only want to enter the lua scripts into console just the Basic stuff nothing complicated. Thank you

  • 1

Users viewing this thread:

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