需先创建并激活 Python 虚拟环境再安装依赖;只能查看通过公开账号协作关系暴露的私密帖子,否则会提示 No posts found;仅限教育、研究和数字取证用途,滥用风险自负

InstagramPrivSniffer
obitoukaMIT活跃维护匿名查看 Instagram 私密账号帖子的命令行工具,面向 OSINT 调查场景,无需登录或关注即可获取受限内容。
First ever tool to view "Instagram private posts" anonymously
git clone https://github.com/obitouka/InstagramPrivSniffer.git
cd InstagramPrivSniffer
python -m pip install -r requirements.txt
python main.py -hREADME 未说明
通过公开账号的协作关系查看私密 Instagram 账号帖子的 OSINT 工具
匿名查看 Instagram 私密账号帖子的命令行工具,面向 OSINT 调查场景,无需登录或关注即可获取受限内容。
核心能力
- 利用协作功能访问私密账号的帖子链接
- 支持下载并查看帖子媒体文件
- 用 -n 参数按用户名查询私密账号帖子
- 用 -d 参数按帖子链接下载媒体
容易踩的坑
- v3.0.0InstagramPrivSniffer v3.0.0最新正式版2026-09-18 · 2026-09-18 18:42 UTC
What's Changed
- Replaced the old Instagram API-based fetching method used in v2.4.5.
- Added a new HTML-based media fetching method.
- Simplified error handling and media downloading.
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
DISCLAIMER
[!IMPORTANT]
Date reported: 29/06/2025
Meta replied: 01/07/2025
Tool created: 09/07/2025I discovered an endpoint that allowed me viewing posts from a private Instagram account revealed via collaborating with public accounts. I reported this to Meta BBP related to privacy issue but after few days Meta confirmed that this is intended behavior based on Collaboration feature. Therefore, this is not a vulnerability
POC
[!CAUTION]
Created strictly for educational, research and digital investigation purposes. The developer is not responsible for any misuse.For any legal concerns regarding this project, please contact me directly before taking any action (read "Issues Guide" of CONTRIBUTING.md).
FEATURE :
- Can assist digital investigators (cyber units) to
access private account postswhich is revealed via collaborating with public account. - Download & view media
INSTALLATION :
-
Get the source code
-
Clone the repository (recommended)
git clone https://github.com/obitouka/InstagramPrivSniffer.git cd InstagramPrivSniffer -
Or download the ZIP archive and extract it.
-
-
Create a virtual environment
Linux / macOS
python3 -m venv .venvWindows
python -m venv .venv -
Activate the virtual environment
Linux / macOS
source .venv/bin/activateWindows
.venv\Scripts\activate -
Install dependencies
python -m pip install -r requirements.txt
USAGE :
View available commands
[!TIP] Navigate to the
InstagramPrivSnifferroot folder in a command line and run:python main.py -h
How to use those commands
[!NOTE] You have my permission to test this command on my experimental private Insta account @keyloggerluvr as a proof that tool works.
Use this to access private account post links
python main.py -n keyloggerluvrOr use this to download and view post
python main.py -d https://www.instagram.com/keyloggerluvr/p/DL47hX4olz8wRQXBQ4HAaEmba9x7nC9HCSm4M80

FAQ
- Why “No posts found” even when the account has posts?
Please refer issues14
CONTRIBUTING GUIDELINES :
Wish to contribute by adding a feature or by fixing a bug, please read the CONTRIBUTING.md file for guidelines.
ISSUES GUIDELINES :
Want to ask a question, suggest a feature or report a bug, please read the "Issues Guide" of CONTRIBUTING.md for the guidlines.
LICENSE :
Licensed under the MIT License © 2025 obitouka.
You are free to use, modify, and distribute this project, provided that you give credit, include the original copyright and license notice.
