- Joined
- Sep 13, 2012
- Messages
- 98
- Reaction score
- 46
PHP:
#include <windows.h>
#include <iostream>
#include "base64.h"
using namespace std;
DWORD _stdcall BlockAutoIT(LPVOID Block) {
SetThreadPriority(GetCurrentThread(), 0x00010000);
string encrypt = ("QXV0b0l0IHYz");
string pWindow = base64_decode(encrypt);
repeat:
if(FindWindow(pWindow.c_str(), NULL))
{
BlockInput( TRUE );
SleepEx(1000, false);
typedef LPDWORD (NTAPI *_RlExitUserProcess)(HANDLE , LPDWORD ); _RlExitUserProcess RlExitUserProcess; RlExitUserProcess = (_RlExitUserProcess)::GetProcAddress(GetModuleHandle("ntdll.dll"), "RtlExitUserProcess"); RlExitUserProcess(GetCurrentProcess(),false);
}
Sleep(150);
goto repeat;
}
Create thread:
PHP:
CreateThread(0,0, &BlockAutoIT, 0,0,0);
This helps block many shotbot =)
by Me

