Skip to content
Security
Skill

/metasploit

Drive msfconsole across the workflow - DB-backed recon (db_nmap, auxiliary scanners), version->exploit search/check/run, multi/handler reverse shells (meterpreter-first, plain shell_reverse_tcp backup for Windows/EDR), sessions + local_exploit_suggester + post modules, and

From plugin
torch
34456 skills

Claude Code

$ npx -y skills add Encod3d-Sec/TORCH --skill metasploit --agent claude-code

SKILL.md

metasploit.SKILL.md
name: metasploit
description: Drive msfconsole across the workflow - DB-backed recon (db_nmap, auxiliary scanners), version->exploit search/check/run, multi/handler reverse shells (meterpreter-first, plain shell_reverse_tcp backup for Windows/EDR), sessions + local_exploit_suggester + post modules, and autoroute/portfwd/socks pivoting. Points to the metasploit cheatsheet for syntax. Use for "metasploit", "msfconsole", "msfvenom", "meterpreter", "multi/handler", or driving an exploit/reverse-shell through msf.

Metasploit: framework driver

Drive msfconsole for recon, exploit, reverse shells, and post-ex. Syntax lives in `[[metasploit]]`; this skill is the workflow that strings it together.

Pre-attack wiki query (MANDATORY)

Before firing any exploit module, query the fingerprinted tech/CVE: read `[[metasploit]]` directly for syntax, then `Skill(arsenal)` for the matching module/payload/technique. Never fire a module from memory when a targeted lookup would confirm the right one/target index.

Setup / DB

`msfconsole -q` in a named tmux tab, never a blind background job, the operator needs to see sessions land live. `workspace -a <eng>` scopes loot to the engagement, `db_status` confirms the Postgres backend is up before anything else. Cheatsheet: Setup + Database sections.

Recon via msf

`db_nmap` writes straight to `hosts`/`services`; layer `auxiliary/scanner/*` (smb/http/ssh version + vuln checks) on top for anything plain nmap scripts miss. This complements the ctf-box Phase-1 basics, it does not replace them, run both.

Search / select / verify

`search <app> <ver>` or `search cve:<id>`, `use`, `info` to read the module's CVE refs and target list, `check` before `run`/`exploit` whenever the module supports it, a non-destructive exploitability test beats a blind fire. Cheatsheet: Search and Selection + Options and Running.

Reverse shells

`multi/handler` catches. Payload choice: meterpreter first (`linux/x64/meterpreter/reverse_tcp` / `windows/x64/meterpreter/reverse_tcp`), fall back to plain `shell_reverse_tcp` when meterpreter is blocked or unstable, routine on hardened Windows/EDR. Delivery via `msfvenom` (ELF/EXE/ASPX/PHP, cheatsheet's MSFVenom section has every format). Egress-test the LPORT (80/443/53 before 4444). Background the handler correctly: `set ExitOnSession false; run -j` so it keeps catching new sessions. On the VM, `scripts/vm-handler.sh <eng> <lhost> [payload]` automates the LPORT choice: it reads the VM's listeners and picks the first FREE egress-friendly port (80/443/53/8000/8080), so the handler never fails to bind on a taken port nor silently picks a filtered high port; it launches in the engagement's `msf` tmux window and prints the LPORT to build the payload with.

Sessions / post-ex

`sessions -i` to interact, `run post/multi/recon/local_exploit_suggester` is the privesc reflex on every fresh session, then targeted `post/*` modules, `getsystem`, and `post/multi/manage/shell_to_meterpreter` to upgrade a plain shell. Cheatsheet: Sessions and Jobs

  • Post-Exploitation Modules.

Pivoting

`autoroute`/`portfwd`/`socks` through a session to reach internal-only ports before hand-rolling SSH `-L`. Full syntax and proxychains setup: `[[pivoting]]`.

Verify target (false-root)

Before trusting any shell or privesc claim: `getuid` + `sysinfo`/hostname must match the actual target. A `uid=0` that doesn't match the target is the false-root trap, the session died back to the attacker box. Same guardrail `Skill(delegate)` enforces on manual exploit runs.

Interlock + anti-drift

The fiddly msfvenom-compile -> handler-catch -> escalation-run sequence is a prime `Skill(delegate)` hand-off: fully specified, mechanical, cheap-model-shaped. DRIVE msf for every load-bearing exploit/shell request so the operator watches sessions land; don't abandon msf for raw scripts once a foothold lands.

Client-data boundary

Sessions, loot, and creds stay in the msf DB workspace + `targets/<eng>/`; never paste a real host/cred/hashdump into `wiki/` or `session/*`.

Read more
@encod3d-sec
Ships withtorch

An AI-powered penetration testing and bug-bounty knowledge base and automation harness for Claude Code.

Stars on GitHub

Momentum

stars in total
344
Star history of Encod3d-Sec/TORCH on GitHub, a chart by star-history.com

Other skills on torch.

hunt-burp

hunt-burp

Drive Burp Suite over its MCP server as an AI triage + attack layer - review proxy history for signals, replay via Repeater/send,…

@encod3d-sec@encod3d-secInstall Skill
screenshot-burp

screenshot-burp

Capture a Burp Suite Repeater request/response as a PoC image (targets/<eng>/poc/) by driving the Burp MCP + the Kali GUI.…

@encod3d-sec@encod3d-secInstall Skill
claude-md-improver

claude-md-improver

OFFLINE FALLBACK for the claude-md-management plugin - prefer that plugin when it is installed. Audit and improve CLAUDE.md files…

@encod3d-sec@encod3d-secInstall Skill
disclosure

disclosure

Drive responsible disclosure of a proven finding to a CVE. Package the report, find the vendor contact, report privately,…

@encod3d-sec@encod3d-secInstall Skill
hunt-ad

hunt-ad

Active Directory attack hunting - enumeration to domain dominance. Spray-safe (lockout gate), AS-REP/Kerberoast, ACL + ADCS…

@encod3d-sec@encod3d-secInstall Skill
hunt-api

hunt-api

API attack hunting (REST / GraphQL / gRPC) - BOLA/IDOR, BFLA, mass assignment, excessive data exposure, auth/JWT, introspection +…

@encod3d-sec@encod3d-secInstall Skill

More skills from other plugins.

api-security

api-security

Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…

@zhaoxuya520@zhaoxuya520Install Skill
nemoclaw-user-guide

nemoclaw-user-guide

Find official NemoClaw documentation for installation, configuration, operation, or troubleshooting. Also handles requested docs…

@nvidia@nvidiaInstall Skill

Questions about metasploit.

Which coding agents can use metasploit?
metasploit installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.