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.3.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.3-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wib_osint-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 b6e1950d9663e2305f5d43b27e565c4d0d87c144aae037cbbb0c10cbf1c05377
MD5 9acbcf45299a9eeeaf09e2d469e1d8ae
BLAKE2b-256 fb535f244cd6284825824b78c790f79bfadf7e83c34b7624eaa2309a06fa4020

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wib_osint-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7d52a77b8eb2826c4f977bb39226a8568fbcf3d521f90714043c2935163592e6
MD5 d70df7c63432f13ff13810db18218976
BLAKE2b-256 1043ca11f7514d21c4174dd824f21fcd7ef323eaf78827f5fdd70b78f1b6ec71

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