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

Skip to content

Commit c0d4db3

Browse files
committed
URI injection patch (on request by @bojanisc)
1 parent d086b2a commit c0d4db3

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/core/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def payload(self, place=None, parameter=None, value=None, newValue=None, where=N
107107
else:
108108
origValue = filter(None, (re.search(_, origValue.split(BOUNDED_INJECTION_MARKER)[0]) for _ in (r"\w+\Z", r"[^\"'><]+\Z", r"[^ ]+\Z")))[0].group(0)
109109
origValue = origValue[origValue.rfind('/') + 1:]
110-
for char in ('?', '=', ':', ','):
110+
for char in ('?', '=', ':', ',', '&'):
111111
if char in origValue:
112112
origValue = origValue[origValue.rfind(char) + 1:]
113113
elif place == PLACE.CUSTOM_POST:

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.3.1.47"
22+
VERSION = "1.3.1.48"
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
@@ -27,7 +27,7 @@ eaccf6204d8c44cee9daba955af0c85e lib/controller/checks.py
2727
3c18f0b1d1b9fda682201a264f170b31 lib/controller/controller.py
2828
e97a9d34fef5761a8eab6432ce3c7c53 lib/controller/handler.py
2929
fb6be55d21a70765e35549af2484f762 lib/controller/__init__.py
30-
6da66134fec9d81492e5b7c7241fdbd9 lib/core/agent.py
30+
ed7874be0d2d3802f3d20184f2b280d5 lib/core/agent.py
3131
fdabbf8dda7277e5f4e3d0a6252cffb6 lib/core/bigarray.py
3232
4706fb856c1662ef5afd747544d0d8cb lib/core/common.py
3333
de8d27ae6241163ff9e97aa9e7c51a18 lib/core/convert.py
@@ -49,7 +49,7 @@ fe370021c6bc99daf44b2bfc0d1effb3 lib/core/patch.py
4949
9a7d68d5fa01561500423791f15cc676 lib/core/replication.py
5050
3179d34f371e0295dd4604568fb30bcd lib/core/revision.py
5151
d6269c55789f78cf707e09a0f5b45443 lib/core/session.py
52-
5e0f2b028357ec0b63678438fca8c4d5 lib/core/settings.py
52+
e6b4873ae0e82e43a62dcdfd670feb61 lib/core/settings.py
5353
a8a7501d1e6b21669b858a62e921d191 lib/core/shell.py
5454
5dc606fdf0afefd4b305169c21ab2612 lib/core/subprocessng.py
5555
eec3080ba5baca44c6de4595f1c92a0d lib/core/target.py

0 commit comments

Comments
 (0)