mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-25 17:09:02 +00:00
type correction and adding global flag kb.ignoreTimeout which could be useful
This commit is contained in:
@@ -1354,6 +1354,7 @@ def __setKnowledgeBaseAttributes(flushAll=True):
|
||||
kb.headersFp = {}
|
||||
kb.hintValue = None
|
||||
kb.htmlFp = []
|
||||
kb.ignoreTimeout = False
|
||||
kb.injection = injectionDict()
|
||||
kb.injections = []
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ class Connect:
|
||||
raise404 = kwargs.get('raise404', True)
|
||||
auxHeaders = kwargs.get('auxHeaders', None)
|
||||
response = kwargs.get('response', False)
|
||||
ignoreTimeout = kwargs.get('ignoreTimeout', False)
|
||||
ignoreTimeout = kwargs.get('ignoreTimeout', kb.ignoreTimeout)
|
||||
refreshing = kwargs.get('refreshing', False)
|
||||
|
||||
# flag to know if we are dealing with the same target host
|
||||
|
||||
Reference in New Issue
Block a user