Home
An automated asset collection system built on the "Asset Breeding Engine" that helps you quickly identify and map your organization's complete attack surface.

Z-Sans is a powerful cybersecurity tool focused on automated asset discovery and breeding. Starting from a small set of seed assets (domains or URLs), Z-Sans automatically discovers related assets such as domains, IPs, URLs, ports, and JavaScript resources, and produces detailed asset reports.
How It Works¶
At the core of Z-Sans is a Breeding Engine:
- You provide a small set of seed assets (
-d example.comor-u https://example.com) - The engine hands each asset to its corresponding Breeder and Tool
- New assets discovered by breeders are added to the AssetGraph and the queue, continuing the next breeding round
- Once the queue is empty, the engine outputs the complete asset topology report
Features¶
- Multi-type asset support: domains, IPs, URLs, ports, and JS files
- Configurable scan strategies: priority-first, depth-first, breadth-first, chronological
- Rich tool integration: subfinder, naabu, JSfinder, EHole, WhatWeb, DNS resolution
- Flexible output formats: JSON, CSV, GraphML, and self-contained HTML reports
- Internationalization: built-in Chinese and English language support
- Modular design: core functionality is separated from tool implementations, easy to extend
- Checkpoint & resume: progress is saved to checkpoints; use
--resumeto restore interrupted scans - Watch mode:
--watchrescans periodically, reports asset changes, and supports Webhook push - Web console: project browsing, real-time task logs, configuration/plugin management
- Plugin system: event-driven plugin framework supporting custom reports, external intelligence, Webhook notifications, and more
Quick Start¶
pip install -r requirements.txt
# Scan a domain with default configuration
python main.py -d example.com
# You will find a timestamped directory under output/
# Containing an interactive HTML report and JSON/CSV/GraphML asset graphs
See Quick Start for full instructions.
Documentation Index¶
| Section | Description |
|---|---|
| Quick Start | Installation, first scan, example output |
| Core Concepts | Asset model, breeding engine, priority queue, asset graph |
| CLI Reference | All command-line arguments and usage |
| Configuration Reference | Full field documentation for breeding-config.yaml |
| Output & Reports | Output formats, HTML reports, file structure |
| Web Console | Browser-based management interface |
| Plugin Development | Writing event-driven plugins |
| Events Reference | Reference table of 8 event hooks |
| Architecture Overview | Module structure and extension methods |
| Tool Integration | External tools and internal implementations |
| FAQ | Frequently asked questions |
| Changelog | Version history |
License¶
This project is released under the MIT License. Please read the Disclaimer before use.