From 31aa9be1c78d745e9baa286db607772c67efe32d Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 4 Oct 2012 15:40:11 +0200 Subject: [PATCH] Minor update --- 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 a03a549ec..9468422f7 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