nowucme2/ASN-Breaker

GitHub: nowucme2/ASN-Breaker

ASN Breaker 是一款面向红队和渗透测试的侦察自动化框架,整合了从 ASN 解析到漏洞扫描的完整侦察流水线,支持断点续传和 HTML 报告生成。

Stars: 0 | Forks: 0

ASN Breaker

侦察自动化框架
Abhishek CN 创建

![Python](https://img.shields.io/badge/Python-3.x-red?style=for-the-badge\&logo=python) ![Platform](https://img.shields.io/badge/Platform-Linux-red?style=for-the-badge\&logo=linux) ![Security](https://img.shields.io/badge/RedTeam-Recon-red?style=for-the-badge\&logo=hackthebox) ![Status](https://img.shields.io/badge/Status-Active-red?style=for-the-badge)

# 🐺 ASN Breaker **ASN Breaker** 是一款专为 **Red Team 作战和内部渗透测试** 设计的侦察自动化工具。 它自动化了以下工作流程: * ASN 解析 * 子网分析 * IP 采样 * 端口扫描 * Web 服务发现 * 屏幕截图收集 * 漏洞扫描 * HTML 报告生成 所有扫描均以 **结构化批次** 运行,允许 **安全且可恢复地** 扫描大型目标。 # ⚡ 侦察架构 ``` ASN / CIDR / BBOT Input │ ▼ Subnet Intelligence │ ▼ IP Sampling │ ▼ Batch Creation │ ▼ Naabu Port Scan │ ▼ HTTPX Web Discovery │ ▼ Gowitness Screenshots │ ▼ Optional Nuclei Scan │ ▼ HTML Recon Report ``` # 🚀 功能特性 ✔ 从 **BBOT 输出** 解析 ASN ✔ 手动 **ASN / CIDR 支持** ✔ 针对大范围的智能 **IP 采样** ✔ **基于批次的扫描系统** ✔ 自动恢复扫描 ✔ 自动化 **端口扫描** ✔ 使用 **HTTPX** 进行 Web 发现 ✔ 使用 **Gowitness** 进行屏幕截图 ✔ 可选的 **低噪声 Nuclei 扫描** ✔ 结构化的 **HTML 侦察报告** ✔ 完整的 **扫描日志系统** # 🧰 使用工具 | Tool | Purpose | | --------- | ------------------------------ | | Naabu | 快速端口扫描 | | HTTPX | Web 检测与指纹识别 | | Gowitness | 屏幕截图自动化 | | Nuclei | 漏洞扫描 | | BBOT | ASN 数据收集 | # 📦 安装说明 克隆仓库 ``` git clone https://github.com/YOUR_USERNAME/asn-breaker.git cd asn-breaker ``` 安装 Python 依赖 ``` pip install -r requirements.txt ``` 安装所需的侦察工具 ``` sudo apt install gowitness go install github.com/projectdiscovery/naabu/v2/cmd/naabu@latest go install github.com/projectdiscovery/httpx/cmd/httpx@latest go install github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest ``` # ▶ 使用方法 使用 BBOT ASN 文件扫描 ``` python3 asn_breaker.py --bbot asn_table.txt ``` 使用手动 CIDR 扫描 ``` python3 asn_breaker.py --cidr 192.168.0.0/16 ``` # 📁 输出结构 ``` output/ └── TARGET ├── ips │ ├── master_ip_list.txt │ └── progress.json │ ├── batches │ ├── batch_1 │ ├── batch_2 │ └── batch_3 │ ├── naabu ├── httpx ├── gowitness ├── nuclei ├── reports └── logs ``` # 🔄 恢复能力 扫描进度自动保存在: ``` output/TARGET/ips/progress.json ``` 示例: ``` {"last_index": 500} ``` 下一次运行将从 **IP 501** 继续。 # 📊 HTML 报告 最终侦察报告生成于: ``` output/TARGET/reports/final_report.html ``` 包含: * 发现的 URL * HTTP 状态码 * 页面标题 * 检测到的技术 * 屏幕截图预览 # 🧾 日志记录 扫描活动记录在: ``` output/TARGET/logs/scan.log ``` 示例条目: ``` Project started Batch started Naabu scan executed HTTPX scan executed Gowitness screenshots captured Nuclei scan executed Report generated ``` # 👤 作者 **Abhishek CN** Red Team • 进攻性安全 • 侦察自动化 # ⚠ 免责声明 本工具仅用于 **授权的安全测试和研究**。 请 **勿** 在未经许可的情况下对系统使用。
标签:ASN 分析, BBOT, CIDR 提取, GitHub, Google, Gowitness, IP 采样, Naabu, Nuclei, Python, 侦察自动化, 内容安全, 大规模扫描, 密码管理, 截图工具, 插件系统, 数据统计, 无后门, 无服务器架构, 端口扫描, 网络安全, 自动化报告, 逆向工具, 隐私保护