mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-11 19:13:12 +00:00
Dealing with rare cases when getIdentifiedDbms is needed prior to DBMS isfingerprinted and there are multiples of dbmses inside details
This commit is contained in:
parent
c1b8226329
commit
bcdba7b7bb
2 changed files with 4 additions and 1 deletions
|
|
@ -491,8 +491,9 @@ def checkSqlInjection(place, parameter, value):
|
|||
if hasattr(test, "details"):
|
||||
for dKey, dValue in test.details.items():
|
||||
if dKey == "dbms":
|
||||
injection.dbms = dValue
|
||||
if not isinstance(dValue, list):
|
||||
injection.dbms = Backend.setDbms(dValue)
|
||||
Backend.setDbms(dValue)
|
||||
else:
|
||||
Backend.forceDbms(dValue[0], True)
|
||||
elif dKey == "dbms_version" and injection.dbms_version is None and not conf.testFilter:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue