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

Skip to content

Commit bf83a4d

Browse files
committed
Fixes #3532
1 parent 8ed5e88 commit bf83a4d

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

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.3.28"
22+
VERSION = "1.3.3.29"
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
@@ -212,7 +212,7 @@ def process(match, repl):
212212
if not (kb.processUserMarks and kb.customInjectionMark in conf.data):
213213
conf.data = getattr(conf.data, UNENCODED_ORIGINAL_VALUE, conf.data)
214214
conf.data = conf.data.replace(kb.customInjectionMark, ASTERISK_MARKER)
215-
conf.data = re.sub(r"(?si)((Content-Disposition[^\n]+?name\s*=\s*[\"']?(?P<name>[^\"'\r\n]+)[\"']?).+?)(((\r)?\n)+--)", functools.partial(process, repl=r"\g<1>%s\g<4>" % kb.customInjectionMark), conf.data)
215+
conf.data = re.sub(r"(?si)((Content-Disposition[^\n]+?name\s*=\s*[\"']?(?P<name>[^\"'\r\n]+)[\"']?).+?)((%s)+--)" % ("\r\n" if "\r\n" in conf.data else '\n'), functools.partial(process, repl=r"\g<1>%s\g<4>" % kb.customInjectionMark), conf.data)
216216

217217
kb.postHint = POST_HINT.MULTIPART
218218

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ d5ef43fe3cdd6c2602d7db45651f9ceb lib/core/readlineng.py
5050
7d8a22c582ad201f65b73225e4456170 lib/core/replication.py
5151
3179d34f371e0295dd4604568fb30bcd lib/core/revision.py
5252
d6269c55789f78cf707e09a0f5b45443 lib/core/session.py
53-
7789d478c81532fe4480ceeee2498ea3 lib/core/settings.py
53+
96b86cf1a93128720caa88a22f604ea1 lib/core/settings.py
5454
4483b4a5b601d8f1c4281071dff21ecc lib/core/shell.py
5555
10fd19b0716ed261e6d04f311f6f527c lib/core/subprocessng.py
56-
d9483455ff80d33a55db46ae2fa34a05 lib/core/target.py
56+
10d7e4f7ba2502cce5cf69223c52eddc lib/core/target.py
5757
7857b24b7865ccb4a05283faa596974d lib/core/testing.py
5858
5c369aefa7c5af85dee9212acdf94bbc lib/core/threads.py
5959
2c263c8610667fdc593c50a35ab20f57 lib/core/unescaper.py

0 commit comments

Comments
 (0)