forked from p15670423/monkey
parent
bb8a1c5c01
commit
47baea039a
|
@ -42,8 +42,8 @@ class VSFTPDExploiter(HostExploiter):
|
|||
ftp_socket.close()
|
||||
LOG.info('[+] Triggered backdoor')
|
||||
|
||||
except Exception:
|
||||
LOG.info('[!] Failed to trigger backdoor on %s' , self.host.ip_addr)
|
||||
except socket.error as e:
|
||||
LOG.error('[!] Failed to trigger backdoor on %s' , self.host.ip_addr)
|
||||
|
||||
try:
|
||||
LOG.info('[*] Attempting to connect to backdoor...')
|
||||
|
@ -111,8 +111,9 @@ class VSFTPDExploiter(HostExploiter):
|
|||
|
||||
self._exploit_info['Vulnerability'] = {"Success":"True"}
|
||||
|
||||
except Exception:
|
||||
LOG.info('[!] Failed to connect to backdoor on %s:6200', self.host.ip_addr)
|
||||
except socket.error as e:
|
||||
LOG.error('[!] Failed to connect to backdoor on %s:6200', self.host.ip_addr)
|
||||
LOG.error('Error Connecting to backdoor. Error: %s' % e)
|
||||
return False
|
||||
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue