From 1de6996c264b6541e8d4e902c2cf6602b0d19d8e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 25 May 2016 15:43:39 +0200 Subject: [PATCH] Fixes #1893 --- lib/core/option.py | 3 +++ lib/core/settings.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/core/option.py b/lib/core/option.py index 2dd8daf70..f26827c08 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -1591,6 +1591,9 @@ def _cleanupOptions(): else: conf.testParameter = [] + if conf.agent: + conf.agent = conf.agent.strip("\r\n") + if conf.user: conf.user = conf.user.replace(" ", "") diff --git a/lib/core/settings.py b/lib/core/settings.py index 98586a8f4..20039adb6 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.5.68" +VERSION = "1.0.5.69" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")