PHP Code:
#include <string>
#include "windows.h"
#include <stdio.h>
#define NSC 0x00FF12E0
void Start();
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ulReason, LPVOID lpReserved) {
if (ulReason == DLL_PROCESS_ATTACH) {
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Start, 0, 0, 0);
}
return true;
}
void Start() {
while (1) {
if (GetKeyState(0x7A) < 0) {
*(DWORD*)NSC = 1;
}
if (GetKeyState(0x7B) < 0) {
*(DWORD*)NSC = 0;
}
Sleep(1);
}
}