LatteSec/LatteOSINT
GitHub: LatteSec/LatteOSINT
一款使用 Go 编写的高级开源情报(OSINT)框架,提供域名侦察、子域名发现和跨平台人员搜索功能。
Stars: 0 | Forks: 0
# ☕ LatteOSINT
**高级 OSINT 框架** — 一款功能强大的情报收集工具,利用开源途径进行域名/IP 侦察和人员搜索。
[](https://golang.org/)
[](LICENSE)
[]()
## 📋 目录
- [功能](#-features)
- [安装说明](#-installation)
- [用法](#-usage)
- [TUI 界面](#tui-interface)
- [命令行](#command-line)
- [示例](#-examples)
- [报告结构](#-report-structure)
- [环境要求](#-requirements)
- [免责声明](#-disclaimer)
- [许可证](#-license)
## 🚀 功能
### 🔍 域名/IP 扫描
- **DNS 记录**:A、AAAA、CNAME、MX、NS、TXT
- **WHOIS 信息**:注册商、创建/到期日期、域名服务器
- **子域名发现**:通过 crt.sh、DNS 暴力破解、搜索引擎
- **端口扫描**:50+ 个常用端口
- **SSL/TLS 分析**:证书、有效期、指纹
- **HTTP 标头**:服务器响应分析
- **Shodan 侦察**:开放服务信息
- **电子邮件提取**:从目标域名提取
### 👤 人员搜索
- **社交媒体搜索**:40+ 个平台(YouTube、Facebook、Twitter/X、Instagram、LinkedIn、GitHub、Reddit、TikTok 等)
- **搜索引擎**:Google、Bing、DuckDuckGo
- **数据泄露**:Have I Been Pwned、Psbdmp
- **电话目录**:Whitepages、TruePeopleSearch、Spokeo
- **专业网络**:LinkedIn、ResearchGate、Academia
- **代码仓库**:GitHub、GitLab、Bitbucket、CodePen
- **游戏平台**:Steam、Twitch、Xbox、PlayStation、Discord
### 📊 报告
- **JSON 导出**:用于进一步分析的结构化数据
- **PDF 报告**:带有分类标头的专业报告
- **本地存储**:所有报告均保存至 `~/LatteOSINT/reports/`
### 🖥️ 界面
- **TUI(终端界面)**:支持键盘导航的友好界面
- **CLI(命令行)**:通过参数快速执行
## 📦 安装说明
### 前置条件
- Go 1.20 或更高版本
- Git
### 从源码安装
```
# 克隆 repository
git clone https://github.com/yourusername/latteosint.git
cd latteosint
# 下载 dependencies
go mod download
# Build
go build -o latteosint main.go
# (可选)安装至全局
sudo cp latteosint /usr/local/bin/
```
### 手动安装依赖
```
go get github.com/PuerkitoBio/goquery
go get github.com/fatih/color
go get github.com/gdamore/tcell/v2
go get github.com/jung-kurt/gofpdf
go get github.com/rivo/tview
go get github.com/rodaine/table
```
## 🎮 用法
### TUI 界面
启动 TUI(推荐):
```
./latteosint
# or
./latteosint tui
```
**操作说明:**
- `Tab` — 在元素之间导航
- `Esc` — 返回主菜单
- `Enter` — 选择/确认
- `Ctrl+C` — 退出程序
### 命令行
```
./latteosint scan # Scan target
./latteosint person "Full Name" # Search person information
./latteosint report # Generate PDF from JSON
./latteosint tui # Launch TUI interface
./latteosint help # Show help
```
## 📝 示例
### 1. 域名扫描
```
./latteosint scan example.com
```
**输出:**
```
[*] Starting advanced OSINT scan for: example.com
[1/9] Collecting DNS records...
[2/9] Retrieving WHOIS information...
[3/9] Searching subdomains...
[4/9] Scanning open ports...
[5/9] Checking SSL certificate...
[6/9] Analyzing HTTP headers...
[7/9] Searching email addresses...
[8/9] Analyzing robots.txt...
[9/9] Collecting Shodan information...
[✓] Scan completed!
[+] DNS RECORDS:
┌────────┬──────────────┬──────────────────────────────────┐
│ TYPE │ NAME │ VALUE │
├────────┼──────────────┼──────────────────────────────────┤
│ A │ example.com │ 93.184.216.34 │
│ NS │ example.com │ a.iana-servers.net │
│ MX │ example.com │ mail.example.com (priority: 10) │
└────────┴──────────────┴──────────────────────────────────┘
[✓] Results saved to: /home/user/LatteOSINT/reports/example.com_scan.json
```
### 2. 人员搜索
```
./latteosint person "John Smith"
```
**输出:**
```
[*] Searching information about: John Smith
╔══════════════════════════════════════════════════════════╗
║ PERSON SEARCH RESULTS ║
╚══════════════════════════════════════════════════════════╝
[+] BASIC INFORMATION:
Name: John Smith
Risk Score: 65/100
[+] SOCIAL MEDIA PROFILES:
LinkedIn: https://linkedin.com/in/johnsmith
GitHub: https://github.com/johnsmith
Twitter: https://twitter.com/johnsmith
[+] EMAIL ADDRESSES:
• john.smith@gmail.com
• johnsmith@outlook.com
[+] DATA BREACHES:
• LinkedIn Leak 2021
• Dropbox 2016
```
### 3. 生成 PDF 报告
```
./latteosint report ~/LatteOSINT/reports/example.com_scan.json
```
### 4. 使用 TUI
```
./latteosint
```
打开交互式菜单:
```
☕ LatteOSINT - Main Menu
───────────────────────────
🔍 Scan Domain/IP
👤 Search Person
📊 Generate Report
📋 Recent Results
ℹ️ Help
🚪 Exit
```
## 📁 报告结构
所有报告均保存至 `~/LatteOSINT/reports/`:
```
~/LatteOSINT/reports/
├── example.com_scan.json # Scan result JSON
├── example.com_report.pdf # PDF report
├── john_smith_person.json # Person search result
└── john_smith_report.pdf # Person PDF report
```
### JSON 格式
```
{
"target": "example.com",
"timestamp": "2024-01-15T14:30:00Z",
"dns_records": [
{
"type": "A",
"name": "example.com",
"value": "93.184.216.34",
"ttl": 86400
}
],
"whois_info": {
"registrar": "IANA",
"created_at": "1995-08-14",
"expires_at": "2025-08-13",
"name_servers": ["a.iana-servers.net"]
},
"subdomains": ["www.example.com", "mail.example.com"],
"open_ports": [80, 443],
"ssl_info": {
"issuer": "DigiCert Inc",
"subject": "example.com",
"not_after": "2025-01-15T23:59:59Z"
},
"emails_found": ["admin@example.com"],
"technologies": ["nginx", "cloudflare"]
}
```
## 🔧 环境要求
### 系统
- **操作系统**:Linux、macOS、Windows(推荐使用 WSL)
- **内存**:至少 512 MB RAM
- **磁盘**:100 MB 可用空间
- **互联网**:需要互联网连接以发送 API 请求
### 网络
- 访问 WHOIS 服务器(端口 43)
- 访问 DNS 服务器(端口 53)
- 对目标拥有 HTTP/HTTPS 访问权限
## ⚠️ 免责声明
**请勿将 LatteOSINT 用于:**
- 未经授权的系统扫描
- 跟踪或骚扰
- 侵犯他人隐私
- 未经许可的商业情报收集
## 🛠️ 技术细节
### 架构
- **并行执行**:所有模块并发运行
- **速率限制**:使用信号量控制负载
- **错误处理**:对不可用的服务具有韧性
- **缓存**:重用 HTTP 客户端
### 使用的技术
- **Go** — 主要语言
- **goquery** — HTML 解析
- **tview** — TUI 界面
- **gofpdf** — PDF 生成
- **tcell** — 终端支持
## 📄 许可证
基于 MIT 许可证分发。有关更多信息,请参见 [许可证](LICENSE)。
## 📞 支持
- **提交 Issue**:[GitHub Issues](https://github.com/lattesec/latteosint/issues)
- **文档**:内置帮助(`./latteosint help`)
## 📊 支持的平台
| 平台 | 搜索支持 | 资料提取 |
|----------|---------------|-------------------|
| YouTube | ✅ | ✅ |
| Facebook | ✅ | ✅ |
| Twitter/X| ✅ | ✅ |
| Instagram| ✅ | ✅ |
| LinkedIn | ✅ | ✅ |
| GitHub | ✅ | ✅ |
| Reddit | ✅ | ✅ |
| TikTok | ✅ | ✅ |
| Twitch | ✅ | ✅ |
| Medium | ✅ | ✅ |
| Quora | ✅ | ✅ |
| StackOverflow | ✅ | ✅ |
| Discord | ✅ | ✅ |
| Steam | ✅ | ✅ |
| 还有 40+ 个平台... | ✅ | ✅ |
**LatteOSINT** — 您可靠的开源情报伙伴。🚀
*用 ☕ 和 💻 制作*
标签:ESC4, EVTX分析, GitHub, Go, OSINT, Ruby工具, 动态插桩, 实时处理, 日志审计, 用户定义反射加载器