mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Bug fix (proper extending of tests when dbms is known)
This commit is contained in:
parent
e501b2a80b
commit
1a9a331422
3 changed files with 9 additions and 14 deletions
|
|
@ -106,6 +106,10 @@ def checkSqlInjection(place, parameter, value):
|
|||
msg = "do you want to include all tests for '%s' " % _
|
||||
msg += "extending provided level (%d) and risk (%s)? [Y/n]" % (conf.level, conf.risk)
|
||||
kb.extendTests = [] if readInput(msg, default='Y').upper() != 'Y' else (Backend.getErrorParsedDBMSes() or [kb.heuristicDbms])
|
||||
elif kb.extendTests is None:
|
||||
msg = "do you want to include all tests for '%s' " % conf.dbms
|
||||
msg += "extending provided level (%d) and risk (%s)? [Y/n]" % (conf.level, conf.risk)
|
||||
kb.extendTests = [] if readInput(msg, default='Y').upper() != 'Y' else ([conf.dbms])
|
||||
|
||||
title = test.title
|
||||
stype = test.stype
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue