Is it possible to get a list of files under a directory of a website? How?

前端 未结 6 726
名媛妹妹
名媛妹妹 2021-01-30 12:16

Say I have a website www.abc.com. Under the website directory there is a page secret.html. It can be accessed directly like www.abc.com/secret.html, but there are no pages that

6条回答
  •  梦谈多话
    2021-01-30 13:19

    There are only two ways to find a web page: through a link or by listing the directory.

    Usually, web servers disable directory listing, so if there is really no link to the page, then it cannot be found.

    BUT: information about the page may get out in ways you don't expect. For example, if a user with Google Toolbar visits your page, then Google may know about the page, and it can appear in its index. That will be a link to your page.

提交回复
热议问题