Skip to content
Back to skills

Exposed Files

BSecurity

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.

  • 16 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 17, 2026
securityrustphpsqldockerawsterraformgitdatabasebackend

Security analysis

B75/100
  • criticalReads or references SSH private keys

Pro shows the line behind each finding and how to fix it

Scanned November 17, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Exposed Files?

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

Security grade badge for Exposed Files
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-exposed-files/badge)](https://www.skillsdirectory.com/skills/anandjogawade-exposed-files)

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: 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

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.