From d9315830f9ce83a61e6c5679e51623ffde914127 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 5 Jul 2016 09:20:04 +0200 Subject: [PATCH] Less problematic regex for MsSQL errors --- lib/core/settings.py | 4 ++-- xml/errors.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index c21ff98d0..7c35ed59c 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.7.5" +VERSION = "1.0.7.6" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev") @@ -612,7 +612,7 @@ MAX_HELP_OPTION_LENGTH = 18 MAX_CONNECT_RETRIES = 100 # Strings for detecting formatting errors -FORMAT_EXCEPTION_STRINGS = ("Type mismatch", "Error converting", "Conversion failed", "String or binary data would be truncated", "Failed to convert", "unable to interpret text value", "Input string was not in a correct format", "System.FormatException", "java.lang.NumberFormatException", "ValueError: invalid literal", "DataTypeMismatchException", "CF_SQL_INTEGER", "InvalidParamTypeException", "Invalid parameter type") +FORMAT_EXCEPTION_STRINGS = ("Type mismatch", "Error converting", "Conversion failed", "String or binary data would be truncated", "Failed to convert", "unable to interpret text value", "Input string was not in a correct format", "System.FormatException", "java.lang.NumberFormatException", "ValueError: invalid literal", "DataTypeMismatchException", "CF_SQL_INTEGER", "InvalidParamTypeException", "Invalid parameter type", "__VIEWSTATE[^"]*)[^>]+value="(?P[^"]+)' diff --git a/xml/errors.xml b/xml/errors.xml index 7204bcd24..9609e3562 100644 --- a/xml/errors.xml +++ b/xml/errors.xml @@ -27,7 +27,7 @@ - +