osint-services/profile_search

GitHub: osint-services/profile_search

基于 FastAPI 和 Tweepy 构建的 OSINT 微服务,通过传入社交媒体 URL 返回该账号的结构化元数据。

Stars: 2 | Forks: 0

# profile 搜索 `profile_search` 是一个 OSINT 微服务,它搜索给定 URL 的 profile,并使用 [Tweepy](https://docs.tweepy.org/en/stable/) 返回在该站点上找到的元数据。 ## 环境要求 - Python 3.9 或更高版本 ### 技术栈 - [FastAPI](https://fastapi.tiangolo.com/) - [Tweepy](https://docs.tweepy.org/en/stable/) - [python-dotenv](https://saurabh-kumar.com/python-dotenv/) ### 设置 1. 创建 Python 虚拟环境:`python -m venv .venv` 2. 激活虚拟环境:`source .venv/bin/activate` 3. 安装依赖项:`pip install -r requirements.txt` 4. 复制环境文件模板:`cp .env.example .env` 5. 使用 `TWEEPY_BEARER_TOKEN` 变量将你的 Twitter bearer token 添加到 `.env` 中。 ### 运行应用 在仓库根目录下,启动 FastAPI 服务器: ``` uvicorn profile_search.server:app --reload ``` ### API 用法 向 `/focus` endpoint 发送带有 `url` 查询参数的 GET 请求。 示例: ``` curl "http://127.0.0.1:8000/focus?url=https://twitter.com/Twitter" ``` 该服务返回在提供的 URL 处找到的 profile 的 JSON 元数据。
标签:AV绕过, ESC4, FastAPI, OSINT, Python, 数据泄露, 无后门, 社交媒体, 逆向工具