Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 42f4c2b

Browse files
committed
Minor fix when --dbms is enforced
1 parent 1f7644a commit 42f4c2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/controller/checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def checkSqlInjection(place, parameter, value):
188188
logger.debug(debugMsg)
189189
continue
190190

191-
if len(Backend.getErrorParsedDBMSes()) > 0 and not intersect(dbms, Backend.getErrorParsedDBMSes()) and kb.skipOthersDbms is None:
191+
if conf.dbms is None and len(Backend.getErrorParsedDBMSes()) > 0 and not intersect(dbms, Backend.getErrorParsedDBMSes()) and kb.skipOthersDbms is None:
192192
msg = "parsed error message(s) showed that the "
193193
msg += "back-end DBMS could be %s. " % Format.getErrorParsedDBMSes()
194194
msg += "Do you want to skip test payloads specific for other DBMSes? [Y/n]"

0 commit comments

Comments
 (0)