ftpget doesn't need 'object'

This commit is contained in:
Michel Oosterhof 2018-06-22 09:22:31 +00:00
parent fccc7f0044
commit d50617b73b
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ from cowrie.shell.honeypot import HoneyPotCommand
commands = {}
class FTP(object, ftplib.FTP):
class FTP(ftplib.FTP):
def __init__(self, *args, **kwargs):
self.source_address = kwargs.pop("source_address", None)