mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-08 09:24:01 +01:00
Bug fix for crawling over non-80 port
This commit is contained in:
parent
adc8ac267d
commit
25b23750e8
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ def crawl(target):
|
||||||
test = readInput(message, default="Y")
|
test = readInput(message, default="Y")
|
||||||
if test[0] not in ("n", "N"):
|
if test[0] not in ("n", "N"):
|
||||||
items = None
|
items = None
|
||||||
url = "%s://%s/sitemap.xml" % (conf.scheme, conf.hostname)
|
url = "%s://%s:%d/sitemap.xml" % (conf.scheme, conf.hostname, conf.port)
|
||||||
try:
|
try:
|
||||||
items = parseSitemap(url)
|
items = parseSitemap(url)
|
||||||
except:
|
except:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue