This commit is contained in:
Miroslav Stampar
2017-07-26 00:54:29 +02:00
parent 0f9c81965b
commit 1745bac0ab
6 changed files with 14 additions and 13 deletions

View File

@@ -120,7 +120,7 @@ def _setRequestParams():
if kb.processUserMarks is None and kb.customInjectionMark in conf.data:
message = "custom injection marker ('%s') found in option " % kb.customInjectionMark
message += "'--data'. Do you want to process it? [Y/n/q] "
choice = readInput(message, default='Y')
choice = readInput(message, default='Y').upper()
if choice == 'Q':
raise SqlmapUserQuitException
@@ -133,7 +133,7 @@ def _setRequestParams():
if re.search(JSON_RECOGNITION_REGEX, conf.data):
message = "JSON data found in %s data. " % conf.method
message += "Do you want to process it? [Y/n/q] "
choice = readInput(message, default='Y')
choice = readInput(message, default='Y').upper()
if choice == 'Q':
raise SqlmapUserQuitException