mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-27 08:23:14 +03:00
Fix for a bug reported by the user (conf.scheme/conf.hostname/conf.port were None in multiple targets mode)
This commit is contained in:
parent
0e4800f73c
commit
dbfa8f1cfc
|
@ -127,7 +127,7 @@ def crawl(target):
|
||||||
test = readInput(message, default="n")
|
test = readInput(message, default="n")
|
||||||
if test[0] in ("y", "Y"):
|
if test[0] in ("y", "Y"):
|
||||||
items = None
|
items = None
|
||||||
url = "%s://%s:%d/sitemap.xml" % (conf.scheme, conf.hostname, conf.port)
|
url = urlparse.urljoin(target, "/sitemap.xml")
|
||||||
try:
|
try:
|
||||||
items = parseSitemap(url)
|
items = parseSitemap(url)
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user