mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-16 11:03:26 +03:00
type correction and adding global flag kb.ignoreTimeout which could be useful
This commit is contained in:
parent
27f0e73cc9
commit
2ea613b170
|
@ -1354,6 +1354,7 @@ def __setKnowledgeBaseAttributes(flushAll=True):
|
||||||
kb.headersFp = {}
|
kb.headersFp = {}
|
||||||
kb.hintValue = None
|
kb.hintValue = None
|
||||||
kb.htmlFp = []
|
kb.htmlFp = []
|
||||||
|
kb.ignoreTimeout = False
|
||||||
kb.injection = injectionDict()
|
kb.injection = injectionDict()
|
||||||
kb.injections = []
|
kb.injections = []
|
||||||
|
|
||||||
|
|
|
@ -100,7 +100,7 @@ class Connect:
|
||||||
raise404 = kwargs.get('raise404', True)
|
raise404 = kwargs.get('raise404', True)
|
||||||
auxHeaders = kwargs.get('auxHeaders', None)
|
auxHeaders = kwargs.get('auxHeaders', None)
|
||||||
response = kwargs.get('response', False)
|
response = kwargs.get('response', False)
|
||||||
ignoreTimeout = kwargs.get('ignoreTimeout', False)
|
ignoreTimeout = kwargs.get('ignoreTimeout', kb.ignoreTimeout)
|
||||||
refreshing = kwargs.get('refreshing', False)
|
refreshing = kwargs.get('refreshing', False)
|
||||||
|
|
||||||
# flag to know if we are dealing with the same target host
|
# flag to know if we are dealing with the same target host
|
||||||
|
|
|
@ -50,7 +50,7 @@ class Fingerprint(GenericFingerprint):
|
||||||
return retVal
|
return retVal
|
||||||
|
|
||||||
def __sysTablesCheck(self):
|
def __sysTablesCheck(self):
|
||||||
infoMsg = "executing system table(s) existance fingerprint"
|
infoMsg = "executing system table(s) existence fingerprint"
|
||||||
logger.info(infoMsg)
|
logger.info(infoMsg)
|
||||||
|
|
||||||
# Microsoft Access table reference updated on 01/2010
|
# Microsoft Access table reference updated on 01/2010
|
||||||
|
|
|
@ -789,7 +789,7 @@ class Enumeration:
|
||||||
|
|
||||||
return kb.data.cachedTables
|
return kb.data.cachedTables
|
||||||
|
|
||||||
message = "do you want to use common table existance check? [Y/n/q]"
|
message = "do you want to use common table existence check? [Y/n/q]"
|
||||||
test = readInput(message, default="Y")
|
test = readInput(message, default="Y")
|
||||||
|
|
||||||
if test[0] in ("n", "N"):
|
if test[0] in ("n", "N"):
|
||||||
|
@ -999,7 +999,7 @@ class Enumeration:
|
||||||
|
|
||||||
return kb.data.cachedColumns
|
return kb.data.cachedColumns
|
||||||
|
|
||||||
message = "do you want to use common columns existance check? [Y/n/q]"
|
message = "do you want to use common columns existence check? [Y/n/q]"
|
||||||
test = readInput(message, default="Y")
|
test = readInput(message, default="Y")
|
||||||
|
|
||||||
if test[0] in ("n", "N"):
|
if test[0] in ("n", "N"):
|
||||||
|
@ -1871,7 +1871,7 @@ class Enumeration:
|
||||||
bruteForce = True
|
bruteForce = True
|
||||||
|
|
||||||
if bruteForce:
|
if bruteForce:
|
||||||
message = "do you want to use common table existance check? [Y/n/q]"
|
message = "do you want to use common table existence check? [Y/n/q]"
|
||||||
test = readInput(message, default="Y")
|
test = readInput(message, default="Y")
|
||||||
|
|
||||||
if test[0] in ("n", "N"):
|
if test[0] in ("n", "N"):
|
||||||
|
@ -2026,7 +2026,7 @@ class Enumeration:
|
||||||
bruteForce = True
|
bruteForce = True
|
||||||
|
|
||||||
if bruteForce:
|
if bruteForce:
|
||||||
message = "do you want to use common columns existance check? [Y/n/q]"
|
message = "do you want to use common columns existence check? [Y/n/q]"
|
||||||
test = readInput(message, default="Y")
|
test = readInput(message, default="Y")
|
||||||
|
|
||||||
if test[0] in ("n", "N"):
|
if test[0] in ("n", "N"):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user