afridi017/ib-afridi-recon-suite
GitHub: afridi017/ib-afridi-recon-suite
一款基于Python的终端道德黑客侦察工具包,提供IP地理查询、端口扫描、DNS枚举等多种信息收集功能,专为Kali Linux与安全教育场景设计。
Stars: 0 | Forks: 0
```
██╗██████╗ █████╗ ███████╗██████╗ ██╗██████╗ ██╗
██║██╔══██╗ ██╔══██╗██╔════╝██╔══██╗██║██╔══██╗██║
██║██████╔╝ ███████║█████╗ ██████╔╝██║██║ ██║██║
██║██╔══██╗ ██╔══██║██╔══╝ ██╔══██╗██║██║ ██║██║
██║██████╔╝ ██║ ██║██║ ██║ ██║██║██████╔╝██║
╚═╝╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝╚═╝╚═════╝ ╚═╝
RECON SUITE — Ethical Hacking Toolkit
```
**一款功能强大的、基于终端的道德黑客与侦察工具包**
**由来自巴基斯坦开伯尔-普赫图赫瓦省 🇵🇰 的 [IB Afridi](https://github.com/afridi017) 用 ❤️ 构建**
[](https://python.org)
[](https://kali.org)
[](LICENSE)
[](https://github.com/afridi017)
[](https://github.com/afridi017/ib-afridi-recon-suite/stargazers)
[](https://github.com/afridi017)
## 📸 预览
```
╔══════════════════════════════════════════════════════════════╗
║ IB AFRIDI RECON SUITE | Ethical Hacking Toolkit ║
║ GitHub: @afridi017 | KPK, Pakistan 🇵🇰 ║
╠══════════════════════════════════════════════════════════════╣
║ ║
║ ┌─ MODULES ──────────────────────────────────────────┐ ║
║ │ [1] 🌐 IP Info & Geo Lookup │ ║
║ │ [2] 🔍 Port Scanner (Multi-thread) │ ║
║ │ [3] 📡 DNS Enumeration │ ║
║ │ [4] 📋 Whois Lookup │ ║
║ │ [5] 🏷️ Banner Grabbing │ ║
║ │ [6] 🧮 Subnet Calculator │ ║
║ │ [7] 💻 My System Info │ ║
║ │ [8] 📂 View Scan Logs │ ║
║ │ [0] 🚪 Exit │ ║
║ └────────────────────────────────────────────────────┘ ║
╚══════════════════════════════════════════════════════════════╝
```
## ✨ 功能
| 模块 | 描述 |
|--------|-------------|
| 🌐 **IP 及地理位置查询** | 解析任意域名/IP 并获取城市、国家、组织、时区信息 |
| 🔍 **端口扫描器** | 多线程快速端口扫描与服务检测 |
| 📡 **DNS 枚举** | 查询 A、AAAA、MX、NS、TXT、CNAME、SOA 记录 |
| 📋 **Whois 查询** | 域名所有权、注册商、过期信息 |
| 🏷️ **Banner 抓取** | 抓取服务器 Banner 以识别服务 |
| 🧮 **子网计算器** | CIDR 分解 —— 网络掩码、主机数、广播地址 |
| 💻 **系统信息** | 您的本地 IP、公网 IP、网络接口、操作系统详情 |
| 📂 **扫描日志** | 自动将所有扫描结果附带时间戳保存到日志文件中 |
## ⚙️ 环境要求
- **操作系统:** Kali Linux(推荐)/ 任何基于 Debian 的 Linux
- **Python:** 3.8 或更高版本
- **工具:** `curl`、`whois`、`dig` (dnsutils)
## 🚀 安装说明
### 方法 1 — Git Clone(推荐)
```
# 步骤 1:Clone 该 repo
git clone https://github.com/afridi017/ib-afridi-recon-suite.git
# 步骤 2:进入文件夹
cd ib-afridi-recon-suite
# 步骤 3:安装系统依赖
sudo apt update && sudo apt install curl whois dnsutils -y
# 步骤 4:安装 Python 依赖
pip3 install -r requirements.txt
# 步骤 5:赋予执行权限
chmod +x ib_afridi_recon.py
# 步骤 6:运行它!
python3 ib_afridi_recon.py
```
### 方法 2 — 一行快速安装
```
git clone https://github.com/afridi017/ib-afridi-recon-suite.git && cd ib-afridi-recon-suite && sudo apt install curl whois dnsutils -y && python3 ib_afridi_recon.py
```
## 📋 使用指南
```
# 基本运行
python3 ib_afridi_recon.py
# 如果遇到权限错误
chmod +x ib_afridi_recon.py
./ib_afridi_recon.py
```
### 示例:IP 地理位置查询
```
➤ Option choose karo: 1
Target IP ya domain daalo: google.com
[✓] Resolved IP : 142.250.185.46
[✓] Hostname : lga25s80-in-f14.1e100.net
[✓] City : Mountain View
[✓] Country : US
[✓] Org : AS15169 Google LLC
```
### 示例:端口扫描
```
➤ Option choose karo: 2
Target IP ya domain: 192.168.1.1
Port range (e.g. 1-1000): 1-500
[OPEN] Port 22 → ssh
[OPEN] Port 80 → http
[OPEN] Port 443 → https
3 open ports mile! ⏱️ 2.31s
```
### 示例:DNS 枚举
```
➤ Option choose karo: 3
Domain daalo: example.com
[A ] 93.184.216.34
[MX ] 0 .
[NS ] a.iana-servers.net. b.iana-servers.net.
[TXT ] "v=spf1 -all"
```
## 📁 项目结构
```
ib-afridi-recon-suite/
│
├── 📄 ib_afridi_recon.py ← Main script (run this!)
├── 📄 requirements.txt ← Python dependencies
├── 📄 install.sh ← Auto-install script
├── 📄 README.md ← You are here
├── 📄 LICENSE ← MIT License
│
└── 📁 .github/
└── 📁 ISSUE_TEMPLATE/
├── bug_report.md
└── feature_request.md
```
## 🛠️ 故障排除
| 问题 | 解决方案 |
|---------|----------|
| `dig: command not found` | `sudo apt install dnsutils` |
| `whois: command not found` | `sudo apt install whois` |
| `curl: command not found` | `sudo apt install curl` |
| Permission denied | `chmod +x ib_afridi_recon.py` |
| Python not found | `sudo apt install python3` |
| 端口扫描缓慢 | 缩小端口范围(例如 `1-500`) |
## ⚠️ 法律免责声明
## 👨💻 关于作者
**IB Afridi**
独立开发者与道德黑客
📍 巴基斯坦开伯尔-普赫图赫瓦省 🇵🇰
[](https://github.com/afridi017)
[](https://ib-afridi.netlify.app)
标签:DNS枚举, GitHub, Python, 实时处理, 密码管理, 攻击路径可视化, 数据统计, 无后门, 服务器安全, 端口扫描, 网络安全工具, 逆向工具, 黑客工具