performing-directory-traversal-testing

Featured

Testing web applications for path traversal vulnerabilities that allow reading or writing arbitrary files on the server by manipulating file path parameters.

Testing & QA 36,355 stars 4443 forks Updated 2 months ago Apache-2.0

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Performing Directory Traversal Testing ## When to Use - During authorized penetration tests when the application handles file paths in URL parameters or request bodies - When testing file download, file view, or file include functionality - For assessing Local File Inclusion (LFI) and Remote File Inclusion (RFI) vulnerabilities - When evaluating template engines, logging systems, or report generators that reference files - During security assessments of APIs that accept file names or paths as parameters ## Prerequisites - **Authorization**: Written penetration testing agreement for the target - **Burp Suite Professional**: For intercepting and modifying file path parameters - **ffuf**: For fuzzing file path parameters with traversal payloads - **dotdotpwn**: Automated directory traversal fuzzer (`apt install dotdotpwn`) - **SecLists**: Traversal payload wordlists from Daniel Miessler's collection - **curl**: For manual testing of traversal payloads ## Workflow ### Step 1: Identify File Path Parameters Find application endpoints that reference files through parameters. ```bash # Common file-handling patterns to look for: # /download?file=report.pdf # /view?page=about.html # /api/files?path=documents/invoice.pdf # /template?name=header.html # /include?module=sidebar # /image?src=photos/avatar.jpg # /export?format=csv&template=default # In Burp Suite, search proxy history for file-related parameters # Filter by parameter names: file, path, page, template, include, # m...

Details

Author
mukul975
Repository
mukul975/Anthropic-Cybersecurity-Skills
Created
8 months ago
Last Updated
2 months ago
Language
Python
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category