mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-03 11:45:46 +03:00
Fixes #3967
This commit is contained in:
parent
1fa81fedf3
commit
4b5927b734
|
@ -5012,7 +5012,7 @@ def parseRequestFile(reqFile, checkParams=True):
|
|||
port, request = match.groups()
|
||||
try:
|
||||
request = decodeBase64(request, binary=False)
|
||||
except binascii.Error:
|
||||
except (binascii.Error, TypeError):
|
||||
continue
|
||||
_ = re.search(r"%s:.+" % re.escape(HTTP_HEADER.HOST), request)
|
||||
if _:
|
||||
|
|
|
@ -18,7 +18,7 @@ from lib.core.enums import OS
|
|||
from thirdparty.six import unichr as _unichr
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.3.10.13"
|
||||
VERSION = "1.3.10.14"
|
||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
||||
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||
|
|
|
@ -123,7 +123,7 @@ def _oneShotUnionUse(expression, unpack=True, limited=False):
|
|||
|
||||
try:
|
||||
decodeBase64(value)
|
||||
except binascii.Error:
|
||||
except (binascii.Error, TypeError):
|
||||
base64 = False
|
||||
break
|
||||
|
||||
|
|
|
@ -1000,7 +1000,7 @@ def dictionaryAttack(attack_dict):
|
|||
resumes.append((user, hash_, resumed))
|
||||
keys.add(hash_)
|
||||
|
||||
except (binascii.Error, IndexError):
|
||||
except (binascii.Error, TypeError, IndexError):
|
||||
pass
|
||||
|
||||
if not attack_info:
|
||||
|
|
Loading…
Reference in New Issue
Block a user