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

Skip to content

Commit 864711b

Browse files
committed
Minor improvement
1 parent 996ad59 commit 864711b

5 files changed

Lines changed: 9 additions & 6 deletions

File tree

lib/controller/checks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -817,6 +817,8 @@ def heuristicCheckDbms(injection):
817817
infoMsg += "could be '%s' " % retVal
818818
logger.info(infoMsg)
819819

820+
kb.heuristicExtendedDbms = retVal
821+
820822
return retVal
821823

822824
def checkFalsePositives(injection):

lib/controller/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def setHandler():
7070
(DBMS.INFORMIX, INFORMIX_ALIASES, InformixMap, InformixConn),
7171
]
7272

73-
_ = max(_ if (Backend.getIdentifiedDbms() or "").lower() in _[1] else None for _ in items)
73+
_ = max(_ if (Backend.getIdentifiedDbms() or kb.heuristicExtendedDbms or "").lower() in _[1] else None for _ in items)
7474
if _:
7575
items.remove(_)
7676
items.insert(0, _)

lib/core/option.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1922,6 +1922,7 @@ def _setKnowledgeBaseAttributes(flushAll=True):
19221922
kb.futileUnion = None
19231923
kb.headersFp = {}
19241924
kb.heuristicDbms = None
1925+
kb.heuristicExtendedDbms = None
19251926
kb.heuristicMode = False
19261927
kb.heuristicPage = False
19271928
kb.heuristicTest = None

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.1.6.3"
22+
VERSION = "1.1.6.4"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

txt/checksum.md5

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ c55b400b72acc43e0e59c87dd8bb8d75 extra/shellcodeexec/windows/shellcodeexec.x32.
2121
310efc965c862cfbd7b0da5150a5ad36 extra/sqlharvest/__init__.py
2222
7713aa366c983cdf1f3dbaa7383ea9e1 extra/sqlharvest/sqlharvest.py
2323
7afe836fd97271ccba67b4c0da2482ff lib/controller/action.py
24-
cc6623fc0a9790818317653b9463a96d lib/controller/checks.py
24+
f77daa397016460433d5e06704efd538 lib/controller/checks.py
2525
130d1c16708668b8d89605b6b5b38bf5 lib/controller/controller.py
26-
52a3969f57170e935e3fc0156335bf2c lib/controller/handler.py
26+
a97df93b552ee4e4ba3692eae870de7c lib/controller/handler.py
2727
310efc965c862cfbd7b0da5150a5ad36 lib/controller/__init__.py
2828
d58e85ffeac2471ef3af729076b3b5f7 lib/core/agent.py
2929
6cc95a117fbd34ef31b9aa25520f0e31 lib/core/bigarray.py
@@ -40,13 +40,13 @@ b9ff4e622c416116bee6024c0f050349 lib/core/enums.py
4040
310efc965c862cfbd7b0da5150a5ad36 lib/core/__init__.py
4141
9ba39bf66e9ecd469446bdbbeda906c3 lib/core/log.py
4242
edcfce0850771e6454acef244d5c5760 lib/core/optiondict.py
43-
9eb46811650036aac410b3dde20a86f4 lib/core/option.py
43+
a09c6ceee8dbb624cc3ca1d17749c8a5 lib/core/option.py
4444
5f2f56e6c5f274408df61943f1e080c0 lib/core/profiling.py
4545
40be71cd774662a7b420caeb7051e7d5 lib/core/readlineng.py
4646
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4747
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
4848
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
49-
7dae5446f2587e632536d540c3950848 lib/core/settings.py
49+
6e7731aa5bc04ef76a597c91e0701665 lib/core/settings.py
5050
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
5151
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5252
8136241fdbdb99a5dc0e51ba72918f6e lib/core/target.py

0 commit comments

Comments
 (0)