mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
More DREI stuff
This commit is contained in:
parent
d78590213b
commit
6244850749
|
@ -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.5.1.32"
|
VERSION = "1.5.1.33"
|
||||||
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)
|
||||||
|
|
6
thirdparty/bottle/bottle.py
vendored
6
thirdparty/bottle/bottle.py
vendored
|
@ -134,13 +134,17 @@ except IOError:
|
||||||
|
|
||||||
# Lots of stdlib and builtin differences.
|
# Lots of stdlib and builtin differences.
|
||||||
if py3k:
|
if py3k:
|
||||||
|
try:
|
||||||
|
from collections.abc import MutableMapping as DictMixin
|
||||||
|
except ImportError:
|
||||||
|
from collections import MutableMapping as DictMixin
|
||||||
|
|
||||||
import http.client as httplib
|
import http.client as httplib
|
||||||
import _thread as thread
|
import _thread as thread
|
||||||
from urllib.parse import urljoin, SplitResult as UrlSplitResult
|
from urllib.parse import urljoin, SplitResult as UrlSplitResult
|
||||||
from urllib.parse import urlencode, quote as urlquote, unquote as urlunquote
|
from urllib.parse import urlencode, quote as urlquote, unquote as urlunquote
|
||||||
urlunquote = functools.partial(urlunquote, encoding='latin1')
|
urlunquote = functools.partial(urlunquote, encoding='latin1')
|
||||||
from http.cookies import SimpleCookie
|
from http.cookies import SimpleCookie
|
||||||
from collections import MutableMapping as DictMixin
|
|
||||||
import pickle
|
import pickle
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
from configparser import ConfigParser, Error as ConfigParserError
|
from configparser import ConfigParser, Error as ConfigParserError
|
||||||
|
|
5
thirdparty/odict/ordereddict.py
vendored
5
thirdparty/odict/ordereddict.py
vendored
|
@ -23,7 +23,10 @@
|
||||||
try:
|
try:
|
||||||
from UserDict import DictMixin
|
from UserDict import DictMixin
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from collections import MutableMapping as DictMixin
|
try:
|
||||||
|
from collections.abc import MutableMapping as DictMixin
|
||||||
|
except ImportError:
|
||||||
|
from collections import MutableMapping as DictMixin
|
||||||
|
|
||||||
class OrderedDict(dict, DictMixin):
|
class OrderedDict(dict, DictMixin):
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user