mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Subtle (sneaky) bug removed (related to #4051) - False or '' results with ''
This commit is contained in:
@@ -1123,8 +1123,10 @@ def readInput(message, default=None, checkBatch=True, boolean=False):
|
||||
|
||||
if boolean:
|
||||
retVal = retVal.strip().upper() == 'Y'
|
||||
else:
|
||||
retVal = retVal or ""
|
||||
|
||||
return retVal or ""
|
||||
return retVal
|
||||
|
||||
def setTechnique(technique):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user