Skip to content

Commit 95b69d2

Browse files
committed
Minor patch for Python drei
1 parent 3d01a91 commit 95b69d2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

extra/vulnserver/vulnserver.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ def do_REQUEST(self):
110110
elif self.data.startswith('<') and self.data.endswith('>'):
111111
params.update(dict((_[0], _[1].replace("&apos;", "'").replace("&quot;", '"').replace("&lt;", '<').replace("&gt;", '>').replace("&amp;", '&')) for _ in re.findall(r'name="([^"]+)" value="([^"]*)"', self.data)))
112112
else:
113+
self.data = self.data.replace(';', '&') # Note: seems that Python3 started ignoring parameter splitting with ';'
113114
params.update(parse_qs(self.data))
114115

115116
for name in self.headers:

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.5.9.19"
23+
VERSION = "1.5.9.20"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

0 commit comments

Comments
 (0)