Agent skill · Backend & API

file-path-traversal

Identify and exploit file path traversal (directory traversal) vulnerabilities that allow attackers to read arbitrary files on the server, potentially including sensitive configuration files, credentials, and source code.

Nick44,086★ · +407/wk · 1 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add sickn33/agentic-awesome-skills --skill file-path-traversal --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 12 KB
Bundled scripts: none
Declared author: zebbern
Path: skills/file-path-traversal/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

> **⚠️ AUTHORIZED USE ONLY** > This skill is for educational purposes or authorized security assessments only. > You must have explicit, written permission from the system owner before using this tool. > Misuse of this tool is illegal and strictly prohibited. > **Mandatory confirmation gate** > Before any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target, ask for the exact target URL, IP, account, or resource and confirmation of written authorization and permitted scope. > Show the exact command(s), explain their expected effect, and wait for explicit confirmation in the current conversation. > Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab. # File Path Traversal Testing ## Purpose Identify and exploit file path traversal (directory traversal) vulnerabilities that allow attackers to read arbitrary files on the server, potentially including sensitive configuration files, credentials, and source code. This vulnerability occurs when user-controllable input is passed to filesystem APIs without proper validation. ## Prerequisites ###

What's inside
Steps it walks through
  1. Purpose
  2. Prerequisites
  3. Required Tools
  4. Required Knowledge
  5. Outputs and Deliverables
  6. Core Workflow
  7. Phase 1: Understanding Path Traversal
  8. Phase 2: Identifying Traversal Points
  9. Phase 3: Basic Exploitation Techniques
  10. Phase 4: Bypass Techniques
  11. Phase 5: Linux Target Files
  12. Phase 6: Windows Target Files
  13. Phase 7: Automated Testing
  14. Phase 8: LFI to RCE Escalation
Commands it runs
Parameters that often handle files
Basic Linux traversal
Windows traversal
URL encoded
Test payloads with curl
curl "http://target.com/image?filename=../../../etc/passwd"
curl "http://target.com/download?file=....//....//....//etc/passwd"
Direct absolute path (Linux)
Direct absolute path (Windows)
When ../ is stripped once
More from agentic-awesome-skills
All skills →
About this skill
What does the file-path-traversal skill do?

Identify and exploit file path traversal (directory traversal) vulnerabilities that allow attackers to read arbitrary files on the server, potentially including sensitive configuration files, credentials, and source code.

How do I install it?

Run `npx skills add sickn33/agentic-awesome-skills --skill file-path-traversal --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going