diff --git a/lib/core/settings.py b/lib/core/settings.py index a7e22a9ba..381b626fc 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from thirdparty import six from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.5.10.15" +VERSION = "1.5.10.16" 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) diff --git a/sqlmap.py b/sqlmap.py index 047aee9e3..d3b8b872d 100755 --- a/sqlmap.py +++ b/sqlmap.py @@ -57,12 +57,13 @@ try: from lib.core.common import setPaths from lib.core.common import weAreFrozen from lib.core.convert import getUnicode - from lib.core.data import cmdLineOptions - from lib.core.data import conf - from lib.core.data import kb from lib.core.common import MKSTEMP_PREFIX from lib.core.common import setColor from lib.core.common import unhandledExceptionMessage + from lib.core.data import cmdLineOptions + from lib.core.data import conf + from lib.core.data import kb + from lib.core.datatype import OrderedSet from lib.core.compat import LooseVersion from lib.core.compat import xrange from lib.core.exception import SqlmapBaseException @@ -190,7 +191,7 @@ def main(): target = None try: - kb.targets.clear() + kb.targets = OrderedSet() target = targets[i] if not re.search(r"(?i)\Ahttp[s]*://", target):