Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 95a28f2

Browse files
committed
Adding new 3rd party library
1 parent dc20c4f commit 95a28f2

5 files changed

Lines changed: 958 additions & 4 deletions

File tree

doc/THIRD-PARTY.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,8 @@ be bound by the terms and conditions of this License Agreement.
281281
Copyright (C) 2012, Marcel Hellkamp.
282282
* The ordereddict library located under thirdparty/odict/.
283283
Copyright (C) 2009, Raymond Hettinger.
284+
* The six Python 2 and 3 compatibility library located under thirdparty/six/.
285+
Copyright (C) 2010-2018, Benjamin Peterson.
284286
* The Termcolor library located under thirdparty/termcolor/.
285287
Copyright (C) 2008-2011, Volvox Development Team.
286288

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from lib.core.enums import OS
1818

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

thirdparty/ansistrm/ansistrm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
import logging
77
import os
88
import re
9-
import subprocess
109
import sys
1110

1211
from lib.core.convert import stdoutencode
12+
from lib.core.settings import IS_WIN
1313

14-
if subprocess.mswindows:
14+
if IS_WIN:
1515
import ctypes
1616
import ctypes.wintypes
1717

@@ -74,7 +74,7 @@ def emit(self, record):
7474
except:
7575
self.handleError(record)
7676

77-
if not subprocess.mswindows:
77+
if not IS_WIN:
7878
def output_colorized(self, message):
7979
self.stream.write(message)
8080
else:

thirdparty/six/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)