diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 69aa96e6c..3e4698c5c 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -817,6 +817,8 @@ def heuristicCheckDbms(injection): infoMsg += "could be '%s' " % retVal logger.info(infoMsg) + kb.heuristicExtendedDbms = retVal + return retVal def checkFalsePositives(injection): diff --git a/lib/controller/handler.py b/lib/controller/handler.py index 1234478e9..98f4dab40 100644 --- a/lib/controller/handler.py +++ b/lib/controller/handler.py @@ -70,7 +70,7 @@ def setHandler(): (DBMS.INFORMIX, INFORMIX_ALIASES, InformixMap, InformixConn), ] - _ = max(_ if (Backend.getIdentifiedDbms() or "").lower() in _[1] else None for _ in items) + _ = max(_ if (Backend.getIdentifiedDbms() or kb.heuristicExtendedDbms or "").lower() in _[1] else None for _ in items) if _: items.remove(_) items.insert(0, _) diff --git a/lib/core/option.py b/lib/core/option.py index 6edf99628..cb51ee479 100755 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -1922,6 +1922,7 @@ def _setKnowledgeBaseAttributes(flushAll=True): kb.futileUnion = None kb.headersFp = {} kb.heuristicDbms = None + kb.heuristicExtendedDbms = None kb.heuristicMode = False kb.heuristicPage = False kb.heuristicTest = None diff --git a/lib/core/settings.py b/lib/core/settings.py index bb31b7ff4..407a1501d 100755 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME from lib.core.enums import OS # sqlmap version (...) -VERSION = "1.1.6.3" +VERSION = "1.1.6.4" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) diff --git a/txt/checksum.md5 b/txt/checksum.md5 index 21d108250..cf69c73ad 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -21,9 +21,9 @@ c55b400b72acc43e0e59c87dd8bb8d75 extra/shellcodeexec/windows/shellcodeexec.x32. 310efc965c862cfbd7b0da5150a5ad36 extra/sqlharvest/__init__.py 7713aa366c983cdf1f3dbaa7383ea9e1 extra/sqlharvest/sqlharvest.py 7afe836fd97271ccba67b4c0da2482ff lib/controller/action.py -cc6623fc0a9790818317653b9463a96d lib/controller/checks.py +f77daa397016460433d5e06704efd538 lib/controller/checks.py 130d1c16708668b8d89605b6b5b38bf5 lib/controller/controller.py -52a3969f57170e935e3fc0156335bf2c lib/controller/handler.py +a97df93b552ee4e4ba3692eae870de7c lib/controller/handler.py 310efc965c862cfbd7b0da5150a5ad36 lib/controller/__init__.py d58e85ffeac2471ef3af729076b3b5f7 lib/core/agent.py 6cc95a117fbd34ef31b9aa25520f0e31 lib/core/bigarray.py @@ -40,13 +40,13 @@ b9ff4e622c416116bee6024c0f050349 lib/core/enums.py 310efc965c862cfbd7b0da5150a5ad36 lib/core/__init__.py 9ba39bf66e9ecd469446bdbbeda906c3 lib/core/log.py edcfce0850771e6454acef244d5c5760 lib/core/optiondict.py -9eb46811650036aac410b3dde20a86f4 lib/core/option.py +a09c6ceee8dbb624cc3ca1d17749c8a5 lib/core/option.py 5f2f56e6c5f274408df61943f1e080c0 lib/core/profiling.py 40be71cd774662a7b420caeb7051e7d5 lib/core/readlineng.py d8e9250f3775119df07e9070eddccd16 lib/core/replication.py 785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py 40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py -7dae5446f2587e632536d540c3950848 lib/core/settings.py +6e7731aa5bc04ef76a597c91e0701665 lib/core/settings.py d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py 2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py 8136241fdbdb99a5dc0e51ba72918f6e lib/core/target.py