added names to threads

This commit is contained in:
byt3bl33d3r 2015-04-01 01:25:05 +02:00
parent df9fd2d12a
commit 75173c6b9d

View file

@ -547,7 +547,7 @@ class FilePwn(Plugin):
if self.bytes_have_format(data, 'zip'):
logging.info("%s Detected supported zip file type!" % client_ip)
process = multiprocessing.Process(target=self.zip, args=(data,))
process = multiprocessing.Process(name='zip', target=self.zip, args=(data,))
process.daemon = True
process.start()
process.join()
@ -562,7 +562,7 @@ class FilePwn(Plugin):
if self.bytes_have_format(data, tartype):
logging.info("%s Detected supported tar file type!" % client_ip)
process = multiprocessing.Process(target=self.tar_files, args=(data,))
process = multiprocessing.Process(name='tar_files', target=self.tar_files, args=(data,))
process.daemon = True
process.start()
process.join()