path-traversal

Exploit path traversal and file inclusion vulnerabilities in web applications.

6|1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/securityfortech/hacking-skills --skill path-traversal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: path-traversal
Source: https://github.com/securityfortech/hacking-skills/tree/main/skills/web/authz/path-traversal
Command: npx skills add https://github.com/securityfortech/hacking-skills --skill path-traversal

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires DotDotPwn, WFuzz, Burp Suite, ZAP, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps identify and exploit vulnerabilities where applications improperly handle user-supplied input, allowing attackers to access sensitive files or execute code on the server.

Core Features & Use Cases

  • Path Traversal Exploitation: Test for vulnerabilities allowing access to files outside the intended directory (e.g., /etc/passwd, boot.ini).
  • Local/Remote File Inclusion (LFI/RFI): Exploit weaknesses to include and potentially execute local or remote files.
  • Use Case: A web application allows users to view profile pictures via a URL parameter like ?image=user.jpg. This Skill can test if changing the parameter to ../../../../etc/passwd reveals sensitive system information.

Quick Start

Use the path-traversal skill to test for file inclusion vulnerabilities against the target URL 'https://example.com/vulnerable.php?file=index.php'.

Frequently Asked Questions about path-traversal

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

FAQPage Schema
How do I test for path traversal vulnerabilities in web applications?

Path traversal vulnerabilities occur when applications improperly handle user-supplied input, allowing attackers to access files outside the intended directory like /etc/passwd or boot.ini. They are exploited by manipulating URL parameters, cookies, or hidden fields with directory traversal sequences.

What is the difference between LFI and RFI vulnerabilities?

Path traversal vulnerabilities occur when applications improperly handle user-supplied input, allowing attackers to access files outside the intended directory like /etc/passwd or boot.ini. They are exploited by manipulating URL parameters, cookies, or hidden fields with directory traversal sequences.

Can I use Burp Suite and ZAP for local and remote file inclusion testing?

Path traversal vulnerabilities occur when applications improperly handle user-supplied input, allowing attackers to access files outside the intended directory like /etc/passwd or boot.ini. They are exploited by manipulating URL parameters, cookies, or hidden fields with directory traversal sequences.

How do I exploit a URL parameter to access sensitive system files?

Path traversal vulnerabilities occur when applications improperly handle user-supplied input, allowing attackers to access files outside the intended directory like /etc/passwd or boot.ini. They are exploited by manipulating URL parameters, cookies, or hidden fields with directory traversal sequences.

What encoding techniques are used to bypass path traversal filters?

Path traversal vulnerabilities occur when applications improperly handle user-supplied input, allowing attackers to access files outside the intended directory like /etc/passwd or boot.ini. They are exploited by manipulating URL parameters, cookies, or hidden fields with directory traversal sequences.

When do I need DotDotPwn or WFuzz for vulnerability exploitation?

Path traversal vulnerabilities occur when applications improperly handle user-supplied input, allowing attackers to access files outside the intended directory like /etc/passwd or boot.ini. They are exploited by manipulating URL parameters, cookies, or hidden fields with directory traversal sequences.