mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
Minor fix when --dbms is enforced
This commit is contained in:
parent
1f7644a691
commit
42f4c2bac9
|
@ -188,7 +188,7 @@ def checkSqlInjection(place, parameter, value):
|
||||||
logger.debug(debugMsg)
|
logger.debug(debugMsg)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if len(Backend.getErrorParsedDBMSes()) > 0 and not intersect(dbms, Backend.getErrorParsedDBMSes()) and kb.skipOthersDbms is None:
|
if conf.dbms is None and len(Backend.getErrorParsedDBMSes()) > 0 and not intersect(dbms, Backend.getErrorParsedDBMSes()) and kb.skipOthersDbms is None:
|
||||||
msg = "parsed error message(s) showed that the "
|
msg = "parsed error message(s) showed that the "
|
||||||
msg += "back-end DBMS could be %s. " % Format.getErrorParsedDBMSes()
|
msg += "back-end DBMS could be %s. " % Format.getErrorParsedDBMSes()
|
||||||
msg += "Do you want to skip test payloads specific for other DBMSes? [Y/n]"
|
msg += "Do you want to skip test payloads specific for other DBMSes? [Y/n]"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user