Directory Listing - TairinySimeonato/WebAuditing GitHub Wiki

What is it?

  • Directory listing is a feature that lists the directories contents when there is no index file
  • This is an information leakage issue, and the attackers can use such information to craft other attacks.

how to disable it?

  • Configure your web server to prevent directory listings for all paths beneath the web root
  • Place into each directory a default file (such as index.htm) that the web server will display instead of returning a directory listing.

Reference