Back to skills
SKILL.md
Exposed Files
BSecurityDiscovery of sensitive files left web-accessible — backups, configs, .git/.svn, .env, DB dumps, archives — and safe extraction via git-dumper and manual retrieval. Tier 1. Use after content discovery or whenever dev artifacts are suspected.
- 16 stars
- 0 votes
- 0 copies
- 4 views
- Added November 17, 2026
Security analysis
75/100- Reads or references SSH private keys
npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill exposed-files --agent claude-codeAre you the author of Exposed Files?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-exposed-files)---
name: exposed-files
description: Discovery of sensitive files left web-accessible — backups, configs, .git/.svn, .env, DB dumps, archives — and safe extraction via git-dumper and manual retrieval. Tier 1. Use after content discovery or whenever dev artifacts are suspected.
---
# Exposed Sensitive Files
Deployment leftovers (backups, configs, VCS dirs, dumps) frequently contain credentials, source and full database contents, directly reachable over HTTP.
## Trigger phrases
`exposed files, backup files, env file, git exposure, svn exposure, db dump, config file, git-dumper, sensitive files`
## Method
1. Targeted fuzz (per `content-discovery`) for high-value names: `.env`, `.env.*`, `config.php(.bak)`, `wp-config.php.bak`, `web.config`, `appsettings.json`, `settings.py`, `database.yml`, `docker-compose.yml`, `Dockerfile`, `.htpasswd`, `id_rsa`, `credentials`, `*.sql`, `*.sql.gz`, `backup.zip`, `db.tar.gz`, `*.bak/.old/.swp`, `.DS_Store`.
2. **VCS exposure** (see `script-source-control` for full method): fast tells `/.git/HEAD`, `/.git/config`, `/.svn/entries`, `/.hg/`, `/.bzr/`. If present: `git-dumper http://T/.git ./loot/git` then review history for removed secrets.
3. **.DS_Store / dir metadata**: parse `.DS_Store` (`ds_store_exp`) to enumerate sibling filenames not otherwise discoverable.
4. Retrieve and inventory each file; route contents to `secrets-disclosure` (keys/creds) and `database-enumeration` (dumps/connection strings).
5. Archives/dumps: download `.zip/.tar.gz/.sql` safely into an isolated dir, extract offline, grep for creds/PII/schema.
## Modern / rare techniques
- **Partial/renamed backups** (`index.php.1`, `www.zip`, `<hostname>.zip`, dated backups `backup-2025.sql`).
- **Cloud config leaks**: `.aws/credentials`, `terraform.tfstate`, `kubeconfig`, `.npmrc` with tokens.
- **Lockfiles/manifests** (`package.json`, `composer.lock`) → internal package names for dependency-confusion.
## Escalation / chaining
→ `secrets-disclosure`, `source-disclosure`, `database-enumeration`, `script-source-control`, `cloud-pentest`. Writable/upload dirs → `web-file-upload`.
## Backend & tooling
Kali/HexStrike (ffuf/git-dumper/ds_store_exp). Extract untrusted archives in a fresh isolated directory; never run anything from inside them.
## Verification (background, before reporting)
Re-fetch each file independently to confirm public reachability (not auth-gated for you only); validate that contents are real/current. Validate secrets per `secrets-disclosure`.
## Evidence
URL of each file, excerpt of sensitive content (redacted), reachability proof, impact + remediation (deny dotfiles/backups/VCS at web server, remove artifacts, rotate leaked creds).
Attribution
Related skills
View all in security →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.