This script automates the process of reporting a user on Instagram for violating the platform's community guidelines.
- Automation: Automatically reports a specified user multiple times.
- Login Methods:
- Username/Password: Standard login (may trigger checkpoints/2FA).
- Session ID: Bypass login checkpoints by using your browser's session cookie (Recommended).
- Username Resolution: Accepts either a username or numeric user ID — usernames are resolved automatically.
- Secure: Supports environment variables or interactive prompts — no hardcoded credentials.
- Smart: Uses random delays to avoid rate limiting.
- A valid Instagram account.
- Python 3.7+ installed.
- Dependencies installed (
pip install -r requirements.txt).
-
Clone the repository:
git clone https://github.com/reblox01/InstaReport.git cd InstaReport -
Install dependencies:
pip install -r requirements.txt
Run the script:
python igban.pyThe script will ask you to choose a login method:
- Username / Password: Enter your credentials. If you have 2FA enabled or get a "checkpoint required" error, use option 2.
- Session ID (Recommended): Use this if standard login fails.
- Open Instagram.com in your browser and log in.
- Press F12 to open Developer Tools.
- Go to Application (Chrome) or Storage (Firefox) > Cookies.
- Find the cookie named
sessionidand copy its value. - Paste it into the script when prompted.
You can skip prompts by setting variables:
# Linux / macOS
export IG_USERNAME="your_user"
export IG_PASSWORD="your_pass"
# OR for session ID:
export IG_SESSIONID="your_session_id_cookie"
python igban.pyThe script (igban.py) will automatically try to resolve usernames to IDs for you.
If you want to manually get an ID, use the included helper script:
python get_id.pyThis script will ask for a username and give you their numeric User ID.
| # | Reason |
|---|---|
| 1 | Spam |
| 2 | Inappropriate content |
| 3 | Violence or harm |
| 4 | Impersonation |
| 5 | Bullying |
| 6 | False info |
| 7 | Harmful orgs |
| 8 | Illegal activity |
| 9 | Private info |
| 10 | Copyright |
| 11 | Trademark |
| 12 | Other |
This tool is for educational purposes only. Misuse to harass or harm others is strictly prohibited. Use responsibly.