tommyvercetti89/ospy
GitHub: tommyvercetti89/ospy
Ospy 是一款强制通过 Tor 运行的 APT 级被动 OSINT 情报收集引擎,支持对域名、IP、用户名、邮箱等多种目标进行递归式的匿名侦察。
Stars: 0 | Forks: 0
# Ospy 👁️🗨️
--type [OPTIONS]
```
### 目标类型
| `--type` | 触发模块 |
|----------|------------------|
| `domain` | 企业映射、dorking、子域名、技术栈、CVE、crt.sh、URLScan |
| `ip` | Geo-IP、端口扫描、AbuseIPDB、GreyNoise、Shodan IoT、VirusTotal |
| `username` | Sherlock 社交追踪、暗网 spider、GitHub 泄露检查 |
| `email` | HIBP 泄露查询、身份映射、暗网提及 |
| `crypto` | Bitcoin 区块链余额 / 交易追踪 |
| `hash` | MD5 彩虹表解密、VirusTotal 文件信誉度 |
### 示例
```
# 通过交互式 intelligence graph 进行全面域名扫描
python ospy.py -t targetcompany.com --type domain --depth 2 --graph --agree
# 跨所有平台追踪用户名
python ospy.py -t some_username --type username --pdf --agree
# Email 泄露和 dark-web 检查
python ospy.py -t user@example.com --type email --json --agree
# IP 威胁情报
python ospy.py -t 1.2.3.4 --type ip --txt --agree
# Hash 查找
python ospy.py -t 5f4dcc3b5aa765d61d8327deb882cf99 --type hash --txt --agree
# 部署后台每小时监视器
python ospy.py -t targetcompany.com --type domain --daemon --agree
python ospy.py --daemon-status
python ospy.py --daemon-stop
```
### 关键选项
| 标志 | 描述 |
|------|-------------|
| `--depth N` | 递归深度:`1` = 仅目标 · `2` = + 发现的目标 · `3` = 深度 |
| `--graph` | **推荐** — 交互式 Vis.js 节点情报地图 |
| `--agree` | 自动接受法律免责声明(用于脚本和自动化) |
| `--daemon` | 作为后台每小时监视进程运行 |
## 🔔 通知(可选)
在 `config/.env` 中配置 Discord / Telegram webhook,以便在发现关键结果(暗网提及、高滥用分数 IP、已确认的数据泄露)时接收**即时告警**。
```
DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/...
TELEGRAM_BOT_TOKEN=123456:ABC-DEF...
TELEGRAM_CHAT_ID=123456789
```
## 📚 文档
| 语言 | 指南 |
|----------|-------|
| 🇹🇷 土耳其语 | [GUIDE.md](GUIDE.md) |
| 🇬🇧 英语 | [GUIDE_EN.md](GUIDE_EN.md) |
## 📄 许可证
[MIT](https://choosealicense.com/licenses/mit/)
标签:ESC4, GitHub, OSINT, Python, Tor, 匿名网络, 安全工具库, 实时处理, 异步框架, 无后门, 被动侦察, 计算机取证, 逆向工具