From e275e8c0b03f3b0b9d2d87347f19f969851d8f4c Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 3 Jun 2016 02:02:11 +0200 Subject: [PATCH] Fixes #1921 --- lib/core/option.py | 2 +- lib/core/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/option.py b/lib/core/option.py index 9e37d3cc4..3318e09bd 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -1612,7 +1612,7 @@ def _cleanupOptions(): conf.testParameter = [] if conf.agent: - conf.agent = conf.agent.strip("\r\n") + conf.agent = re.sub(r"[\r\n]", "", conf.agent) if conf.user: conf.user = conf.user.replace(" ", "") diff --git a/lib/core/settings.py b/lib/core/settings.py index 040fb3d8a..f0d090043 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -VERSION = "1.0.6.11" +VERSION = "1.0.6.12" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")