Jump to content

Recommended Posts

  • 2 weeks later...
  • Premium
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()

 

  • Love 1
Link to comment
Share on other sites

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

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()

 

extremefacepalm.png

megafp2.png

latest?cb=20120922153750

main-qimg-7c6148068e8b37e4818dbbb90c8163

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Confused 1
  • Love 3
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.