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

Skip to content

Commit 4b5927b

Browse files
committed
Fixes #3967
1 parent 1fa81fe commit 4b5927b

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5012,7 +5012,7 @@ def _parseBurpLog(content):
50125012
port, request = match.groups()
50135013
try:
50145014
request = decodeBase64(request, binary=False)
5015-
except binascii.Error:
5015+
except (binascii.Error, TypeError):
50165016
continue
50175017
_ = re.search(r"%s:.+" % re.escape(HTTP_HEADER.HOST), request)
50185018
if _:

lib/core/settings.py

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

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

lib/techniques/union/use.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def _(regex):
123123

124124
try:
125125
decodeBase64(value)
126-
except binascii.Error:
126+
except (binascii.Error, TypeError):
127127
base64 = False
128128
break
129129

lib/utils/hash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ def dictionaryAttack(attack_dict):
10001000
resumes.append((user, hash_, resumed))
10011001
keys.add(hash_)
10021002

1003-
except (binascii.Error, IndexError):
1003+
except (binascii.Error, TypeError, IndexError):
10041004
pass
10051005

10061006
if not attack_info:

0 commit comments

Comments
 (0)