Metadata-Version: 2.4
Name: igtools-pip
Version: 1.0.6
Summary: Instagram Privacy & OSINT Tool: Hide followers/following lists and find user comments via Google Dork queries.
Author-email: spyboy <spyboy.co@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/IM-SPYBOY/igtools
Project-URL: Telegram, https://t.me/spytube
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: instagrapi
Requires-Dist: ddgs
Requires-Dist: beautifulsoup4
Requires-Dist: googlesearch-python
Requires-Dist: colorama
Requires-Dist: termcolor
Dynamic: license-file

# IGTools - Instagram Privacy & OSINT Tool 🔍🔒

**IGTools** (`igtools`) is a Python CLI tool and library built by **SPYBOY** that combines:
1. **Hide / Unhide Followers & Following List**: Enables or disables the `hide_followers_following_list` privacy setting on your Instagram account via Instagram's GraphQL Pando API.
2. **Find Comments on Posts via Google Query (Dork Search)**: Unlimited real-time Google Dork search (`site:instagram.com intext:<username>`) to discover posts where a target user has left comments or been mentioned.
3. **Session Persistence (`session.json`)**: Log in once with your Instagram username & password (using `instagrapi`, just like `instaspy-pip`) or with a `sessionid` cookie, and automatically reuse `session.json` across runs.

---

## Installation

Install directly from PyPI:

```bash
pip install igtools-pip
```

Or install from source:

```bash
git clone https://github.com/IM-SPYBOY/igtools.git
cd igtools
pip install .
```

---

## Usage

### 1. Interactive Menu (like `instaspy-pip`)

Simply run:

```bash
igtools
```

You will see the interactive menu:
1. **Hide Followers & Following List (Enable)**
2. **Unhide Followers & Following List (Disable)**
3. **Find Comments on Posts via Google Query (Dork Search)**
4. **Login / Switch Instagram Session**
5. **Exit**

### 2. Direct CLI Subcommands

- **Log in & save `session.json`:**
  ```bash
  igtools login
  ```
- **Hide your followers & following list (uses saved `session.json` or prompts to log in):**
  ```bash
  igtools hide-lists
  ```
- **Unhide your followers & following list:**
  ```bash
  igtools hide-lists --disable
  ```
- **Find posts where a user commented via Google Dork query:**
  ```bash
  igtools dork <target_username>
  # or
  igtools find-comments <target_username>
  ```

---

## Configuration & Security

- Your Instagram session is saved locally in `session.json`. Keep this file secure and never commit it to public repositories.
- You can also specify a custom session file path via `igtools --session-file /path/to/session.json`.

## Author
- **SPYBOY**
- [Telegram Channel](https://t.me/spytube)
- [GitHub](https://github.com/IM-SPYBOY)
