Skip to content

Commit 2e193fe

Browse files
committed
Minor patch (Python 3.3)
1 parent 130bcd4 commit 2e193fe

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.3.5.133"
21+
VERSION = "1.3.5.134"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

thirdparty/identywaf/identYwaf.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@
3333
import http.client as httplib
3434
import urllib.request
3535

36-
IS_WIN = subprocess._mswindows
37-
3836
build_opener = urllib.request.build_opener
3937
install_opener = urllib.request.install_opener
4038
quote = urllib.parse.quote
@@ -51,8 +49,6 @@
5149
import urllib
5250
import urllib2
5351

54-
IS_WIN = subprocess.mswindows
55-
5652
build_opener = urllib2.build_opener
5753
install_opener = urllib2.install_opener
5854
quote = urllib.quote
@@ -66,7 +62,7 @@
6662
sys.stdout = codecs.getwriter(locale.getpreferredencoding())(sys.stdout)
6763

6864
NAME = "identYwaf"
69-
VERSION = "1.0.110"
65+
VERSION = "1.0.111"
7066
BANNER = """
7167
` __ __ `
7268
____ ___ ___ ____ ______ `| T T` __ __ ____ _____
@@ -90,6 +86,7 @@
9086
DATA_JSON_FILE = os.path.join(os.path.dirname(__file__), "data.json")
9187
MAX_HELP_OPTION_LENGTH = 18
9288
IS_TTY = sys.stdout.isatty()
89+
IS_WIN = os.name == "nt"
9390
COLORIZE = not IS_WIN and IS_TTY
9491
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"}
9592
VERIFY_OK_INTERVAL = 5

0 commit comments

Comments
 (0)