Skip to main content

Passive OSINT lookups for IPs and domains with a clean terminal UI

Project description

wib

Passive OSINT lookups for IPs and domains with a clean terminal UI.

  • Free by default: IPWhois (ipwho.is) for IPs; RDAP for domains (fallback to Port 43 WHOIS).
  • Optional enrichments when API keys provided (VirusTotal, IP2Whois, IPinfo, etc.).
  • Pretty Rich panels or machine-readable JSON/YAML/Markdown output.

Installing wib

pip install wib-osint

Usage

wib 1.1.1.1
wib google.com
wib --dns google.com
wib api[.]google[.]com -A
python -m wib.main google.com --output json

Install (dev)

Windows-friendly steps (PowerShell or zsh on Windows):

python -m venv .venv
. .venv/Scripts/activate
pip install -U pip
pip install -e ".[dev]"

Note for zsh: square brackets are glob characters. Always quote extras (".[dev]") or escape them (.[dev]) to avoid "no matches found".

Global flags:

  • -A/--all: enable all optional enrichments for which keys are configured
  • --geo-service [ipwhois|ip2location|ipinfo]
  • --max-resolutions N (for VT)
  • --one-column, --no-color
  • --timeout
  • --no-virustotal
  • --dns (resolve and show DNS records for domains)
  • --output [rich|json|yaml|md], --out-file

Environment:

  • WIB_DEFAULTS: space-separated default flags merged before argv
  • Optional env file: ~/.env.wib (process env wins)
  • Keys (all optional, read from global OS env):
    • VT_API_KEY
    • IP2WHOIS_API_KEY (enables paid IP2WHOIS fallback for domains)
    • IP2LOCATION_API_KEY, IPINFO_API_KEY, SHODAN_API_KEY, GREYNOISE_API_KEY, ABUSEIPDB_API_KEY, URLHAUS_API_KEY
  • GEOLOCATION_SERVICE mirrors --geo-service

Fallback order for domain whois:

  1. RDAP (free)
  2. Port 43 WHOIS (free)
  3. IP2WHOIS (optional, if IP2WHOIS_API_KEY is set)

Set env variables on Windows:

  • Current session (PowerShell): $env:IP2WHOIS_API_KEY = "your_key"
  • Persistent (User, restart terminal after): setx IP2WHOIS_API_KEY "your_key"

Tests

python -m pytest -q

Dev tasks

ruff check .
black .
mypy .
pytest -q
bandit -r wib

License: MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wib_osint-0.1.4.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wib_osint-0.1.4-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file wib_osint-0.1.4.tar.gz.

File metadata

  • Download URL: wib_osint-0.1.4.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wib_osint-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a6cc1d925a332d983ae52e18bf01bc4fe62c284c8a336501b48223accc77af75
MD5 96fdf56cadf13b3ab959ef8bd5b14c49
BLAKE2b-256 e809f8811f7b2a49a0eb5add34d239fe1b8bb8c15010505efaee8389f1d095af

See more details on using hashes here.

File details

Details for the file wib_osint-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: wib_osint-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wib_osint-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f7b0ab0a8f4d25e75819ffe3257d5038fb4955cc291a14353ebdbbb082652af0
MD5 661c9487454e1f87250beaea072ac7b5
BLAKE2b-256 0430b0b6a9a65cdbc3f64567f29e250d8f100ebe0e50653b14657063b7761a0d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page