mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-18 12:30:36 +03:00
Update for an Issue #636 (to prevent eventual future reports with lack of stack trace)
This commit is contained in:
parent
2f8846caec
commit
17742df0fa
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user