forked from p15670423/monkey
Whitespace PEP8 fixes
This commit is contained in:
parent
348a743619
commit
d6544c9e03
|
@ -20,11 +20,11 @@ class HostExploiter(object, metaclass=ABCMeta):
|
|||
def __init__(self, host):
|
||||
self._config = infection_monkey.config.WormConfiguration
|
||||
self.exploit_info = {'display_name': self._EXPLOITED_SERVICE,
|
||||
'started': '',
|
||||
'finished': '',
|
||||
'vulnerable_urls': [],
|
||||
'vulnerable_ports': [],
|
||||
'executed_cmds': []}
|
||||
'started': '',
|
||||
'finished': '',
|
||||
'vulnerable_urls': [],
|
||||
'vulnerable_ports': [],
|
||||
'executed_cmds': []}
|
||||
self.exploit_attempts = []
|
||||
self.host = host
|
||||
|
||||
|
@ -43,7 +43,7 @@ class HostExploiter(object, metaclass=ABCMeta):
|
|||
|
||||
def report_login_attempt(self, result, user, password='', lm_hash='', ntlm_hash='', ssh_key=''):
|
||||
self.exploit_attempts.append({'result': result, 'user': user, 'password': password,
|
||||
'lm_hash': lm_hash, 'ntlm_hash': ntlm_hash, 'ssh_key': ssh_key})
|
||||
'lm_hash': lm_hash, 'ntlm_hash': ntlm_hash, 'ssh_key': ssh_key})
|
||||
|
||||
def exploit_host(self):
|
||||
self.pre_exploit()
|
||||
|
|
|
@ -1 +1 @@
|
|||
__author__ = 'itay.mizeretz'
|
||||
__author__ = 'itay.mizeretz'
|
||||
|
|
Loading…
Reference in New Issue