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:
@@ -306,7 +306,10 @@ def checkSqlInjection(place, parameter, value):
|
||||
|
||||
break
|
||||
|
||||
return injection
|
||||
if injection.place is not None and injection.parameter is not None:
|
||||
return injection
|
||||
else:
|
||||
return None
|
||||
|
||||
def heuristicCheckSqlInjection(place, parameter, value):
|
||||
if kb.nullConnection:
|
||||
|
||||
Reference in New Issue
Block a user