Skip to content

Commit ce19525

Browse files
committed
Fixes #2262
1 parent 6da2e49 commit ce19525

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

lib/core/option.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
See the file 'doc/COPYING' for copying permission
66
"""
77

8+
import binascii
89
import cookielib
910
import glob
1011
import inspect
@@ -218,7 +219,10 @@ def _parseBurpLog(content):
218219
reqResList = []
219220
for match in re.finditer(BURP_XML_HISTORY_REGEX, content, re.I | re.S):
220221
port, request = match.groups()
221-
request = request.decode("base64")
222+
try:
223+
request = request.decode("base64")
224+
except binascii.Error:
225+
continue
222226
_ = re.search(r"%s:.+" % re.escape(HTTP_HEADER.HOST), request)
223227
if _:
224228
host = _.group(0).strip()

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.0.11.2"
22+
VERSION = "1.0.11.3"
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
@@ -39,13 +39,13 @@ e4aec2b11c1ad6039d0c3dbbfbc5eb1a lib/core/exception.py
3939
cc9c82cfffd8ee9b25ba3af6284f057e lib/core/__init__.py
4040
91c514013daa796e2cdd940389354eac lib/core/log.py
4141
d027df65e7cbb99758daf77aaa6ab61c lib/core/optiondict.py
42-
6a67d7d1e09c0630df77e55d78cbff13 lib/core/option.py
42+
842283f2e2f13433f1a01c7519a4a222 lib/core/option.py
4343
7af487340c138f7b5dbd443161cbb428 lib/core/profiling.py
4444
e60456db5380840a586654344003d4e6 lib/core/readlineng.py
4545
5ef56abb8671c2ca6ceecb208258e360 lib/core/replication.py
4646
99a2b496b9d5b546b335653ca801153f lib/core/revision.py
4747
7c15dd2777af4dac2c89cab6df17462e lib/core/session.py
48-
e4a80a2ccebb066cefb26a187696d4bc lib/core/settings.py
48+
529ec362d9a6e26355fd24c915c8e58f lib/core/settings.py
4949
7af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
5050
23657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
5151
c3ace7874a536d801f308cf1fd03df99 lib/core/target.py

0 commit comments

Comments
 (0)