If you're working on a server or a local machine and want to generate a report of a directory's contents:
If you are worried that your site is exposing sensitive information, it is crucial to check for open directories, especially in wp-content or config folders, to ensure you are not listing your private data, as shown in this 30 High-Value Google Dorks guide. index of parent directory