File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020from 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 "
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2626VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change 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 ):
You can’t perform that action at this time.
0 commit comments