Skip to content

Commit 2cba4e2

Browse files
committed
Minor update
1 parent 8ec165d commit 2cba4e2

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

lib/controller/action.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ def action():
5454

5555
conf.dumper.singleString(conf.dbmsHandler.getFingerprint())
5656

57+
kb.fingerprinted = True
58+
5759
# Enumeration options
5860
if conf.getBanner:
5961
conf.dumper.banner(conf.dbmsHandler.getBanner())

lib/core/option.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1916,6 +1916,7 @@ def _setKnowledgeBaseAttributes(flushAll=True):
19161916
kb.errorIsNone = True
19171917
kb.falsePositives = []
19181918
kb.fileReadMode = False
1919+
kb.fingerprinted = False
19191920
kb.followSitemapRecursion = None
19201921
kb.forcedDbms = None
19211922
kb.forcePartialUnion = False

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

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

lib/request/inject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ def getValue(expression, blind=True, union=True, error=True, time=True, fromUser
499499

500500
kb.safeCharEncode = False
501501

502-
if not any((kb.testMode, conf.dummy, conf.offline)) and value is None and Backend.getDbms() and conf.dbmsHandler and not conf.noCast and not conf.hexConvert:
502+
if not any((kb.testMode, conf.dummy, conf.offline, conf.noCast, conf.hexConvert)) and value is None and Backend.getDbms() and conf.dbmsHandler and kb.fingerprinted:
503503
warnMsg = "in case of continuous data retrieval problems you are advised to try "
504504
warnMsg += "a switch '--no-cast' "
505505
warnMsg += "or switch '--hex'" if hasattr(queries[Backend.getIdentifiedDbms()], "hex") else ""

0 commit comments

Comments
 (0)