mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
Minor patch (Python 3.3)
This commit is contained in:
parent
130bcd4b9b
commit
2e193fe1ef
|
@ -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.5.133"
|
||||
VERSION = "1.3.5.134"
|
||||
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)
|
||||
|
|
7
thirdparty/identywaf/identYwaf.py
vendored
7
thirdparty/identywaf/identYwaf.py
vendored
|
@ -33,8 +33,6 @@ if sys.version_info >= (3, 0):
|
|||
import http.client as httplib
|
||||
import urllib.request
|
||||
|
||||
IS_WIN = subprocess._mswindows
|
||||
|
||||
build_opener = urllib.request.build_opener
|
||||
install_opener = urllib.request.install_opener
|
||||
quote = urllib.parse.quote
|
||||
|
@ -51,8 +49,6 @@ else:
|
|||
import urllib
|
||||
import urllib2
|
||||
|
||||
IS_WIN = subprocess.mswindows
|
||||
|
||||
build_opener = urllib2.build_opener
|
||||
install_opener = urllib2.install_opener
|
||||
quote = urllib.quote
|
||||
|
@ -66,7 +62,7 @@ else:
|
|||
sys.stdout = codecs.getwriter(locale.getpreferredencoding())(sys.stdout)
|
||||
|
||||
NAME = "identYwaf"
|
||||
VERSION = "1.0.110"
|
||||
VERSION = "1.0.111"
|
||||
BANNER = """
|
||||
` __ __ `
|
||||
____ ___ ___ ____ ______ `| T T` __ __ ____ _____
|
||||
|
@ -90,6 +86,7 @@ DATA_JSON = {}
|
|||
DATA_JSON_FILE = os.path.join(os.path.dirname(__file__), "data.json")
|
||||
MAX_HELP_OPTION_LENGTH = 18
|
||||
IS_TTY = sys.stdout.isatty()
|
||||
IS_WIN = os.name == "nt"
|
||||
COLORIZE = not IS_WIN and IS_TTY
|
||||
LEVEL_COLORS = {"o": "\033[00;94m", "x": "\033[00;91m", "!": "\033[00;93m", "i": "\033[00;95m", "=": "\033[00;93m", "+": "\033[00;92m", "-": "\033[00;91m"}
|
||||
VERIFY_OK_INTERVAL = 5
|
||||
|
|
Loading…
Reference in New Issue
Block a user