Jump to content

PY - Anti Cheat Engine


Recommended Posts

M2 Download Center

This is the hidden content, please
( Internal )

Hi, I was bored, and I started thinking how to do so they could not use the cheat-engine on a client, well, here I come to bring you the code in python.

import os
import thread
import time

def procesoss():
	try:
		while 1 == 1:	
			Black_List = ["inyector.exe","cheatengine-x86_64.exe","ollydbg.exe","skype.exe"] # here the programs to block, you can see the full name in cmd and put "tasklist"
			for p in os.popen("tasklist"):
				procesos = p.lower()
				for sema in Black_List:
					if procesos.find(sema) != -1:
						p = procesos.split()
						os.popen("taskkill /im %s /f" % p[0])
			time.sleep(3) # wait 3 second to check again
	except:
		time.sleep(3) # wait 3 second to check again

thread.start_new_thread(procesoss, ())

I try it, and work.

 

Sorry for my bad english

Update*: I change os.system to os.popen and now you can't see the console from windows.

 

regards SeMa

  • Metin2 Dev 9
  • Not Good 1
  • Good 3
  • Love 1
  • Love 17
Link to comment
Share on other sites

  • 1 month later...
  • Premium

Realy work? I think it's the same thing.

int blockit()
{
	HWND a = FindWindowA(0, "Cheat Engine 5.1");
	HWND a1 = FindWindowA(0, "Cheat Engine 5.1.1");
	HWND a2 = FindWindowA(0, "Cheat Engine 5.2");
	HWND a3 = FindWindowA(0, "Cheat Engine 5.3");
	HWND a4 = FindWindowA(0, "Cheat Engine 5.4");
	HWND a5 = FindWindowA(0, "Cheat Engine 5.5");
	HWND a6 = FindWindowA(0, "Cheat Engine 5.6");
	HWND a7 = FindWindowA(0, "Cheat Engine 5.6.1");
	HWND a8 = FindWindowA(0, "Cheat Engine 6.0");
	HWND a9 = FindWindowA(0, "Cheat Engine 6.0");
	HWND a10 = FindWindowA(0, "Cheat Engine 6.1");
	HWND a11 = FindWindowA(0, "Cheat Engine 6.2");
	HWND b = FindWindowA(0, "OllyDbg");
	HWND b1 = FindWindowA(0, "ollydbg");
	if(a ||a1 ||a2 ||a3 ||a4 ||a5 ||a6 ||a7 ||a8 ||a9 ||a10 ||a11 ||b ||b1){
		ExitProcess(0);
		MessageBoxA(0, "FR2TEAM Error!", "", MB_OK);
	}
	DWORD processID = FindProcessId(L"cmd.exe");
	if(processID != 0){
		HANDLE handle_ulan = OpenProcess(PROCESS_TERMINATE, 0, processID);
		TerminateProcess(handle_ulan, 0);
		CloseHandle(handle_ulan);
		MessageBoxA(0, "FR2TEAM Error!", "", MB_OK);
		if(IDOK)
			ExitProcess(0);
	}
	return 0;
}
DWORD FindProcessId(const wstring& processName)
{
	PROCESSENTRY32 processInfo;
	processInfo.dwSize = sizeof(processInfo);
	HANDLE processesSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, NULL);
	if (processesSnapshot == INVALID_HANDLE_VALUE)
		return 0;
	Process32First(processesSnapshot, &processInfo);
	if (!processName.compare(processInfo.szExeFile)){
		CloseHandle(processesSnapshot);
		return processInfo.th32ProcessID;
	}
	while (Process32Next(processesSnapshot, &processInfo)){
		if (!processName.compare(processInfo.szExeFile)){
			CloseHandle(processesSnapshot);
			return processInfo.th32ProcessID;
		}
	}
	CloseHandle(processesSnapshot);
	return 0;
}
Link to comment
Share on other sites

 

Trabajar Realy? Creo que es la misma cosa.

int blockit ()
{
	HWND a = FindWindowA (0, "Cheat Engine 5.1");
	HWND a1 = FindWindowA (0, "Cheat Engine 5.1.1");
	HWND a2 = FindWindowA (0, "Cheat Engine 5.2");
	HWND a3 = FindWindowA (0, "Cheat Engine 5.3");
	HWND a4 = FindWindowA (0, "Cheat Engine 5.4");
	HWND a5 = FindWindowA (0, "Cheat Engine 5.5");
	HWND a6 = FindWindowA (0, "Cheat Engine 5.6");
	HWND a7 = FindWindowA (0, "Cheat Engine 5.6.1");
	HWND a8 = FindWindowA (0, "Cheat Engine 6.0");
	HWND a9 = FindWindowA (0, "Cheat Engine 6.0");
	HWND a10 = FindWindowA (0, "Cheat Engine 6.1");
	HWND a11 = FindWindowA (0, "Cheat Engine 6.2");
	HWND b = FindWindowA (0, "OllyDbg");
	HWND b1 = FindWindowA (0, "OllyDbg");
	if (A | | a1 | | a2 | | a3 | | a4 | | a5 | | a6 | | a7 | | a8 | | a9 | | a10 | | a11 | | b | | b1) {
		ExitProcess (0);
		MessageBoxA (0, "! FR2TEAM Error", "", MB_OK);
	}
	DWORD idProceso = FindProcessId (L "cmd.exe");
	si (idProceso! = 0) {
		MANEJAR handle_ulan = OpenProcess (PROCESS_TERMINATE, 0, idProceso);
		TerminateProcess (handle_ulan, 0);
		CloseHandle (handle_ulan);
		MessageBoxA (0, "! FR2TEAM Error", "", MB_OK);
		if (IDOK)
			ExitProcess (0);
	}
	return 0;
}
DWORD FindProcessId (const wstring y processName)
{
	PROCESSENTRY32 processInfo;
	processInfo.dwSize = sizeof (processInfo);
	MANEJAR processesSnapshot = CreateToolhelp32Snapshot (TH32CS_SNAPPROCESS, NULL);
	if (processesSnapshot == INVALID_HANDLE_VALUE)
		return 0;
	Process32First (processesSnapshot, y processInfo);
	if (! processName.compare (processInfo.szExeFile)) {
		CloseHandle (processesSnapshot);
		volver processInfo.th32ProcessID;
	}
	while (Process32Next (processesSnapshot, y processInfo)) {
		if (! processName.compare (processInfo.szExeFile)) {
			CloseHandle (processesSnapshot);
			volver processInfo.th32ProcessID;
		}
	}
	CloseHandle (processesSnapshot);
	return 0;
}

Where to put this? I am interested in putting

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 months later...

Announcements



  • Similar Content

  • Similar Content

  • Similar Content

  • Tags

  • Activity

    1. 0

      Metin2 effect script files (MSE and MSA file) how can convert

    2. 10

      Multi Language System

    3. 0

      We are looking for a C++ and Python programmer

    4. 0

      [Quest Scheduler Request] Is there a way to make a quest run independet of player events? Lets say start quest automatically at server startup?

    5. 111

      Ulthar SF V2 (TMP4 Base)

    6. 0

      Quest function when 102.kill definition whereabouts help

    7. 5

      [M2 FILTER] Customized Client Filter

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.