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")