mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
proper fix related to the last commit
This commit is contained in:
@@ -440,7 +440,7 @@ def checkSqlInjection(place, parameter, value):
|
||||
if not isinstance(dValue, list):
|
||||
injection.dbms = Backend.setDbms(dValue)
|
||||
else:
|
||||
Backend.forceDbms(dValue[0])
|
||||
Backend.forceDbms(dValue[0], True)
|
||||
elif dKey == "dbms_version" and injection.dbms_version is None:
|
||||
injection.dbms_version = Backend.setVersion(dValue)
|
||||
elif dKey == "os" and injection.os is None:
|
||||
@@ -497,6 +497,8 @@ def checkSqlInjection(place, parameter, value):
|
||||
# Reset forced back-end DBMS value
|
||||
Backend.flushForcedDbms()
|
||||
|
||||
Backend.flushForcedDbms(True)
|
||||
|
||||
# Return the injection object
|
||||
if injection.place is not None and injection.parameter is not None:
|
||||
injection = checkFalsePositives(injection)
|
||||
|
||||
Reference in New Issue
Block a user