B. Robots.txt - This is a file used by web servers to communicate with web crawlers. The robots.txt file contains instructions on which parts of the server should not be accessed by the crawlers. It can provide a wealth of information about the structure of a website because it might list directories that are otherwise not linked or visible to a casual visitor. This can be accessed using a command like curl http://example.com/robots.txt.
D. index.html - This file typically serves as the landing page or home page of a website. While it's important and can contain hyperlinks to other parts of the website, it usually doesn't reveal the full structure of the website, unlike robots.txt, which may reveal directories not linked from the homepage.
The robots.txt file contains the list of the web server directories and files that the web site owner wants to hide from web crawlers
An attacker can simply request the Robots.txt file from the URL and retrieve sensitive information such as the root directory structure and content management system information about the target website
An attacker can also download the Robots.txt file of a target website using the Wget tool
Robots.txt is a file that webmasters use to communicate with web crawlers and other automated agents visiting their site. This file is often used to exclude certain directories or pages from being crawled, but it can also contain valuable information about the site's directory structure and organization. By examining the robots.txt file, an attacker can gain insight into the site's organization and potentially identify hidden or sensitive directories. Domain.txt is not a standard file used in web server configuration or operation. Document root is the root directory of the web server, and index.html is the default home page file. While these files can provide information about the web server and its configuration, they do not necessarily reveal the structure of the website.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
g_man_rap
6 months, 4 weeks agoinsaniunt
11 months agoIPconfig
1 year agoVincent_Lu
1 year, 4 months agojeremy13
1 year, 6 months agoeli117
1 year, 7 months ago