モジュールに include / prepend して共通機能を足す mixin の目次です。選び方の考え方は 基底と mixin にあります。
| Mixin | 主な API | ページ |
|---|
Report | report_* / store_loot | Report |
| Post::Common / File / OS 別 | cmd_exec / read_file | Post 用 mixin |
| 目的 | 組み合わせ例 |
|---|
| HTTP RCE exploit | AutoCheck + HttpClient + CmdStager + FileDropper |
| HTTP 多ホスト版走査 | HttpClient + Scanner + Report |
| SSH 辞書ログイン | SSH::Options + AuthBrute + Scanner + Report |
| SMB 共有列挙 | SMB::Client(+Authenticated) + Scanner + Report |
| ブラウザ罠 | HttpServer(+HTML) |
| Linux post 収集 | Post + File + Unix + Report |
他プロトコル(LDAP、MSSQL、DCERPC、Postgres など)も lib/msf/core/exploit/remote/ に mixin があります。新しい通信を足す前に、同名プロトコルの既存モジュールがどの mixin を include しているかを見るのが早いです。