
Path Traversal Lfi
Expert path traversal and LFI playbook covering encoding bypasses, PHP wrapper abuse, and log poisoning to RCE.
- CCM score
- 60 of 100
- skills.sh installs
- 4.1K
- GitHub stars
- 2.7K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers traversal encoding variants, target file lists for Linux and Windows, and PHP LFI-to-RCE escalation techniques
- Includes filter bypass checklists for stripped
../sequences, plusphp://filter,php://input, anddata://wrapper payloads - Distinguishes read-only path traversal from LFI, where included PHP files are executed rather than just returned
- Designed for security testers assessing file paths, download endpoints, include operations, and archive extraction
Install
$ npx -y skills add yaklang/hack-skills --skill path-traversal-lfi -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
SKILL: Path Traversal / Local File Inclusion (LFI) — Expert Attack Playbook
AI LOAD INSTRUCTION: Expert path traversal and LFI techniques. Covers encoding bypass sequences, OS differences, filter bypass, PHP wrapper exploitation, log poisoning to RCE, and the critical distinction between path traversal (read only) vs LFI (execution). Base models miss encoding chains and RCE escalation paths.
0. RELATED ROUTING
Before deep exploitation, you can first load:
- upload insecure files when the primary attack surface is an upload workflow rather than an include or read primitive
- ghost-bits-cast-attack when the target is a Java backend (Spring, Jetty, Undertow, Vert.x) and standard
../,%2e%2e,%252echains are WAF-blocked — Ghost Bits substitutes.with阮(U+962E) and/with阯(U+962F), re-enabling traversal through Spring CVE-2025-41242 and Jetty%2>hex-folding
First-pass traversal chains
../etc/passwd
../../../../etc/passwd
..%2f..%2f..%2fetc%2fpasswd
..%252f..%252f..%252fetc%252fpasswd
..\\..\\..\\windows\\win.ini
1. CORE CONCEPT
Details
- Repository
- github.com/yaklang/hack-skills
- Category
- Security
- First seen
- May 16, 2026
More from yaklang/hack-skills
All 102- Request Smuggling4K
- Deserialization Insecure4K
- Xxe Xml External Entity4K
- Format String Exploitation4K
- File Access Vuln4K
- Http Parameter Pollution4K
- Csp Bypass Advanced4K
- Browser Exploitation V84K
- Open Redirect4K
- Symbolic Execution Tools4K
- Crlf Injection4K
- Mobile Ssl Pinning Bypass4K
- Insecure Source Code Management4K
- Subdomain Takeover4K
- Http Host Header Attacks4K
- Web Cache Deception4K
- Dependency Confusion4K
- Expression Language Injection4K
- Csv Formula Injection4K
- Linux Privilege Escalation4K
- Active Directory Acl Abuse4K
- Clickjacking4K
- Active Directory Kerberos Attacks4K
- Jndi Injection4K
Similar to Path Traversal Lfi
More Security
waf-bypass-techniquesyaklang/hack-skills4.2K installsGeneric WAF evasion playbook covering fingerprinting, encoding, HTTP/2 and parameter-pollution tricks, and a decision tree for bypassing filters on SQLi, XSS, a
cmdi-command-injectionyaklang/hack-skills4.1K installsExpert OS command injection playbook covering metacharacters, blind detection, OOB exfiltration, and filter bypasses.
File Path Traversal Testingdavila7/claude-code-templates197 installsMethodology for testing and exploiting path traversal and local file inclusion vulnerabilities in web applications.
ctf-malwareljagiello/ctf-skills9.6K installsQuick-reference playbook for malware and network-traffic techniques in CTF challenges, with pointers to deeper per-topic guides.
ctf-webljagiello/ctf-skills10.7K installsRouting and execution guide for web CTF challenges covering XSS, SQLi, SSTI, SSRF, JWT, and OAuth/SAML flaws.
windows-boundarieshypnguyen1209/offensive-claude429 starsOffensive playbook for crossing Windows security boundaries via kernel, UAC, sandbox, PPL, and RPC escapes.