diff --git a/monkey/infection_monkey/exploit/vsftpd.py b/monkey/infection_monkey/exploit/vsftpd.py index ab848cc0d..5ecbcdd1d 100644 --- a/monkey/infection_monkey/exploit/vsftpd.py +++ b/monkey/infection_monkey/exploit/vsftpd.py @@ -7,7 +7,7 @@ from common.utils.exploit_enum import ExploitType from infection_monkey.exploit import HostExploiter from infection_monkey.exploit.tools import build_monkey_commandline from infection_monkey.exploit.tools import get_target_monkey, HTTPTools, get_monkey_depth -from infection_monkey.model import MONKEY_ARG, CHMOD_MONKEY, RUN_MONKEY, WGET_HTTP_UPLOAD +from infection_monkey.model import MONKEY_ARG, CHMOD_MONKEY, RUN_MONKEY, WGET_HTTP_UPLOAD, DOWNLOAD_TIMEOUT from infection_monkey.network.tools import check_tcp_port from infection_monkey.exploit.web_rce import WebRCE from logging import getLogger @@ -24,7 +24,6 @@ ULIMIT_V = "ulimit -v " # To increase the memory limit UNLIMITED = "unlimited;" USERNAME = b'USER D3fa1t:)\n'# Ftp Username PASSWORD = b'PASS please\n' # Ftp Password -DOWNLOAD_TIMEOUT = 300 FTP_TIME_BUFFER = 1 # In seconds class VSFTPDExploiter(HostExploiter):