#include "stdafx.h"
#include <fstream>
#include <string>
#include <shellapi.h>
void cikisstring()
{
exit(0);
TerminateProcess(GetCurrentProcess(), 0);
}
void TxtCheckWindow()
{
POINT p;
HWND DebugerFound = 0;
for (int qy = 0; qy < 100; qy++)
{
for (int qx = 0; qx < 100; qx++)
{
p.x = qx * 20;
p.y = qy * 20;
DebugerFound = WindowFromPoint(p);
char t[255];
GetWindowTextA(DebugerFound, t, 225);
if (
strstr(t, "wpe pro") ||
strstr(t, "musicinstructor") ||
strstr(t, "Python Modules") ||
strstr(t, "LevelBot") ||
strstr(t, "Level Bot") ||
strstr(t, "3 Saniye içinde PVP'ye geçin") ||
strstr(t, "ERCİYESLİM") ||
strstr(t, "M2 PVP : Yardımcı Trainer") ||
strstr(t, "LAG YAP") ||
strstr(t, "Ultmate x") ||
strstr(t, "Yaşıyor/Ölü") ||
strstr(t, "Böylelikle kimse oyununu normal şekilde") ||
strstr(t, "wpe-pro.spt") ||
strstr(t, "wpepro") ||
strstr(t, "Bot") ||
strstr(t, "AutoIt") ||
strstr(t, "timer_inject") ||
strstr(t, "c_injectClick") ||
strstr(t, "prodamage") ||
strstr(t, "cmd.exe") ||
strstr(t, "CMD.exe") ||
strstr(t, "Module loaded!") ||
strstr(t, "Process") ||
strstr(t, "Kernel Module") ||
strstr(t, "Kernel Module") ||
strstr(t, "Okcu Hilesi") ||
strstr(t, "Okçu Hack") ||
strstr(t, "Saldırı Hızı") ||
strstr(t, "Hareket Hızı") ||
strstr(t, "Okçu Hack") ||
strstr(t, "Level Bot") ||
strstr(t, "Balık Botu") ||
strstr(t, "Auto Damage") ||
strstr(t, "Auto Damage on Attack") ||
strstr(t, "PC Hunter 32 BİT.exe") ||
strstr(t, "PC Hunter 64 BİT.exe") ||
strstr(t, "Chestille Metin2 PvP Bot") ||
strstr(t, "Spambot") ||
strstr(t, "Wallhack") ||
strstr(t, "Zoom hack") ||
strstr(t, "Metin2 Hack v128") ||
strstr(t, "IrcRest Python Loader") ||
strstr(t, "M2Bob") ||
strstr(t, "m2bob") ||
strstr(t, "M2BOB") ||
strstr(t, "M2-BOB") ||
strstr(t, "m2-bob") ||
strstr(t, "M2-Bob"))
{
unsigned char * hack = (unsigned char*)GetProcAddress(GetModuleHandleA("kernel32.dll"), "OpenProcess");
if (*(hack + 6) == 0xEA)
{
}
else
{
{
using namespace std;
fstream textfile;
textfile.open("log_security.txt", ios::out | ios::app);
textfile << "----------------------------------------------------------------- " << endl;
textfile << " - Koruma : " << t << " - Detected // Detected." << endl;
textfile << " - Koruma : " << "Game Close. // The game is closing." << endl;
ShellExecuteA(NULL, "open", "log_security.txt", NULL, NULL, SW_SHOWNORMAL);
exit(0);
TerminateProcess(GetCurrentProcess(), 0);
}
}
}
}
}
}
void Mmotutkunları_String()
{
again:
TxtCheckWindow();
Sleep(3000);
goto again;
}
void Mmotutkunları__Anti_String()
{
CreateThread(NULL, NULL, LPTHREAD_START_ROUTINE(Mmotutkunları_String), NULL, 0, 0);
}