From 17742df0faca68684a5a8c60dcf8bcada2c5db27 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 11 Mar 2014 21:18:31 +0100 Subject: [PATCH] Update for an Issue #636 (to prevent eventual future reports with lack of stack trace) --- lib/core/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/common.py b/lib/core/common.py index ebdb5e165..719afd99a 100755 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -1498,7 +1498,7 @@ def safeStringFormat(format_, params): if count < len(params): retVal = retVal[:index] + getUnicode(params[count]) + retVal[index + 2:] else: - raise SqlmapNoneDataException("wrong number of parameters during string formatting") + raise Exception("wrong number of parameters during string formatting") count += 1 return retVal