Skip to content
Back to skills

Dir Listing

ASecurity

Detection of directory listing / auto-indexing exposure where the server returns a browsable file index instead of a document, leaking file names, backups and source. Tier 1. Use when fuzzing reveals index-like pages or on any authorized web target.

  • 16 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 17, 2026
securitysqlnodeexpressspringgitapibackend

Works with

  • api

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill dir-listing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dir Listing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dir Listing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-dir-listing/badge)](https://www.skillsdirectory.com/skills/anandjogawade-dir-listing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dir-listing
description: Detection of directory listing / auto-indexing exposure where the server returns a browsable file index instead of a document, leaking file names, backups and source. Tier 1. Use when fuzzing reveals index-like pages or on any authorized web target.
---

# Directory Listing / Auto-Indexing Exposure

Auto-indexing turns a folder into a file browser, leaking names of backups, source, configs and uploads that were never meant to be enumerable.

## Trigger phrases
`directory listing, autoindex, index of, open directory, browsable directory, apache indexes, file index`

## Method
1. Probe directories (from `content-discovery`, crawl, and `robots.txt`/`sitemap.xml` disallows) by requesting the path with a trailing `/`.
2. Fingerprint listings in the body:
   - Apache `mod_autoindex`: `<title>Index of /...` + "Parent Directory".
   - Nginx `autoindex on`: `<h1>Index of /</h1>` pre-formatted.
   - IIS `Directory Browsing`: date/size columns, `[To Parent Directory]`.
   - Tomcat/Jetty/Node (serve-index) default listings.
3. Bulk check: `ffuf -u https://T/FUZZ/ -w dirs.txt -mr "Index of|Directory Listing|Parent Directory"` or `feroxbuster` then grep responses.
4. Target high-value dirs: `/backup/ /uploads/ /files/ /tmp/ /logs/ /.git/ /includes/ /config/ /assets/ /old/ /test/ /api/`.
5. When listed, recurse the exposed tree and pull every interesting file (source, `.sql`, `.zip`, `.env`, keys).

## Modern / rare techniques
- Trailing-dot/encoded path (`/dir%2f`, `/dir/.`) can trigger listing where `/dir` redirects.
- `?C=M;O=D` sort params confirm Apache autoindex and order newest-first (fresh backups).
- Framework static mounts (Express `serve-index`, Spring static) sometimes index only sub-paths.

## Escalation / chaining
Listed files → `source-disclosure`, `secrets-disclosure`, `exposed-files`, `script-source-control`, `exposed-product-files`. A browsable upload dir + upload feature → `web-file-upload`.

## Backend & tooling
Kali/HexStrike + curl/ffuf; headless browser to render JS-built pseudo-indexes. Burp proxy if available.

## Verification (background, before reporting)
Re-fetch independently and confirm the response is a real file index (actual child links resolve), not a styled 404 or app route. Pull at least one listed file to prove reachability.

## Evidence
URL of the indexed dir, screenshot/body excerpt, sensitive files revealed, impact + remediation (`Options -Indexes`, `autoindex off`, disable IIS directory browsing).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.