#include <windows.h>
bool ESP;
void main ()
{
DWORD * = Ptr ( PDWORD ) 0x0;
if (ESP)
* ( PBYTE ) (Ptr + 0x0) = 1;
else
* ( PBYTE ) (Ptr + 0x0) = 0;
}
void Init ()
{
while (1)
{
if (GetAsyncKeyState ( VK_INSERT ) & 1)
ESP =! ESP;
Main ();
Sleep (100);
}
}
BOOL WINAPI DllMain ( HMODULE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if (dwReason == DLL_PROCESS_ATTACH ) {
CreateThread (0,0, ( LPTHREAD_START_ROUTINE ) Init, 0,0,0);
}
return 1;
}
- - - Updated - - -
where is the offset in this source?
- - - Updated - - -
is the new offset 0x64?
But when i inject the dll my blackshot crashes
- - - Updated - - -
if anyone got the offset please share