mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
proper fix related to the last commit
This commit is contained in:
parent
fd57aae779
commit
8aa5625cd0
3 changed files with 11 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue