Burp`O`Mation
使用 Burp Suite Pro 和 Vmware Burp Rest API 结合 Robot Framework 及 Python3 执行自动化扫描。
博客
如需详细了解每一步,请访问博客。
功能
- 一键运行,通过 bash 安装所有依赖项,并显示详细的先决条件信息。
- 使用 Python3 和易于自动化的 Robot Framework。
- 使用 Burp Suite Rest API,在无头模式下运行 Burp Suite Professional(预激活版),同时加载多个 Burp Suite 扩展,如 additional-scanner-checks、BurpJSLinkFinder 和 active-scan-plus-plus。
- 自动执行 API/Web 端点的渗透测试,包括通过 Robot 脚本添加和删除作用域。
- 自动将 CSV 和 HTML 格式的报告上传到 Google Drive,并按 YYYY-MM-DD 格式存储。
- 集成 Slack 实时告警。
前提条件(预先设置)
- 请在运行 automation.sh 前执行以下操作
- Debian 操作系统(Ubuntu)。
- 已激活的 Burp Suite Pro(burpsuite_pro_v2021.6.2.jar)及对应的 prefs.xml 文件。
- Vmware Burp Suite Rest API(将通过自动化脚本安装)。
- Python3 与 Pip(将通过自动化脚本安装)。
- Robot Framework(将通过自动化脚本安装)。
- 在 custom_lib_2.py 中更新作用域、Slack Webhook 和 Google Drive 父文件夹 ID。
- 为 PyDrive 设置 Google Drive 身份验证。
- 将凭据文件(client_secrets.json 和 mycreds.txt)上传到用于自动化脚本的 GitHub 仓库中。
安装
mkdir automation
cd automation
wget https://raw.githubusercontent.com/justmorpheus/burp-automation/master/automation.sh
chmod +x automation.sh
bash automation.sh https://github.com/justmorpheus/burp-automation.git
使用
bash automation.sh https://github.com/justmorpheus/burp-automation.git
若执行失败
请在文件夹内运行以下命令:python3 -m robot -d output fuzzing.robot 。
注意
- 衷心感谢 we45 展示了这项出色的工作。
- 本工具仅用于教育目的,因为 Burp Suite 的企业版许可需要用于 CI/CD 环境。
- 请勿在生产环境中使用,仅供学习和理解 Burp Suite 自动化。
- 禁止用于非法用途。作者对您任何非法行为不承担责任。
参考
