File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -290,16 +290,19 @@ def downloadThread():
290290 val = getChar (curidx )
291291
292292 if val is None :
293- if not kb .assumeBlank :
293+ if not kb .assumeEmpty :
294294 iolock .acquire ()
295+
295296 warnMsg = "failed to get character at index %d (expected %d total)." % (curidx , length )
296297 logger .warn (warnMsg )
297- message = "assume blank character? [Y/n/a]"
298- getOutput = readInput (message , default = "Y" )
298+
299+ message = "assume empty character? [Y/n/a]"
300+ choice = readInput (message , default = "Y" )
299301 iolock .release ()
300- if getOutput in ("a" , "A" ):
301- kb .assumeBlank = True
302- elif not getOutput or getOutput in ("y" , "Y" ):
302+
303+ if choice in ("a" , "A" ):
304+ kb .assumeEmpty = True
305+ elif not choice or choice in ("y" , "Y" ):
303306 pass # do nothing
304307 else :
305308 raise sqlmapValueException
You can’t perform that action at this time.
0 commit comments