mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
minor update (for future implementation of more advanced error page logic)
This commit is contained in:
parent
10ab6371f2
commit
56dbf0038f
|
@ -1003,6 +1003,7 @@ def __setKnowledgeBaseAttributes():
|
|||
kb.dep = None
|
||||
kb.docRoot = None
|
||||
kb.dynamicContent = []
|
||||
kb.errorPages = set()
|
||||
kb.headersCount = 0
|
||||
kb.headersFp = {}
|
||||
kb.htmlFp = []
|
||||
|
|
|
@ -266,6 +266,7 @@ def initTargetEnv():
|
|||
kb.dbms = None
|
||||
kb.dbmsDetected = False
|
||||
kb.dbmsVersion = [ "Unknown" ]
|
||||
kb.errorPages = set()
|
||||
kb.injParameter = None
|
||||
kb.injPlace = None
|
||||
kb.injType = None
|
||||
|
|
|
@ -57,6 +57,7 @@ class htmlHandler(ContentHandler):
|
|||
if self.__match:
|
||||
self.dbms = self.__dbms
|
||||
self.__match = None
|
||||
kb.errorPages.add(self.__page)
|
||||
|
||||
def htmlParser(page):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user