🕵️♂️ InfraDetective
InfraDetective is a powerful infrastructure intelligence tool designed to map the cloud footprint, security posture, and tech stack of any domain or IP. It combines DNS analysis, fingerprinting, OSINT, and security auditing into a single, high-speed terminal dashboard.
🚀 Key Features
🔍 Infrastructure Mapping
- Provider Fingerprinting: Detect hosting providers (AWS, Google, Hostinger, etc.) and CDN presence (Cloudflare, Akamai).
- IP-to-ASN Matching: Fast lookup of network ownership and geography.
- Port Scanner: Detect exposed services (SSH, Redis, MySQL, Postgres) with banner grabbing.
🛡️ Security & OSINT
- Dangling CNAME Detection: Find potential Subdomain Takeover vulnerabilities.
- Phishing & Typosquatting: Hunt for lookalike domains used for brand attacks.
- Code Footprint (OSINT): Find GitHub repositories and leaked dev files (
/.env,composer.json).
⚡ Intelligence & Scoring
- Modernity Score: Evaluates tech stack, security headers, and protocol versions.
- GreenStack Score: Estimates carbon intensity based on hosting provider.
- AI-Ready Audit: Checks if the site is optimized for AI agents and LLM scraping.
📦 Installation
pip install infradetective
Note: For the caching layer, a running Redis instance is recommended but not required.
🛠 Usage
1. Deep Domain Scan
Run a full investigation on any domain:
infradetective scan example.com
2. Hunting for Phishing Clones
Find lookalike domains used for phishing:
infradetective phish example.com
3. Code Footprint Analysis
Find source code links and exposed metadata:
infradetective osint example.com
4. Visual Infrastructure Map
Generate a Mermaid.js diagram of the infrastructure:
infradetective scan example.com --output mermaid
🏗 Architecture
InfraDetective is built with a modular "Detective" architecture:
core/: Individual intelligence modules (DNS, Fingerprint, OSINT, etc.)output/: Presentation layers (Rich Terminal, Mermaid.js, JSON)cache/: Graceful Redis caching layer
📜 License
Distributed under the MIT License. See LICENSE for more information.
Built with ❤️ for the DevOps & Security Community.
🔗 Source Code: https://github.com/Suriyakumarvijayanayagam/Infradetective-v1.0.0
Metadata
Release files for infradetective 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| infradetective-0.1.5.tar.gz | 31.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| infradetective-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 69.1 kB
Release files / infradetective-0.1.5.tar.gz
| Download URL | infradetective-0.1.5.tar.gz |
|---|---|
| Size | 31.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6cad188b5af13941be01aa9226b5386a2b9fb342beca2dd147b8d7745a9905d0
|
|
BLAKE2b-256 checksum How to use checksums |
dc2c82901df84903aaf93bce057125cf26ebbf8ea46ced3fc455dedb3ef7f7f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / infradetective-0.1.5-py3-none-any.whl
| Download URL | infradetective-0.1.5-py3-none-any.whl |
|---|---|
| Size | 37.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
714244e91f0971fba975f583f87599f3a0dab5c4c922a74be567553ad9b53635
|
|
BLAKE2b-256 checksum How to use checksums |
d406981575f22871aae16f4346d0421a4232130c6c75c93ca7c3e56460251489
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|