Skip to content

Commit 95e476d

Browse files
committed
1 parent cc8209d commit 95e476d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

lib/core/option.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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]

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from 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"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

0 commit comments

Comments
 (0)