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

Skip to content

Commit 105e314

Browse files
committed
Fixes #4596
1 parent dd963a0 commit 105e314

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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.5.3.2"
21+
VERSION = "1.5.3.3"
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/techniques/blind/inference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def tryHint(idx):
217217

218218
markingValue = "'%s'" % CHAR_INFERENCE_MARK
219219
unescapedCharValue = unescaper.escape("'%s'" % decodeIntToUnicode(posValue))
220-
forgedPayload = agent.extractPayload(payload)
220+
forgedPayload = agent.extractPayload(payload) or ""
221221
forgedPayload = safeStringFormat(forgedPayload.replace(INFERENCE_GREATER_CHAR, INFERENCE_EQUALS_CHAR), (expressionUnescaped, idx, posValue)).replace(markingValue, unescapedCharValue)
222222
result = Request.queryPage(agent.replacePayload(payload, forgedPayload), timeBasedCompare=timeBasedCompare, raise404=False)
223223
incrementCounter(getTechnique())

0 commit comments

Comments
 (0)