mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
Fixes #3926
This commit is contained in:
parent
b51f02c2ca
commit
ad785ea0a2
|
@ -18,7 +18,7 @@ from lib.core.enums import OS
|
||||||
from thirdparty.six import unichr as _unichr
|
from thirdparty.six import unichr as _unichr
|
||||||
|
|
||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||||
VERSION = "1.3.9.13"
|
VERSION = "1.3.9.14"
|
||||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
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)
|
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||||
|
|
4
thirdparty/clientform/clientform.py
vendored
4
thirdparty/clientform/clientform.py
vendored
|
@ -227,6 +227,9 @@ def unescape(data, entities, encoding=DEFAULT_ENCODING):
|
||||||
if data is None or "&" not in data:
|
if data is None or "&" not in data:
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
if isinstance(data, six.string_types):
|
||||||
|
encoding = None
|
||||||
|
|
||||||
def replace_entities(match, entities=entities, encoding=encoding):
|
def replace_entities(match, entities=entities, encoding=encoding):
|
||||||
ent = match.group()
|
ent = match.group()
|
||||||
if ent[1] == "#":
|
if ent[1] == "#":
|
||||||
|
@ -279,7 +282,6 @@ def get_entitydefs():
|
||||||
entitydefs["&%s;" % name] = _unichr(codepoint)
|
entitydefs["&%s;" % name] = _unichr(codepoint)
|
||||||
return entitydefs
|
return entitydefs
|
||||||
|
|
||||||
|
|
||||||
def issequence(x):
|
def issequence(x):
|
||||||
try:
|
try:
|
||||||
x[0]
|
x[0]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user