File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -341,7 +341,8 @@ def _setCrawler():
341341 if conf .bulkFile :
342342 targets = getFileItems (conf .bulkFile )
343343 else :
344- targets = parseSitemap (conf .sitemapUrl )
344+ targets = list (parseSitemap (conf .sitemapUrl ))
345+
345346 for i in xrange (len (targets )):
346347 try :
347348 target = targets [i ]
@@ -473,10 +474,13 @@ def _findPageForms():
473474 if conf .bulkFile :
474475 targets = getFileItems (conf .bulkFile )
475476 elif conf .sitemapUrl :
476- targets = parseSitemap (conf .sitemapUrl )
477+ targets = list ( parseSitemap (conf .sitemapUrl ) )
477478 elif conf .googleDork :
478479 targets = [_ [0 ] for _ in kb .targets ]
479480 kb .targets .clear ()
481+ else :
482+ targets = []
483+
480484 for i in xrange (len (targets )):
481485 try :
482486 target = targets [i ]
Original file line number Diff line number Diff line change 1818from thirdparty .six import unichr as _unichr
1919
2020# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21- VERSION = "1.3.9.18 "
21+ VERSION = "1.3.9.19 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
You can’t perform that action at this time.
0 commit comments