File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55See the file 'doc/COPYING' for copying permission
66"""
77
8+ import binascii
89import cookielib
910import glob
1011import 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 ()
Original file line number Diff line number Diff line change 1919from 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 "
2323TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2424TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2525VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change @@ -39,13 +39,13 @@ e4aec2b11c1ad6039d0c3dbbfbc5eb1a lib/core/exception.py
3939cc9c82cfffd8ee9b25ba3af6284f057e lib/core/__init__.py
404091c514013daa796e2cdd940389354eac lib/core/log.py
4141d027df65e7cbb99758daf77aaa6ab61c lib/core/optiondict.py
42- 6a67d7d1e09c0630df77e55d78cbff13 lib/core/option.py
42+ 842283f2e2f13433f1a01c7519a4a222 lib/core/option.py
43437af487340c138f7b5dbd443161cbb428 lib/core/profiling.py
4444e60456db5380840a586654344003d4e6 lib/core/readlineng.py
45455ef56abb8671c2ca6ceecb208258e360 lib/core/replication.py
464699a2b496b9d5b546b335653ca801153f lib/core/revision.py
47477c15dd2777af4dac2c89cab6df17462e lib/core/session.py
48- e4a80a2ccebb066cefb26a187696d4bc lib/core/settings.py
48+ 529ec362d9a6e26355fd24c915c8e58f lib/core/settings.py
49497af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
505023657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
5151c3ace7874a536d801f308cf1fd03df99 lib/core/target.py
You can’t perform that action at this time.
0 commit comments