File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919from lib .core .revision import getRevisionNumber
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.0.6.0 "
22+ VERSION = "1.0.6.1 "
2323REVISION = getRevisionNumber ()
2424STABLE = VERSION .count ('.' ) <= 2
2525VERSION_STRING = "sqlmap/%s#%s" % (VERSION , "stable" if STABLE else "dev" )
Original file line number Diff line number Diff line change @@ -628,6 +628,9 @@ class _(dict):
628628 warnMsg = "connection timed out to the target URL"
629629 elif "URLError" in tbMsg or "error" in tbMsg :
630630 warnMsg = "unable to connect to the target URL"
631+ match = re .search (r"Errno \d+\] ([^>]+)" , tbMsg )
632+ if match :
633+ warnMsg += " ('%s')" % match .group (1 )
631634 elif "NTLM" in tbMsg :
632635 warnMsg = "there has been a problem with NTLM authentication"
633636 elif "BadStatusLine" in tbMsg :
You can’t perform that action at this time.
0 commit comments