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

Skip to content

Commit d4170f1

Browse files
committed
Patch for #2654
1 parent cb2258f commit d4170f1

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

lib/core/agent.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,7 @@ def payload(self, place=None, parameter=None, value=None, newValue=None, where=N
169169
retVal = paramString.replace(_, self.addPayloadDelimiters(newValue))
170170
retVal = retVal.replace(kb.customInjectionMark, "").replace(REPLACEMENT_MARKER, kb.customInjectionMark)
171171
elif BOUNDED_INJECTION_MARKER in paramDict[parameter]:
172-
_ = "%s%s" % (origValue, BOUNDED_INJECTION_MARKER)
173-
retVal = "%s=%s" % (re.sub(r" (\#\d\*|\(.+\))\Z", "", parameter), paramString.replace(_, self.addPayloadDelimiters(newValue)))
172+
retVal = paramString.replace("%s%s" % (origValue, BOUNDED_INJECTION_MARKER), self.addPayloadDelimiters(newValue))
174173
elif place in (PLACE.USER_AGENT, PLACE.REFERER, PLACE.HOST):
175174
retVal = paramString.replace(origValue, self.addPayloadDelimiters(newValue))
176175
else:

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.8.15"
22+
VERSION = "1.1.8.16"
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ c55b400b72acc43e0e59c87dd8bb8d75 extra/shellcodeexec/windows/shellcodeexec.x32.
2525
a66093c734c7f94ecdf94d882c2d8b89 lib/controller/controller.py
2626
926bdaf98d082a41fdd57bb41c1692d1 lib/controller/handler.py
2727
310efc965c862cfbd7b0da5150a5ad36 lib/controller/__init__.py
28-
ca0a4eba91d73c9d7adedabf528ca4f1 lib/core/agent.py
28+
9f1adb993f66da030a4168571978e6fa lib/core/agent.py
2929
6cc95a117fbd34ef31b9aa25520f0e31 lib/core/bigarray.py
3030
fc1f0a8732386fd502612fb4094fbcec lib/core/common.py
3131
5065a4242a8cccf72f91e22e1007ae63 lib/core/convert.py
@@ -46,7 +46,7 @@ c5f09788ee8ff9c9d12a052986875bc6 lib/core/option.py
4646
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4747
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
4848
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
49-
35c5e25bc24da66bf3df549e1f1db1ab lib/core/settings.py
49+
ee013c763555b6b099c00d7136f2971e lib/core/settings.py
5050
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
5151
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5252
4a6ecdd8a6e44bb4737bd9bc7f9b5743 lib/core/target.py

0 commit comments

Comments
 (0)