@@ -152,7 +152,7 @@ def process(match, repl):
152152 elif re .search (JSON_LIKE_RECOGNITION_REGEX , conf .data ):
153153 message = "JSON-like data found in %s data. " % conf .method
154154 message += "Do you want to process it? [Y/n/q] "
155- choice = readInput (message , default = 'Y' ).strip (). upper ()
155+ choice = readInput (message , default = 'Y' ).upper ()
156156
157157 if choice == 'Q' :
158158 raise SqlmapUserQuitException
@@ -166,7 +166,7 @@ def process(match, repl):
166166 elif re .search (ARRAY_LIKE_RECOGNITION_REGEX , conf .data ):
167167 message = "Array-like data found in %s data. " % conf .method
168168 message += "Do you want to process it? [Y/n/q] "
169- choice = readInput (message , default = 'Y' ).strip (). upper ()
169+ choice = readInput (message , default = 'Y' ).upper ()
170170
171171 if choice == 'Q' :
172172 raise SqlmapUserQuitException
@@ -178,7 +178,7 @@ def process(match, repl):
178178 elif re .search (XML_RECOGNITION_REGEX , conf .data ):
179179 message = "SOAP/XML data found in %s data. " % conf .method
180180 message += "Do you want to process it? [Y/n/q] "
181- choice = readInput (message , default = 'Y' ).strip (). upper ()
181+ choice = readInput (message , default = 'Y' ).upper ()
182182
183183 if choice == 'Q' :
184184 raise SqlmapUserQuitException
@@ -191,7 +191,7 @@ def process(match, repl):
191191 elif re .search (MULTIPART_RECOGNITION_REGEX , conf .data ):
192192 message = "Multipart-like data found in %s data. " % conf .method
193193 message += "Do you want to process it? [Y/n/q] "
194- choice = readInput (message , default = 'Y' ).strip (). upper ()
194+ choice = readInput (message , default = 'Y' ).upper ()
195195
196196 if choice == 'Q' :
197197 raise SqlmapUserQuitException
@@ -228,7 +228,7 @@ def process(match, repl):
228228
229229 message = "do you want to try URI injections "
230230 message += "in the target URL itself? [Y/n/q] "
231- choice = readInput (message , default = 'Y' ).strip (). upper ()
231+ choice = readInput (message , default = 'Y' ).upper ()
232232
233233 if choice == 'Q' :
234234 raise SqlmapUserQuitException
@@ -243,7 +243,7 @@ def process(match, repl):
243243 lut = {PLACE .URI : '-u' , PLACE .CUSTOM_POST : '--data' , PLACE .CUSTOM_HEADER : '--headers/--user-agent/--referer/--cookie' }
244244 message = "custom injection marking character ('%s') found in option " % CUSTOM_INJECTION_MARK_CHAR
245245 message += "'%s'. Do you want to process it? [Y/n/q] " % lut [place ]
246- choice = readInput (message , default = 'Y' ).strip (). upper ()
246+ choice = readInput (message , default = 'Y' ).upper ()
247247
248248 if choice == 'Q' :
249249 raise SqlmapUserQuitException
0 commit comments