Skip to content

Commit 7d8fbab

Browse files
committed
Fixes #3069
1 parent 5580db0 commit 7d8fbab

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

‎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.2.4.21"
22+
VERSION = "1.2.4.22"
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)

‎lib/core/target.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def process(match, repl):
230230
if kb.customInjectionMark not in conf.data: # in case that no usable parameter values has been found
231231
conf.parameters[PLACE.POST] = conf.data
232232

233-
kb.processUserMarks = True if (kb.postHint and kb.customInjectionMark in conf.data) else kb.processUserMarks
233+
kb.processUserMarks = True if (kb.postHint and kb.customInjectionMark in (conf.data or "")) else kb.processUserMarks
234234

235235
if re.search(URI_INJECTABLE_REGEX, conf.url, re.I) and not any(place in conf.parameters for place in (PLACE.GET, PLACE.POST)) and not kb.postHint and kb.customInjectionMark not in (conf.data or "") and conf.url.startswith("http"):
236236
warnMsg = "you've provided target URL without any GET "

‎txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ c9a56e58984420a5abb7a3f7aadc196d lib/core/optiondict.py
4646
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4747
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
4848
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
49-
2f9027a2ceb362b21119d335bbcdaa4c lib/core/settings.py
49+
2fb08059839ea1dc9972548c58e210e9 lib/core/settings.py
5050
0dfc2ed40adf72e302291f6ecd4406f6 lib/core/shell.py
5151
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
52-
a35efa7bec9f1e6cedf17c9830a79241 lib/core/target.py
52+
6306284edcccc185b2df085438572b0d lib/core/target.py
5353
72d499ca8d792e90a1ebfb2ad2341a51 lib/core/testing.py
5454
de9922a29c71a235cb95a916ff925db2 lib/core/threads.py
5555
c40758411bb0bd68764d78e0bb72bd0f lib/core/unescaper.py

0 commit comments

Comments
 (0)