Skip to content

About

An interactive Python CLI tool for OSINT automation. Seamlessly query 7 intelligence modules via the HACKUNDERWAY API, analyze structured data, and export professional TXT/PDF reports right from your terminal.

Topics

Resources

Code of conduct

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

HACKUNDERWAY CLI 🕵🏽‍♂️

Is a terminal-based OSINT intelligence console that runs username, social media, email, phone and domain lookups through the HACKUNDERWAY API. Seven modules, one API key, TXT and PDF reports. Developed for use with Python from the terminal. 👁

HACKUNDERWAY CLI

Python version License

✨ Features

  • 📱 Seven Intelligence Modules - Username, Twitter, TikTok, Instagram, Email, Phone and Domain lookups.
  • 🔑 API-Key Authentication - Key stored locally and excluded from git.
  • 🎨 Colorful Output - Easy to read terminal output with colored headings, states and tables.
  • 📊 Rich Reports - TXT and PDF export from the same result, without extra API charges.
  • 🚀 Wide and Narrow Layouts - Status panel alongside results on wide terminals, stacked panels on narrow ones.
  • 🛡️ Credit-Controlled - Confirmation prompt before every paid lookup, no automatic retries.
  • 🧩 Build Your Own Tool - The API is usable from any client; see examples/custom_client.py.

🔑 API Key Required

Get your API key and credits from the HACKUNDERWAY platform:

Service Purpose Link Plan Key
HACKUNDERWAY OSINT lookups across seven modules osint.hackunderway.io Pay-per-credit 🔑 (Necessary)

🔑 Getting an API Key and Credits

To use the HACKUNDERWAY CLI, you need an API Key and API Credits.

  1. Create an account or log in at osint.hackunderway.io.
  2. Go to the API Plan section in your dashboard (osint.hackunderway.io/api_model).
  3. Purchase a credit pack. Note: API Credits are separate from the standard dashboard credits used for the web OSINT platform.
  4. Once purchased, your Active API Key will appear at the bottom of the API Plan page. Copy it.

HACKUNDERWAY Dashboard

HACKUNDERWAY API Credits

HACKUNDERWAY API Credits

HACKUNDERWAY ADD Credits

Note

Understanding your Credits:

  • Available Credits: These are the standard platform credits used to run modules inside the web-based HACKUNDERWAY OSINT dashboard.
  • Available API Credits: These are separate credits specifically for the API. You use them to run lookups via this CLI tool, or to build your own custom tools and integrations that consume the HACKUNDERWAY API.

Both balances are managed separately within your dashboard.

Configure your API key:

The first time you run the CLI, it asks for your key and saves it locally in api_key.txt:

Paste your API key with Ctrl+V, then press Enter.
The key will be visible while you paste and stored locally in api_key.txt.
API key >

To replace the key later, choose K from the main menu. You can also use the HACKUNDERWAY_API_KEY environment variable instead of a file:

export HACKUNDERWAY_API_KEY="HU-xxxxxxxxxxxxxxxx"
python3 main.py

⚙️ Requirements

  • Python 3.10 or newer.

  • A HACKUNDERWAY API Key with available credits.

  • Network access to https://osint.hackunderway.io.

SUPPORTED DISTRIBUTIONS

Distribution Verified version Supported Status
Kali Linux 2026.3 ✅ Working
Parrot Security OS 6.3 ✅ Working
Windows 11 ✅ Working
BackBox 9 ✅ Working
Arch Linux 2024.12.01 ✅ Working

🚀 Installation & Usage

git clone https://github.com/HackUnderway/hackunderway-cli.git
cd hackunderway-cli

Create a virtual environment (optional but recommended)

python3 -m venv .venv
source .venv/bin/activate        # Windows: .venv\Scripts\activate

Install dependencies

python -m pip install -r requirements.txt

Run the tool

python3 main.py

Modules and Credits

ID Module Credits Input
1 Username 1 username
2 Twitter 3 username
3 TikTok 5 username
4 Instagram 5 username
5 Email 3 email
6 Phone 3 phone
7 Domain 3 domain

Tip

Tip: The interactive menu runs in a continuous loop, allowing you to perform multiple queries until you choose the exit option (0 or Q). You will only be charged for successful lookups.

HACKUNDERWAY CLI Terminal


📄 Reports

After a lookup, choose TXT or PDF. Both exports are generated from the same result and do not consume additional credits. Files are saved under the reports/ directory with UTC timestamps.

HACKUNDERWAY PDF Report

Privacy Note: Example reports are not included in this repository to protect the privacy of the individuals present in query results. The reports/ directory is ignored by git.


🧩 Build Your Own Tool

The CLI is just one client for the HACKUNDERWAY API. You can consume the API from your own applications, scripts, or bots.

Interactive API Documentation

We provide a fully interactive Swagger UI directly in your dashboard. You can test endpoints, view required parameters, and see live JSON responses.

  1. Log in to osint.hackunderway.io.
  2. Go to the API Plan section and click on the Documentation tab (/api_model#api-docs).
  3. Click Authorize and paste your API key to test the endpoints directly from your browser.

HACKUNDERWAY API Swagger Docs

Python Integration Example

Check out examples/custom_client.py for a minimal Python script that authenticates, runs a lookup, and prints the JSON response.

All endpoints follow a standard GET request format:

GET https://osint.hackunderway.io/api_codes/username.php?key=YOUR_API_KEY&username=target

(Note: The parameter name changes based on the module. Use username, email, phone, or domain accordingly).


🛡️ Privacy & Disclaimer

Warning

Disclaimer

This tool is intended for authorized security research, defensive investigations, and OSINT purposes only.

  • Do not use for illegal activities, harassment, or non-consensual surveillance.
  • The developer is not responsible for any misuse or damage caused by this tool.

Read the full DISCLAIMER.md. By using this tool, you agree to the terms outlined in that document.


SUPPORT

Questions, bugs or suggestions to : contact@hackunderway.io

LICENSE

  • SearchPhone is licensed.
  • See LICENSE for more information.

👨‍💻 Author & Support


🕵️‍♂️ OSINT Platform

OSINT Platform

🔗 Links

Patreon Web site Facebook YouTube Twitter/X Instagram TryHackMe

☕️ Support the project

If you like this tool, consider buying me a coffee:

Buy Me a Coffee

from made in with by: Victor Bancayan

© 2026

About

An interactive Python CLI tool for OSINT automation. Seamlessly query 7 intelligence modules via the HACKUNDERWAY API, analyze structured data, and export professional TXT/PDF reports right from your terminal.

Topics

Resources

Code of conduct

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages