mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-08 07:03:10 +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
|
from thirdparty.six import unichr as _unichr
|
||||||
|
|
||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
# 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 = "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)
|
||||||
|
|
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 http.client as httplib
|
||||||
import urllib.request
|
import urllib.request
|
||||||
|
|
||||||
IS_WIN = subprocess._mswindows
|
|
||||||
|
|
||||||
build_opener = urllib.request.build_opener
|
build_opener = urllib.request.build_opener
|
||||||
install_opener = urllib.request.install_opener
|
install_opener = urllib.request.install_opener
|
||||||
quote = urllib.parse.quote
|
quote = urllib.parse.quote
|
||||||
|
@ -51,8 +49,6 @@ else:
|
||||||
import urllib
|
import urllib
|
||||||
import urllib2
|
import urllib2
|
||||||
|
|
||||||
IS_WIN = subprocess.mswindows
|
|
||||||
|
|
||||||
build_opener = urllib2.build_opener
|
build_opener = urllib2.build_opener
|
||||||
install_opener = urllib2.install_opener
|
install_opener = urllib2.install_opener
|
||||||
quote = urllib.quote
|
quote = urllib.quote
|
||||||
|
@ -66,7 +62,7 @@ else:
|
||||||
sys.stdout = codecs.getwriter(locale.getpreferredencoding())(sys.stdout)
|
sys.stdout = codecs.getwriter(locale.getpreferredencoding())(sys.stdout)
|
||||||
|
|
||||||
NAME = "identYwaf"
|
NAME = "identYwaf"
|
||||||
VERSION = "1.0.110"
|
VERSION = "1.0.111"
|
||||||
BANNER = """
|
BANNER = """
|
||||||
` __ __ `
|
` __ __ `
|
||||||
____ ___ ___ ____ ______ `| T T` __ __ ____ _____
|
____ ___ ___ ____ ______ `| T T` __ __ ____ _____
|
||||||
|
@ -90,6 +86,7 @@ DATA_JSON = {}
|
||||||
DATA_JSON_FILE = os.path.join(os.path.dirname(__file__), "data.json")
|
DATA_JSON_FILE = os.path.join(os.path.dirname(__file__), "data.json")
|
||||||
MAX_HELP_OPTION_LENGTH = 18
|
MAX_HELP_OPTION_LENGTH = 18
|
||||||
IS_TTY = sys.stdout.isatty()
|
IS_TTY = sys.stdout.isatty()
|
||||||
|
IS_WIN = os.name == "nt"
|
||||||
COLORIZE = not IS_WIN and IS_TTY
|
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"}
|
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
|
VERIFY_OK_INTERVAL = 5
|
||||||
|
|
Loading…
Reference in New Issue
Block a user