mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Update for an Issue #636 (to prevent eventual future reports with lack of stack trace)
This commit is contained in:
@@ -1498,7 +1498,7 @@ def safeStringFormat(format_, params):
|
|||||||
if count < len(params):
|
if count < len(params):
|
||||||
retVal = retVal[:index] + getUnicode(params[count]) + retVal[index + 2:]
|
retVal = retVal[:index] + getUnicode(params[count]) + retVal[index + 2:]
|
||||||
else:
|
else:
|
||||||
raise SqlmapNoneDataException("wrong number of parameters during string formatting")
|
raise Exception("wrong number of parameters during string formatting")
|
||||||
count += 1
|
count += 1
|
||||||
|
|
||||||
return retVal
|
return retVal
|
||||||
|
|||||||
Reference in New Issue
Block a user