mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +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")
|
||||
if test[0] in ("y", "Y"):
|
||||
items = None
|
||||
url = "%s://%s:%d/sitemap.xml" % (conf.scheme, conf.hostname, conf.port)
|
||||
url = urlparse.urljoin(target, "/sitemap.xml")
|
||||
try:
|
||||
items = parseSitemap(url)
|
||||
except:
|
||||
|
|
Loading…
Reference in New Issue
Block a user