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.

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".

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

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.2.tar.gz (16.7 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.2-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wib_osint-0.1.2.tar.gz
  • Upload date:
  • Size: 16.7 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.2.tar.gz
Algorithm Hash digest
SHA256 7b800ccd17a274582c42797cd2f24e5a1b24774d60b06ec7a5ac043188ccb999
MD5 bc738c259537fd6d3713eeaf7824cd25
BLAKE2b-256 81052c5caca7d6c7d10321775a9319178c641f804a66cf8edf7ab52fb0ba273c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wib_osint-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 19.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 132959d9746388b314cfb00b05c66fb67ff13588a9b1b1df0d27a4941c86f475
MD5 9a49c9cbe7c4dd694afd06822b65f73c
BLAKE2b-256 33a3c41f6f13d2c0ef9a180381de864a8e462f9c700a85d16a1f479dfdab1237

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