Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 04e6661

Browse files
committed
Minor update of FORMAT_EXCEPTION_STRINGS
1 parent c797129 commit 04e6661

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/core/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.5.3"
22+
VERSION = "1.0.5.4"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")
@@ -596,7 +596,7 @@
596596
MAX_CONNECT_RETRIES = 100
597597

598598
# Strings for detecting formatting errors
599-
FORMAT_EXCEPTION_STRINGS = ("Type mismatch", "Error converting", "Failed to convert", "System.FormatException", "java.lang.NumberFormatException", "ValueError: invalid literal")
599+
FORMAT_EXCEPTION_STRINGS = ("Type mismatch", "Error converting", "Conversion failed", "String or binary data would be truncated", "Failed to convert", "System.FormatException", "java.lang.NumberFormatException", "ValueError: invalid literal")
600600

601601
# Regular expression used for extracting ASP.NET view state values
602602
VIEWSTATE_REGEX = r'(?i)(?P<name>__VIEWSTATE[^"]*)[^>]+value="(?P<result>[^"]+)'

0 commit comments

Comments
 (0)