Skip to content
Agentmart
Submit a tool

metasploit

Drive msfconsole across the workflow - DB-backed recon (db_nmap, auxiliary scanners), version->exploit search/check/run, multi/handler reverse shells…

Skill by Encod3d-Sec

IndexedMIT★ 335
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/encod3d-sec-metasploit

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/metasploit

What's inside

Skill 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.
License
MIT
Instructions
59 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 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/*`.

From Encod3d-Sec/TORCH, MIT.

More from Encod3d-Sec/TORCH

Signals

Stars
335
Forks
49
Open issues
0
Last commit (this folder)
Aug 28, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Encod3d-Sec

Cite this page

metasploit skill. Agent Mart. https://agentmart.dev/skills/encod3d-sec-metasploit (last updated 2026-10-24)