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.
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.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
> **⚠️ 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 ###
- Purpose
- Prerequisites
- Required Tools
- Required Knowledge
- Outputs and Deliverables
- Core Workflow
- Phase 1: Understanding Path Traversal
- Phase 2: Identifying Traversal Points
- Phase 3: Basic Exploitation Techniques
- Phase 4: Bypass Techniques
- Phase 5: Linux Target Files
- Phase 6: Windows Target Files
- Phase 7: Automated Testing
- Phase 8: LFI to RCE Escalation
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
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.