Register for your free account! | Forgot your password?

Go Back   elitepvpers > Metin2 > Metin2 Main - Discussions / Questions
You last visited: Today at 19:01

  • Please register to post and access all features, it's quick, easy and FREE!


[Low Protection]Metin2 Client "locale.py" CHECK PROCESS LIKE ENIGMA PROTECTOR

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2010
Posts: 43
Received Thanks: 14
[Low Protection]Metin2 Client "locale.py" CHECK PROCESS LIKE ENIGMA PROTECTOR

Hi guys, i made a low protection of clients, it's not bad.

The code:

Add these on locale.py at the beginning of file:

[latest update protection]

Code:
import os
import time
import thread

def Start_Protection():
	thread.start_new_thread(Check_Banned_Extension, ())
	thread.start_new_thread(Process_Validate, ())

def Check_Banned_Extension():
	check=' '.join(os.listdir(os.getcwd()))
	check_miles=' '.join(os.listdir(os.getcwd()+"\\miles"))
	banned_ext=[".mix", ".m3d", ".flt", ".asi"]
	miles_clean=["mssa3d.m3d", "mssds3d.m3d", "mssdsp.flt", "mssdx7.m3d", "msseax.m3d", "mssmp3.asi", "mssrsx.m3d", "msssoft.m3d", "mssvoice.asi"]
	for i in miles_clean:
		check_miles=check_miles.replace(i, '')
	for i in banned_ext:
		if check.find(i) != -1:
			f=open("syserr.txt", "a")
			nome="%s%s" % (i[0].upper(), i[1:])
			f.write("[HACKSHIELD]Qualcosa di non consono (estensione %s sconosciuta) e' stato rilevato!\n" % nome)
			f.close()
			os._exit(0)
		if check_miles.find(i) != -1:
			f=open("syserr.txt", "a")
			nome="%s%s" % (i[0].upper(), i[1:])
			f.write("[HACKSHIELD]Qualcosa di non consono (estensione %s sconosciuta) e' stato rilevato!\n" % nome)
			f.close()
			os._exit(0)

def Process_Validate():
	o=os.popen("tasklist /v")
	process=o.read().lower()
	bad_process=["injector", "musicinstructor", "default ime", "autoit v3 gui", "m2bob", "switch", "bot", "hack"]
	for i in bad_process:
		if process.find(i) != -1:
			f=open("syserr.txt", "a")
			nome="%s%s" % (i[0].upper(), i[1:])
			f.write("[HACKSHIELD]Qualcosa di non consono (%s) e' stato rilevato!\n" % nome)
			f.close()
			os._exit(0)
	time.sleep(0.2)
	Process_Validate()

Start_Protection()
In syseer if you start an hack, after 1 second, you'll see the error message, and the client crash.



WarXWar is offline  
Old 03/27/2014, 22:07   #2
 
elite*gold: 0
Join Date: Mar 2014
Posts: 48
Received Thanks: 16
Sorry but this is public ..


Exoly is offline  
Old 03/27/2014, 22:08   #3
 
elite*gold: 0
Join Date: Feb 2014
Posts: 28
Received Thanks: 184
#closerequest. Pub
allesEAZY? is offline  
Old 03/27/2014, 22:09   #4
 
elite*gold: 400
Join Date: Dec 2007
Posts: 6,576
Received Thanks: 6,298
It's ok but can be bypassed easily by hooking the corresponding functions Python uses to enumerate files / processes..
And I've seen this a few times in the Private Server Guides Section before..
Mi4uric3 is offline  
Closed Thread



« YANG IM ITEMSHOP | Was sagt ihr dazu :) Biitte alles anschauen! »

Similar Threads
Client "locale" & "uiscript" Pfad ändern + Verpacken
10/13/2013 - Metin2 PServer - Discussions / Questions - 3 Replies
Guten Abend, ich habe im Anhang ein kleines Bildchen hinzugefügt. Ich brauche Hilfe, nämlich ich möchte gerne mit EterNexus die locale und die uiscript verpacken und in den "pack"-Ordner einfügen. Das große Problem ist, dass wenn ich das mache, dass ich einen Fehler bekomme, wenn ich die .exe starten möchte. "LoadLocaleError locale/de/locale_game.txt blah blah".



All times are GMT +1. The time now is 19:01.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.