XDibox/osint-tool

GitHub: XDibox/osint-tool

一款并发 OSINT 工具,可跨 19 个平台搜索用户名并通过 HaveIBeenPwned 检查邮箱泄露情况。

Stars: 0 | Forks: 0

# OSINT 工具 — 用户名与邮箱侦察 一款并发 OSINT 工具,可同时在 19 个平台上搜索目标用户名,并根据 HaveIBeenPwned 泄露数据库检查电子邮件地址。没有繁重的依赖项 —— 仅需标准库和 `colorama`。 作为一个网络安全作品集项目构建,用于演示侦察方法和 OSINT 技术。 ## 功能 - **用户名搜索** 覆盖 19 个平台(GitHub、Reddit、Twitter/X、Instagram、TikTok、Steam、Telegram、HackTheBox、TryHackMe 等) - **并发请求** —— 通过线程池并行检查所有平台 - **实时输出** —— 结果到达时即打印,无需等待全部完成 - **电子邮件泄露检查** 通过 HaveIBeenPwned API 进行(需要免费 API 密钥) - **JSON 导出** 用于与其他工具或报告集成 ## 检查的平台 | 类别 | 平台 | |----------|-----------| | 开发 / 安全 | GitHub, GitLab, HackerNews, HackTheBox, TryHackMe | | 社交 | Twitter/X, Instagram, TikTok, YouTube, Twitch, Pinterest, Telegram | | 其他 | Reddit, Steam, Keybase, Dev.to, Medium, Pastebin, Linktree | ## 安装说明 ``` git clone https://github.com/XDibox/osint-tool.git cd osint-tool python3 -m venv venv source venv/bin/activate pip install -r requirements.txt ``` ## 用法 ``` # 仅搜索用户名 python3 osint.py -u johndoe # 仅检查邮箱 python3 osint.py -e john@example.com # 两者同时进行 python3 osint.py -u johndoe -e john@example.com # 导出结果到 JSON python3 osint.py -u johndoe -o results.json ``` ### HaveIBeenPwned API 密钥 电子邮件泄露检查需要从 [haveibeenpwned.com/API/Key](https://haveibeenpwned.com/API/Key) 获取免费的 API 密钥。 ``` export HIBP_KEY=your_key_here python3 osint.py -e target@example.com ``` 如果没有该密钥,用户名搜索仍可完全正常工作 —— 只是会跳过 HIBP 检查。 ## 示例输出 ``` [*] Searching username: johndoe ✔ GitHub https://github.com/johndoe ✔ GitLab https://gitlab.com/johndoe ✔ Reddit https://www.reddit.com/user/johndoe/ ✔ HackerNews https://news.ycombinator.com/user?id=johndoe ! Instagram HTTP 429 ════════════════════════════════════════════════════════════ USERNAME OSINT | johndoe 4 found · 14 not found · 1 error FOUND (4) ✔ GitHub https://github.com/johndoe ✔ GitLab https://gitlab.com/johndoe ✔ HackerNews https://news.ycombinator.com/user?id=johndoe ✔ Reddit https://www.reddit.com/user/johndoe/ ``` ## 许可证 MIT 许可证 —— 详情请参阅 [LICENSE](LICENSE)。
标签:ATT&CK, ESC4, GitHub, OSINT, Python, 安全研究, 实时处理, 无后门, 网络安全, 逆向工具, 隐私保护