mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
increase the timeout for the Metasploit session initialization to 5 minutes, better on slow speed connections
This commit is contained in:
parent
5c64a31a9c
commit
018748f52e
|
@ -572,7 +572,7 @@ FORM_SEARCH_REGEX = r"(?si)<form(?!.+<form).+?</form>"
|
|||
MIN_ENCODED_LEN_CHECK = 5
|
||||
|
||||
# Timeout in seconds in which Metasploit remote session has to be initialized
|
||||
METASPLOIT_SESSION_TIMEOUT = 180
|
||||
METASPLOIT_SESSION_TIMEOUT = 300
|
||||
|
||||
# Reference: http://www.cookiecentral.com/faq/#3.5
|
||||
NETSCAPE_FORMAT_HEADER_COOKIES = "# Netscape HTTP Cookie File."
|
||||
|
|
|
@ -529,7 +529,6 @@ class Metasploit:
|
|||
time.sleep(2)
|
||||
|
||||
initialized = True
|
||||
|
||||
elif timeout:
|
||||
proc.kill()
|
||||
errMsg = "timeout occurred while attempting "
|
||||
|
|
Loading…
Reference in New Issue
Block a user