Skip to main content

ghosttrace-osint

ghosttrace-osint is an OSINT reconnaissance tool for IP addresses, domains, and usernames.

Install

Install this package from PyPI:

pip install ghosttrace-osint

On Windows, installation now attempts to auto-fix user PATH and also installs a ghosttrace.bat launcher. After install, open a new terminal window and run:

ghosttrace example.com

Install From Source

If you want to run ghosttrace-osint from the repository instead of PyPI:

git clone https://github.com/YOURUSERNAME/ghosttrace.git
cd GhostTrace
pip install -r requirements.txt
pip install -e .

Then run it with:

ghosttrace example.com

Usage

The command is ghosttrace:

ghosttrace example.com
ghosttrace 8.8.8.8
ghosttrace johndoe

You can also save a report:

ghosttrace example.com -o report.json

If you want to force the target type:

ghosttrace 8.8.8.8 -t ip
ghosttrace example.com -t domain
ghosttrace johndoe -t username

If ghosttrace is not recognized in Windows CMD/PowerShell after install, try the included fixer:

py -m ghosttrace.post_install

If the ghosttrace-fixpath console script was installed and is on PATH, you can run instead:

ghosttrace-fixpath

After running the fixer, close and reopen your terminal, then run:

ghosttrace --help

Recommended: use pipx for CLI tools to avoid PATH issues:

py -m pip install --user pipx
py -m pipx ensurepath
py -m pipx install ghosttrace-osint

Configuration

  • AbuseIPDB key: To enable AbuseIPDB threat lookups set the ABUSEIPDB_KEY environment variable (or create a .env file with ABUSEIPDB_KEY=yourkey). If not set, the tool skips AbuseIPDB checks.
  • Non-interactive runs: Use --no-prompt (or -n) to avoid the final press-Enter prompt when running in scripts or CI: ghosttrace example.com --no-prompt.
  • Remove local PyPI token: If you created or used a ~/.pypirc file for publishing, remove it after publishing to avoid leaving tokens on disk.

Screenshots

Main view:

Main view

IP scan:

IP scan

Domain scan:

Domain scan

Username scan:

Username scan

Windows PowerShell:

Remove-Item -Path $env:USERPROFILE\.pypirc -Force

Unix / Git Bash:

rm ~/.pypirc

Project Structure

GhostTrace/
├── ghosttrace.bat
├── setup.py
├── setup.cfg
├── pyproject.toml
├── README.md
├── LICENSE
├── MANIFEST.in
├── requirements.txt
└── ghosttrace/
	├── __init__.py
	├── __main__.py
	└── modules/
		├── __init__.py
		├── colors.py
		├── banner.py
		├── detector.py
		├── ip_lookup.py
		├── domain_lookup.py
		├── username_lookup.py
		└── reporter.py

Release files for ghosttrace-osint 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ghosttrace-osint 1.0.4
File Size Uploaded
ghosttrace_osint-1.0.4.tar.gz 14.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ghosttrace-osint 1.0.4
File Interpreter ABI Platform
ghosttrace_osint-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 29.6 kB

Release files / ghosttrace_osint-1.0.4.tar.gz

Download URL ghosttrace_osint-1.0.4.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
88a882029da5866c8a7392c637659e64283cb1fdd3e8dd1fd99c50a62f63b601
BLAKE2b-256 checksum
How to use checksums
211ca8b16143436c238e7cda7bed24d076fbc5ff1e662ede8e9a5d7bfbad7e4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / ghosttrace_osint-1.0.4-py3-none-any.whl

Download URL ghosttrace_osint-1.0.4-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0da8031913288598bcf140c9d574273c587867b46457f58d660a2cef46b74673
BLAKE2b-256 checksum
How to use checksums
3baf04d14707f17f2340a212579dde386cbe98567eb465ab5e963003f6d8bb0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page