ѕeмa™ 308 Posted February 28, 2014 Share Posted February 28, 2014 M2 Download Center This is the hidden content, please Sign In or Sign Up ( 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 10 1 3 1 18 https://m2admin.net/ Link to comment Share on other sites More sharing options...
Denis 1474 Posted March 1, 2014 Share Posted March 1, 2014 This can be easily bypassed,just rename the process name and it will works. 2 Link to comment Share on other sites More sharing options...
Aveline™ 554 Posted March 1, 2014 Share Posted March 1, 2014 I agree Denic Cikiec. You can make with use to c# or c++. Regards. 1 Plain logic saves lives. Link to comment Share on other sites More sharing options...
niiceone 4 Posted April 28, 2014 Share Posted April 28, 2014 in which file i should add this? game.py? prototype.py? Link to comment Share on other sites More sharing options...
Management Karbust 4884 Posted April 29, 2014 Management Share Posted April 29, 2014 I do this: create a file antihack.py with this content put them on root at logininfo.py put import antihack at game.py put import antihack I do this and work perfectly sry for my english Link to comment Share on other sites More sharing options...
Stefan 92 Posted April 29, 2014 Share Posted April 29, 2014 Why did you block Skype? 4 Link to comment Share on other sites More sharing options...
Premium F'Corono' 14 Posted April 29, 2014 Premium Share Posted April 29, 2014 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 More sharing options...
Tacticus 73 Posted April 29, 2014 Share Posted April 29, 2014 ye why block skype? 1 Link to comment Share on other sites More sharing options...
Shichirojii 8 Posted April 29, 2014 Share Posted April 29, 2014 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 More sharing options...
RoxaLyssa 310 Posted April 29, 2014 Share Posted April 29, 2014 Why did you block Skype? For the greatest enjoyment he doesn't allow the players chatting on skype while gaming 4 Link to comment Share on other sites More sharing options...
ѕeмa™ 308 Posted April 29, 2014 Author Share Posted April 29, 2014 skype.exe is a example... xd https://m2admin.net/ Link to comment Share on other sites More sharing options...
Stefan 92 Posted April 29, 2014 Share Posted April 29, 2014 Maybe for cheating on OX contest Anyway its just simple protection:P there are more tools like CE so you have to list them all and have no sure that you blocked them all Link to comment Share on other sites More sharing options...
Shichirojii 8 Posted May 20, 2014 Share Posted May 20, 2014 In which file has to be put import? Edit: Solved Link to comment Share on other sites More sharing options...
Cilindro 14 Posted May 27, 2014 Share Posted May 27, 2014 and what can i use for bock m2bob ? Link to comment Share on other sites More sharing options...
terrorr 15 Posted August 23, 2014 Share Posted August 23, 2014 It's shit because you can just rename OlyDbg.exe for LoL.exe and normaly work:/ Link to comment Share on other sites More sharing options...
Recommended Posts