mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Prioritize DBMS fingerprint based on DBMS (<dbms>) identified during the detection phase.
Minor bug fix to properly handle the case that no injections are found. Nicer display of injection vulnerabilities detected. Minor code refactoring.
This commit is contained in:
@@ -1129,6 +1129,7 @@ def __setKnowledgeBaseAttributes():
|
||||
kb.errorTest = None
|
||||
kb.stackedTest = None
|
||||
kb.timeTest = None
|
||||
kb.unionTest = None
|
||||
|
||||
# Basic back-end DBMS fingerprint
|
||||
kb.dbms = None
|
||||
@@ -1180,7 +1181,6 @@ def __setKnowledgeBaseAttributes():
|
||||
kb.unionPosition = None
|
||||
kb.unionNegative = False
|
||||
kb.unionFalseCond = False
|
||||
kb.unionTest = None
|
||||
kb.userAgents = None
|
||||
kb.valueStack = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user