mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-05-08 17:53:47 +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"
|
errMsg += "at the back-end web application"
|
||||||
logger.error(errMsg)
|
logger.error(errMsg)
|
||||||
|
|
||||||
message = "do you want to skip those kind of cases (and save scanning time)? [Y/n] "
|
if kb.ignoreCasted is None:
|
||||||
kb.ignoreCasted = readInput(message, default='Y').upper() != 'N'
|
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:
|
elif result:
|
||||||
infoMsg += "be injectable (possible DBMS: %s)" % (Format.getErrorParsedDBMSes() or UNKNOWN_DBMS_VERSION)
|
infoMsg += "be injectable (possible DBMS: %s)" % (Format.getErrorParsedDBMSes() or UNKNOWN_DBMS_VERSION)
|
||||||
|
|
|
@ -1496,7 +1496,7 @@ def __setKnowledgeBaseAttributes(flushAll=True):
|
||||||
kb.htmlFp = []
|
kb.htmlFp = []
|
||||||
kb.httpErrorCodes = {}
|
kb.httpErrorCodes = {}
|
||||||
kb.inferenceMode = False
|
kb.inferenceMode = False
|
||||||
kb.ignoreCasted = False
|
kb.ignoreCasted = None
|
||||||
kb.ignoreNotFound = False
|
kb.ignoreNotFound = False
|
||||||
kb.ignoreTimeout = False
|
kb.ignoreTimeout = False
|
||||||
kb.injection = InjectionDict()
|
kb.injection = InjectionDict()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user