performing-red-team-phishing-with-gophish
它能做什么
这个 AI 智能体可以帮你创建和管理钓鱼模拟活动,使用的工具是 GoPhish。它能自动完成创建测试邮件、设置发送以及分析谁点击了链接或提交了信息等任务。
适用场景
- ✓在进行经过授权的安全测试时。
- ✓在评估网络安全性时。
- ✓在培训员工识别危险邮件时。
技能链接
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-red-team-phishing-with-gophish/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“创建一个钓鱼活动,用密码重置邮件测试销售团队。”
每周 5 个新技能,1 分钟读完。
工作原理
你需要先安装 GoPhish,并准备好 API 密钥。智能体会使用这个密钥连接 GoPhish,并创建邮件、目标列表和活动。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
When to Use
- When conducting security assessments that involve performing red team phishing with gophish
- When following incident response procedures for related security events
- When performing scheduled security testing or auditing activities
- When validating security controls through hands-on testing
Prerequisites
- Familiarity with security operations concepts and tools
- Access to a test or lab environment for safe execution
- Python 3.8+ with required dependencies installed
- Appropriate authorization for any testing activities
Instructions
- Install dependencies:
pip install gophish requests - Deploy GoPhish server and obtain an API key from Settings.
- Use the Python gophish library to automate campaign setup:
- Create email templates with HTML body and tracking
- Configure SMTP sending profiles
- Import target groups from CSV
- Create landing pages for credential capture
- Launch and monitor campaigns
- Analyze campaign results: opens, clicks, submitted data, reported.
# For authorized penetration testing and lab environments only
python scripts/agent.py --gophish-url https://localhost:3333 --api-key <key> --campaign-name "Q1 Awareness" --output phishing_report.json
Examples
Create Campaign via API
from gophish import Gophish
from gophish.models import Campaign, Template, Group, SMTP, Page
api = Gophish("api_key", host="https://localhost:3333", verify=False) # Self-signed cert on localhost lab
campaign = Campaign(name="Q1 Test", groups=[Group(name="Sales Team")],
template=Template(name="IT Password Reset"), smtp=SMTP(name="Internal SMTP"),
page=Page(name="Credential Page"))
api.campaigns.post(campaign)
常见问题
什么是钓鱼?
钓鱼是一种攻击手段。攻击者通常会在电子通信中冒充可信的机构或人员,诱骗他人泄露密码、银行卡信息等敏感数据。
什么是 GoPhish?
GoPhish 是一款开源工具,用于创建和管理钓鱼模拟活动。
使用这个智能体需要获得许可吗?
需要。在进行任何钓鱼测试或模拟之前,都必须获得明确的授权。
详情
作者的原始描述
Automates GoPhish phishing simulation campaigns using the Python gophish library, creating email templates with tracking pixels, configuring SMTP sending profiles, building target groups from CSV, launching campaigns, and analyzing results such as open rates, click rates, and credential submission statistics. Use when running an authorized phishing simulation or security awareness assessment via G
热度
- GitHub 星标
- 35k
- 排名
- #8296
- 许可证
- Apache-2.0
- 更新时间
- 2026/8/31
评论
- …
同一仓库的更多技能
abusing-dpapi-for-credential-access
35k为你的 AI 智能体提供针对特定任务的现成指令,让它完成得更好、更快。
abusing-shadow-credentials-for-privesc
35k教你的 AI 智能体写出清晰、结构良好的文本。
achieving-cmmc-level-2-compliance
35k帮助你的智能体搭建符合 CMMC Level 2 合规要求的环境。它会落实安全要求,并管理必要的文档。
acquiring-disk-image-with-dd-and-dcfldd
35k帮助你的智能体创建硬盘的精确副本。这能确保调查过程中信息不丢失、不被篡改。