mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
prioritized fingerprinted DBMS to error-based and user provided one
This commit is contained in:
parent
2f08c8b666
commit
260643241a
|
@ -463,12 +463,12 @@ class Backend:
|
|||
dbms = Backend.getForcedDbms()
|
||||
elif Backend.getDbms() is not None:
|
||||
dbms = Backend.getDbms()
|
||||
elif conf.get("dbms"):
|
||||
dbms = conf.get("dbms")
|
||||
elif Backend.getErrorParsedDBMSes():
|
||||
dbms = unArrayizeValue(Backend.getErrorParsedDBMSes())
|
||||
elif kb.get("injection") and kb.injection.dbms:
|
||||
dbms = unArrayizeValue(kb.injection.dbms)
|
||||
elif Backend.getErrorParsedDBMSes():
|
||||
dbms = unArrayizeValue(Backend.getErrorParsedDBMSes())
|
||||
elif conf.get("dbms"):
|
||||
dbms = conf.get("dbms")
|
||||
|
||||
return aliasToDbmsEnum(dbms)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user