Update vsftpd.py
Importing DOWNLOAD_TIMEOUT from the model
This commit is contained in:
parent
8d55229ce7
commit
feb4fea19e
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue