zeimpekis9 68 Posted December 1, 2017 Share Posted December 1, 2017 Hello guys. Does anyone knows how to make my .exe not able to be inject by other programms? Or something else to block m2bob? Link to comment Share on other sites More sharing options...
Premium Jfirewall 277 Posted December 9, 2017 Premium Share Posted December 9, 2017 import subprocess,app,threading,os,time Evil_ProcessList = ["notepad++.exe"] Evil_FileNameList = [".pyc",".py",".bat",".mix",".flt",".fls",".m3d"] class SuperUnsecureAndNotEnoughProtectionOfferingScript(object): def __init__(self): self.LoadSuperUnsecureSystem() def __del__(self): pass def LoadSuperUnsecureSystem(self): while 1: self.CheckForEvilFiles() self.CheckForEvilProcesses() def KillProcess(self, processname): try: os.system("taskkill /f /im %s" % processname) except: app.Exit() def DeleteFile(self, filename): try: os.remove(filename) except IOError: app.Exit() def CheckForEvilFiles(self): for file in os.listdir(os.getcwd()): for filename in Evil_FileNameList: if file.endswith(filename): self.DeleteFile(file) def CheckForEvilProcesses(self): for evil in Evil_ProcessList: if evil in subprocess.Popen("tasklist", stdout=subprocess.PIPE, shell=False).communicate()[0]: self.KillProcess(evil) if __name__ == '__main__': threading.Thread(target=SuperUnsecureAndNotEnoughProtectionOfferingScript, args=()).start() 1 Link to comment Share on other sites More sharing options...
zeimpekis9 68 Posted December 9, 2017 Author Share Posted December 9, 2017 15 minutes ago, Jfirewall said: import subprocess,app,threading,os,time Evil_ProcessList = ["notepad++.exe"] Evil_FileNameList = [".pyc",".py",".bat",".mix",".flt",".fls",".m3d"] class SuperUnsecureAndNotEnoughProtectionOfferingScript(object): def __init__(self): self.LoadSuperUnsecureSystem() def __del__(self): pass def LoadSuperUnsecureSystem(self): while 1: self.CheckForEvilFiles() self.CheckForEvilProcesses() def KillProcess(self, processname): try: os.system("taskkill /f /im %s" % processname) except: app.Exit() def DeleteFile(self, filename): try: os.remove(filename) except IOError: app.Exit() def CheckForEvilFiles(self): for file in os.listdir(os.getcwd()): for filename in Evil_FileNameList: if file.endswith(filename): self.DeleteFile(file) def CheckForEvilProcesses(self): for evil in Evil_ProcessList: if evil in subprocess.Popen("tasklist", stdout=subprocess.PIPE, shell=False).communicate()[0]: self.KillProcess(evil) if __name__ == '__main__': threading.Thread(target=SuperUnsecureAndNotEnoughProtectionOfferingScript, args=()).start() where i put this? Link to comment Share on other sites More sharing options...
ѕeмa™ 307 Posted December 9, 2017 Share Posted December 9, 2017 (edited) hace 36 minutos, Jfirewall dijo: import subprocess,app,threading,os,time Evil_ProcessList = ["notepad++.exe"] Evil_FileNameList = [".pyc",".py",".bat",".mix",".flt",".fls",".m3d"] class SuperUnsecureAndNotEnoughProtectionOfferingScript(object): def __init__(self): self.LoadSuperUnsecureSystem() def __del__(self): pass def LoadSuperUnsecureSystem(self): while 1: self.CheckForEvilFiles() self.CheckForEvilProcesses() def KillProcess(self, processname): try: os.system("taskkill /f /im %s" % processname) except: app.Exit() def DeleteFile(self, filename): try: os.remove(filename) except IOError: app.Exit() def CheckForEvilFiles(self): for file in os.listdir(os.getcwd()): for filename in Evil_FileNameList: if file.endswith(filename): self.DeleteFile(file) def CheckForEvilProcesses(self): for evil in Evil_ProcessList: if evil in subprocess.Popen("tasklist", stdout=subprocess.PIPE, shell=False).communicate()[0]: self.KillProcess(evil) if __name__ == '__main__': threading.Thread(target=SuperUnsecureAndNotEnoughProtectionOfferingScript, args=()).start() Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal 1 3 https://m2admin.net/ Link to comment Share on other sites More sharing options...
zeimpekis9 68 Posted December 9, 2017 Author Share Posted December 9, 2017 (edited) 2 minutes ago, ѕeмa™ said: What??? Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium tierrilopes 452 Posted December 9, 2017 Premium Share Posted December 9, 2017 Read the code. It was posted as a joke. Link to comment Share on other sites More sharing options...
zeimpekis9 68 Posted December 9, 2017 Author Share Posted December 9, 2017 2 minutes ago, tierrilopes said: Read the code. It was posted as a joke. ah... Link to comment Share on other sites More sharing options...
Premium North 1171 Posted December 9, 2017 Premium Share Posted December 9, 2017 On 01/12/2017 at 11:54 AM, zeimpekis9 said: Hello guys. Does anyone knows how to make my .exe not able to be inject by other programms? Or something else to block m2bob? You can`t, the best way is to fix your problem serverside. Link to comment Share on other sites More sharing options...
zeimpekis9 68 Posted December 9, 2017 Author Share Posted December 9, 2017 30 minutes ago, Fleon said: You can`t, the best way is to fix your problem serverside. Any ideas? Link to comment Share on other sites More sharing options...
Premium North 1171 Posted December 9, 2017 Premium Share Posted December 9, 2017 1 minute ago, zeimpekis9 said: Any ideas? Tokenizing the packets would be a good idea. Link to comment Share on other sites More sharing options...
Premium tierrilopes 452 Posted December 9, 2017 Premium Share Posted December 9, 2017 Actually you can without serverside. Analyse how m2bob works. Link to comment Share on other sites More sharing options...
metin2-factory 1009 Posted December 9, 2017 Share Posted December 9, 2017 1 Link to comment Share on other sites More sharing options...
zeimpekis9 68 Posted December 9, 2017 Author Share Posted December 9, 2017 Thanks everyone for your answers..i appreciate it Link to comment Share on other sites More sharing options...
Daenerys 174 Posted December 9, 2017 Share Posted December 9, 2017 I certainly do not recommend using this method.especially because the cmd screen appeared at the start of the game.the players are uncomfortable. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now