mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
minor update
This commit is contained in:
parent
56dbf0038f
commit
adf2231edb
|
@ -1003,7 +1003,7 @@ def __setKnowledgeBaseAttributes():
|
|||
kb.dep = None
|
||||
kb.docRoot = None
|
||||
kb.dynamicContent = []
|
||||
kb.errorPages = set()
|
||||
kb.lastErrorPage = None
|
||||
kb.headersCount = 0
|
||||
kb.headersFp = {}
|
||||
kb.htmlFp = []
|
||||
|
@ -1021,6 +1021,7 @@ def __setKnowledgeBaseAttributes():
|
|||
|
||||
kb.parenthesis = None
|
||||
kb.partRun = None
|
||||
kb.requestUID = 0
|
||||
kb.queryCounter = 0
|
||||
kb.resumedQueries = {}
|
||||
kb.stackedTest = None
|
||||
|
|
|
@ -266,7 +266,7 @@ def initTargetEnv():
|
|||
kb.dbms = None
|
||||
kb.dbmsDetected = False
|
||||
kb.dbmsVersion = [ "Unknown" ]
|
||||
kb.errorPages = set()
|
||||
kb.lastErrorPage = None
|
||||
kb.injParameter = None
|
||||
kb.injPlace = None
|
||||
kb.injType = None
|
||||
|
|
|
@ -57,7 +57,7 @@ class htmlHandler(ContentHandler):
|
|||
if self.__match:
|
||||
self.dbms = self.__dbms
|
||||
self.__match = None
|
||||
kb.errorPages.add(self.__page)
|
||||
kb.lastErrorPage = (kb.requestUID, self.__page)
|
||||
|
||||
def htmlParser(page):
|
||||
"""
|
||||
|
|
|
@ -89,6 +89,8 @@ class Connect:
|
|||
requestHeaders = ""
|
||||
responseHeaders = ""
|
||||
|
||||
kb.requestUID += 1
|
||||
|
||||
try:
|
||||
if silent:
|
||||
socket.setdefaulttimeout(3)
|
||||
|
|
Loading…
Reference in New Issue
Block a user