Skip to content

Commit e7315cc

Browse files
committed
Fixes #4861
1 parent e435d1e commit e7315cc

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

lib/core/settings.py

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

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

sqlmap.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,13 @@
5757
from lib.core.common import setPaths
5858
from lib.core.common import weAreFrozen
5959
from lib.core.convert import getUnicode
60-
from lib.core.data import cmdLineOptions
61-
from lib.core.data import conf
62-
from lib.core.data import kb
6360
from lib.core.common import MKSTEMP_PREFIX
6461
from lib.core.common import setColor
6562
from lib.core.common import unhandledExceptionMessage
63+
from lib.core.data import cmdLineOptions
64+
from lib.core.data import conf
65+
from lib.core.data import kb
66+
from lib.core.datatype import OrderedSet
6667
from lib.core.compat import LooseVersion
6768
from lib.core.compat import xrange
6869
from lib.core.exception import SqlmapBaseException
@@ -190,7 +191,7 @@ def main():
190191
target = None
191192

192193
try:
193-
kb.targets.clear()
194+
kb.targets = OrderedSet()
194195
target = targets[i]
195196

196197
if not re.search(r"(?i)\Ahttp[s]*://", target):

0 commit comments

Comments
 (0)