From 5d2b5349080589ac004ef14a01e96c6586fca6d2 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 4 Oct 2012 15:23:01 +0200 Subject: [PATCH] Minor update (Issue #49) --- lib/core/target.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/target.py b/lib/core/target.py index e57285ab6..a03a549ec 100644 --- a/lib/core/target.py +++ b/lib/core/target.py @@ -94,7 +94,7 @@ def __setRequestParams(): raise sqlmapUserQuitException elif test[0] not in ("n", "N"): conf.data = re.sub(r'("[^"]+"\s*:\s*"[^"]+)"', r'\g<1>*"', conf.data) - conf.data = re.sub(r'("[^"]+"\s*:\s*)(\d+)', r'\g<1>"\g<2>*"', conf.data) + conf.data = re.sub(r'("[^"]+"\s*:\s*)([\d\.]+)', r'\g<1>"\g<2>*"', conf.data) kb.processUserMarks = True kb.postHint = POST_HINT.JSON