hunt-lfi

Detect and exploit LFI/RFI and path traversal flaws to read files or achieve RCE.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/sseshachala/Claude-BugHunter-archive --skill hunt-lfi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-lfi
Source: https://github.com/sseshachala/Claude-BugHunter-archive/tree/main/skills/hunt-lfi
Command: npx skills add https://github.com/sseshachala/Claude-BugHunter-archive --skill hunt-lfi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Web applications frequently expose file access parameters that, if misconfigured, allow attackers to read sensitive files, perform local file inclusion, or include remote content. This Skill teaches hunters to identify LFI/RFI and path-traversal weaknesses and to chain techniques for escalation.

Core Features & Use Cases

  • Methodical detection of LFI/RFI and path traversal vectors across common parameter patterns.
  • Demonstrations of bypass techniques (e.g., double encoding, log-based payloads) and chain templates leading to read-side exposure or RCE.
  • Real-world workflows for validating vulnerabilities and building exploitation chains against test targets.

Quick Start

Test file-access parameters with safe payloads to verify LFI/RFI and path-traversal chains on the target.

Frequently Asked Questions about hunt-lfi

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

FAQPage Schema
How do I exploit LFI and path traversal vulnerabilities to read sensitive files?

To exploit LFI and path traversal, you identify misconfigured file access parameters and test payloads to read sensitive files. This Skill provides methodical detection across common parameter patterns to validate read-side exposure.

Can I use PHP wrappers to achieve remote code execution from a local file inclusion flaw?

Yes, you can use PHP wrappers like php:// and phar:// to escalate local file inclusion to remote code execution. This Skill demonstrates chain templates and bypass techniques for RCE impact verification.

What is the best way to bypass path traversal filters using double encoding?

Bypassing path traversal filters with double encoding involves altering payload characters to evade input validation. This Skill covers bypass techniques including double encoding and log-based payloads for successful exploitation.

How does log poisoning work when chaining LFI vulnerabilities for RCE?

Log poisoning works by injecting malicious code into server logs and then including that log file via an LFI vector to trigger execution. This Skill provides chain templates and real-world workflows for validating these RCE chains.

How do I verify RCE impacts when testing file access parameters in web applications?

You verify RCE impacts by applying safe payloads to file access parameters and executing chain templates against test targets. This Skill supports detection, bypass techniques, and verification steps to confirm remote code execution.

Do I need specific dependencies to detect RFI and archive-based inclusion vectors?

No specific dependencies are required to detect RFI and archive-based inclusion vectors. This Skill operates independently to identify remote file inclusion and archive-based vectors during web application security testing.