performing-directory-traversal-testing

Tests web applications for path traversal and local file inclusion vulnerabilities using encoded payloads.

4|Updated Apr 28, 2026
One-click install
npx skills add https://github.com/braydos-h/BreachPilot --skill performing-directory-traversal-testing-braydos-h
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: performing-directory-traversal-testing
Source: https://github.com/braydos-h/BreachPilot/tree/main/skills/performing-directory-traversal-testing
Command: npx skills add https://github.com/braydos-h/BreachPilot --skill performing-directory-traversal-testing-braydos-h

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) components.

What problem does it solve? Authorized penetration testers need a systematic way to verify whether web applications properly validate file path parameters, since directory traversal flaws can expose sensitive server files like /etc/passwd, configuration files, and SSH keys. ## Core Features & Use Cases - Traversal Payload Testing: Injects plain, URL-encoded, double-encoded, UTF-8 overlong, and null-byte traversal sequences into file parameters to detect filter bypasses. - LFI and Wrapper Exploitation Checks: Tests PHP wrappers such as php://filter, php://input, data://, and expect:// to assess local file inclusion escalation paths. - Automated Detection Script: The included Python agent auto-detects file parameters in a URL, runs payload suites, matches Linux/Windows file-content indicators, and generates a severity-rated report. - Use Case: During an authorized assessment of a document download endpoint like /download?file=report.pdf, run the agent to confirm whether ../../../etc/passwd or encoded variants return server file contents, then document the finding with reproduction steps and remediation guidance. ## Quick Start Run the agent script against an authorized target URL with a file parameter, for example by asking the AI to test 'http://target/view?file=report.pdf' for directory traversal vulnerabilities.

Frequently Asked Questions about performing-directory-traversal-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test a web application for directory traversal vulnerabilities?▼

Identify parameters that reference files (file, path, page, template), then inject traversal payloads like ../../../etc/passwd and encoded variants. Check responses for indicators such as 'root:x:' on Linux or '[fonts]' from win.ini on Windows.

What tools are used for path traversal and LFI testing?▼

This skill uses Burp Suite for request interception, ffuf with SecLists LFI wordlists for fuzzing, dotdotpwn for systematic traversal testing, and a Python requests-based agent for automated payload injection and evidence detection.

How do I bypass filters that block ../ traversal sequences?▼

Try URL encoding (..%2f), double encoding (..%252f), UTF-8 overlong encoding (..%c0%af), or non-recursive strip bypasses like ....//....//. Null byte injection (%00) can bypass extension checks on older PHP versions.

Can directory traversal lead to remote code execution?▼

Yes, when local file inclusion is present. Techniques include log poisoning (injecting PHP into access logs then including them), PHP wrappers like php://input and data://, and session file inclusion to execute attacker-controlled code.

Is authorization required before running traversal tests?▼

Yes. This skill is strictly for authorized penetration testing with a written agreement covering the target. The scripts and documentation explicitly warn against use on systems without explicit permission.