mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
Update for an Issue #161 (changing default readInput value regarding the conf.multipleTargets)
This commit is contained in:
parent
4ab4fd1cb4
commit
a62a874d59
|
@ -666,8 +666,9 @@ def heuristicCheckSqlInjection(place, parameter):
|
|||
errMsg += "at the back-end web application"
|
||||
logger.error(errMsg)
|
||||
|
||||
message = "do you want to skip those kind of cases (and save scanning time)? [Y/n] "
|
||||
kb.ignoreCasted = readInput(message, default='Y').upper() != 'N'
|
||||
if kb.ignoreCasted is None:
|
||||
message = "do you want to skip those kind of parameters (and save scanning time)? %s " % ("[Y/n]" if conf.multipleTargets else "[y/N]")
|
||||
kb.ignoreCasted = readInput(message, default='Y' if conf.multipleTargets else 'N').upper() != 'N'
|
||||
|
||||
elif result:
|
||||
infoMsg += "be injectable (possible DBMS: %s)" % (Format.getErrorParsedDBMSes() or UNKNOWN_DBMS_VERSION)
|
||||
|
|
|
@ -1496,7 +1496,7 @@ def __setKnowledgeBaseAttributes(flushAll=True):
|
|||
kb.htmlFp = []
|
||||
kb.httpErrorCodes = {}
|
||||
kb.inferenceMode = False
|
||||
kb.ignoreCasted = False
|
||||
kb.ignoreCasted = None
|
||||
kb.ignoreNotFound = False
|
||||
kb.ignoreTimeout = False
|
||||
kb.injection = InjectionDict()
|
||||
|
|
Loading…
Reference in New Issue
Block a user