--- license: mit tags: - osint - cli - investigation --- # OSINTBot CLI Author: Tôn Thất Bảo Toàn. Repository version 0.1.4. This repository hosts the OSINTBot command-line tools only (version 0.1.2 of the `osint` CLI). The investigation skills ship with the OSINTBot Grok Bot template and are stored in the bot's skill library. They are not published in this repository. ## Download https://huggingface.co/Huiginn/osintbot-template/resolve/main/cli/osintbot-0.1.2.zip Verify this SHA-256 digest before installing (also recorded in `cli/osintbot-0.1.2.zip.sha256`): ``` f65a3f3c22d38db14053bd7367bb4ba63a2ef35994d4b19874612c4bb8259813 osintbot-0.1.2.zip ``` The zip extracts to a folder named `osintbot-0.1.2`. The `osint` wrapper is MIT-licensed. Upstream licenses and official sources are listed in `NOTICE.md` inside the zip. ## Install The base install needs Python 3.11+ and a network connection to fetch official ExifTool 13.64. It creates a virtual environment, installs pinned Python packages, and checks SHA-256 digests listed in `checksums.txt`. A mismatch stops the install. The base install needs no API keys or tokens. Do not paste secrets into chat or into files that will be shared. - Windows (64-bit): from the extracted folder, run `.\install.ps1`. After install, the command is `bin\osint.cmd`. - Linux or macOS: run `./install.sh`. This needs Python 3.11+, Perl, curl, and tar. On macOS the installer uses the official Unix ExifTool tarball (Perl), not the `.pkg`, so administrator rights are not required. After install, the command is `bin/osint`. ## Commands From the install folder, after the base install (on Windows use `bin\osint.cmd` in place of `bin/osint`): ``` bin/osint versions bin/osint exif photo.jpg bin/osint ela photo.jpg -o ela.png bin/osint unfurl "https://example.com/search?q=sample&t=1700000000" bin/osint suncalc --lat 0 --lon 0 --when 2026-11-24T12:00:00Z bin/osint wayback http://example.com/ --cdx-limit 3 bin/osint urls example.com bin/osint urls example.com --json -o urls.json --limit 200 --timeout 20 --max-time 60 bin/osint geolocate photo.jpg bin/osint geolocate photo.jpg --json --top 5 bin/osint reverse photo.jpg --json ``` `suncalc --when` must be an ISO 8601 timestamp with a time-zone offset (`Z` is accepted). Use your own files or the reserved `example.com` domain for tests. Quote URLs that contain `&` when invoking through `cmd.exe`. Base commands (no keys): `versions`, `exif`, `ela`, `unfurl`, `suncalc`, `wayback`, `urls`. - `osint urls` collects known URLs from the official Wayback CDX API, the official Common Crawl Index API (latest index from `collinfo.json`), and the unauthenticated AlienVault OTX `url_list` API. Each request has a timeout, and the command also caps total lines and elapsed time. If one source fails, the command reports the error and continues with the others, then deduplicates the results. - `osint unfurl` expands a URL locally and does not enable remote lookups. `osint wayback` uses the official Internet Archive API. ## Optional geolocate `osint geolocate` is not inside the zip. After the base install, run `scripts\install_geolocate.ps1` (Windows) or `./scripts/install_geolocate.sh` (Linux or macOS). That script installs CPU PyTorch into the same `.venv`, then downloads the pinned osv5m source (commit `4e6075387ecde4255410785ffb83830c9aa099f6`) and the MIT-licensed `osv5m/baseline` weights plus the DataComp backbone into `vendor/` under the install folder. Plan on about 5 GB of free space (the weights are about 1.21 GiB + 1.59 GiB, plus PyTorch). The model runs on CPU. It reports latitude and longitude in degrees, ranked predictions, and a nearest place name when the offline `reverse_geocoder` package is installed. It does not call Nominatim or any online map service. Treat the result as a region clue only. ## Optional official-API reverse search `osint reverse` talks only to official provider APIs when you have created a key, accepted the provider's terms yourself, and stored the key as a secret or in a local environment file that is never committed. By default it calls official Google Cloud Vision Web Detection when `GOOGLE_CLOUD_VISION_API_KEY` is set. TinEye and Yandex APIs run only if named in `--providers` and the matching keys are already stored. If a key is missing, the command reports the missing variable and exits; it does not sign up and does not upload the image. Keys are never printed. Version 0.1.2 does not scrape reverse-image web pages, does not need a browser, and does not ship `gau`. ## Ethics of use - Public sources only. Comply with the data protection law where the user lives. - No doxxing of private individuals, no leaked or stolen data, and no fake logins. - Do not paste passwords, API keys, or tokens into chat or into files that will be shared. ## What this repository does not include - Investigation skills. Those ship with the OSINTBot Grok Bot template and the owner's skill library. - The optional geolocation model weights (downloaded only if you run the geolocate installer). - API keys, accounts, or a pre-chosen computer. ## Changelog ### 0.1.4 - Repository now contains the CLI package only. Skills moved to the Grok Bot skill library. ### 0.1.3 - Public template pack that still included bot skills and a bot description. Those files were removed in 0.1.4. ### 0.1.2 - Initial public CLI package (installers for Windows, Linux, and macOS), with the pinned SHA-256 digest.