mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-02 20:54:13 +03:00
Bug fix for crawling over non-80 port
This commit is contained in:
parent
adc8ac267d
commit
25b23750e8
|
@ -123,7 +123,7 @@ def crawl(target):
|
|||
test = readInput(message, default="Y")
|
||||
if test[0] not in ("n", "N"):
|
||||
items = None
|
||||
url = "%s://%s/sitemap.xml" % (conf.scheme, conf.hostname)
|
||||
url = "%s://%s:%d/sitemap.xml" % (conf.scheme, conf.hostname, conf.port)
|
||||
try:
|
||||
items = parseSitemap(url)
|
||||
except:
|
||||
|
|
Loading…
Reference in New Issue
Block a user