mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
Changing default answer for sitemap checking to N
This commit is contained in:
@@ -123,9 +123,9 @@ def crawl(target):
|
||||
|
||||
if not conf.sitemapUrl:
|
||||
message = "do you want to check for the existence of "
|
||||
message += "site's sitemap(.xml) [Y/n] "
|
||||
test = readInput(message, default="Y")
|
||||
if test[0] not in ("n", "N"):
|
||||
message += "site's sitemap(.xml) [y/N] "
|
||||
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)
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user