mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +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:
|
if not conf.sitemapUrl:
|
||||||
message = "do you want to check for the existence of "
|
message = "do you want to check for the existence of "
|
||||||
message += "site's sitemap(.xml) [Y/n] "
|
message += "site's sitemap(.xml) [y/N] "
|
||||||
test = readInput(message, default="Y")
|
test = readInput(message, default="n")
|
||||||
if test[0] not in ("n", "N"):
|
if test[0] in ("y", "Y"):
|
||||||
items = None
|
items = None
|
||||||
url = "%s://%s:%d/sitemap.xml" % (conf.scheme, conf.hostname, conf.port)
|
url = "%s://%s:%d/sitemap.xml" % (conf.scheme, conf.hostname, conf.port)
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user