diff --git a/lib/core/settings.py b/lib/core/settings.py index 8f64a00f8..d10cf7059 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.37" +VERSION = "1.0.6.38" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev") diff --git a/lib/request/connect.py b/lib/request/connect.py index d589af495..577aa210a 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -630,7 +630,7 @@ class Connect(object): warnMsg = "unable to connect to the target URL" match = re.search(r"Errno \d+\] ([^>]+)", tbMsg) if match: - warnMsg += " ('%s')" % match.group(1) + warnMsg += " ('%s')" % match.group(1).strip() elif "NTLM" in tbMsg: warnMsg = "there has been a problem with NTLM authentication" elif "BadStatusLine" in tbMsg: