Agent: Use LONG_REQUEST_TIMEOUT for LOGIN_TIMEOUT in MSSQLExploiter

This commit is contained in:
Mike Salvatore 2022-03-18 10:12:34 -04:00
parent df5a0fe119
commit a247fa954c
1 changed files with 2 additions and 2 deletions

View File

@ -23,8 +23,8 @@ logger = logging.getLogger(__name__)
class MSSQLExploiter(HostExploiter):
_EXPLOITED_SERVICE = "MSSQL"
_TARGET_OS_TYPE = ["windows"]
LOGIN_TIMEOUT = 15
QUERY_TIMEOUT = LOGIN_TIMEOUT
LOGIN_TIMEOUT = LONG_REQUEST_TIMEOUT
QUERY_TIMEOUT = LONG_REQUEST_TIMEOUT
# Time in seconds to wait between MSSQL queries.
QUERY_BUFFER = 0.5
SQL_DEFAULT_TCP_PORT = "1433"