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

Skip to content

Commit 7cca56e

Browse files
committed
Fixes #2052
1 parent e21d751 commit 7cca56e

3 files changed

Lines changed: 9 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.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.7.37"
22+
VERSION = "1.0.7.38"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

lib/techniques/union/use.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,13 @@ def _(regex):
111111
for column in kb.dumpColumns:
112112
base64 = True
113113
for child in root:
114+
value = child.attrib.get(column, "").strip()
115+
if value and not re.match(r"\A[a-zA-Z0-9+/]+={0,2}\Z", value):
116+
base64 = False
117+
break
118+
114119
try:
115-
child.attrib.get(column, "").decode("base64")
120+
value.decode("base64")
116121
except binascii.Error:
117122
base64 = False
118123
break

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py
4545
5ef56abb8671c2ca6ceecb208258e360 lib/core/replication.py
4646
99a2b496b9d5b546b335653ca801153f lib/core/revision.py
4747
7c15dd2777af4dac2c89cab6df17462e lib/core/session.py
48-
749b065d8f4407b77b7b91cbe2a07314 lib/core/settings.py
48+
97d3d003cad815f9119e4757abd3a70e lib/core/settings.py
4949
7af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
5050
23657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
5151
0bc2fae1dec18cdd11954b22358293f2 lib/core/target.py
@@ -99,7 +99,7 @@ cc9c82cfffd8ee9b25ba3af6284f057e lib/techniques/error/__init__.py
9999
cc9c82cfffd8ee9b25ba3af6284f057e lib/techniques/__init__.py
100100
cc9c82cfffd8ee9b25ba3af6284f057e lib/techniques/union/__init__.py
101101
f5d6884cdeed28281187c111d3e49e3b lib/techniques/union/test.py
102-
4342d76e9f8d40d8367ae95517aaa4ee lib/techniques/union/use.py
102+
395d966e394a11e45be50dfa8f01961b lib/techniques/union/use.py
103103
2dfc03a7322c46deb2e5353a7fd4be5e lib/utils/api.py
104104
8cdc8c1e663c3b92a756fb7b02cc3c02 lib/utils/crawler.py
105105
393f8fd1684308213e1d2e6a9d4258c2 lib/utils/deps.py

0 commit comments

Comments
 (0)