mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
Changing default answer for sitemap checking to N
This commit is contained in:
parent
1e7f2d6da2
commit
0e4800f73c
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user