-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
mendsec edited this page Jun 23, 2026
·
1 revision
catnet versionExpected output:
catnet/v0.2.0 (linux/amd64) go1.26.3
catnet-core/v0.2.0
catnet scan 192.168.1.1Annotated human output:
Scanning 1 hosts...
IP HOSTNAME MAC STATUS PORTS
192.168.1.1 router.local AA-BB-CC-DD-EE-01 ALIVE 80, 443
Scan complete in 1.2s
catnet scan 192.168.1.0/24You can specify targets using:
-
CIDR notation:
192.168.1.0/24 -
Dash ranges:
192.168.1.1-254 -
Comma-separated targets:
192.168.1.0/24,10.0.0.1 -
Multiple positional arguments:
catnet scan 192.168.1.0/24 10.0.0.1
catnet scan 192.168.1.0/24 --format json -o results.jsonThe JSON output follows this schema:
{
"schemaVersion": "2.0.0",
"startTime": "2026-06-06T12:00:00Z",
"endTime": "2026-06-06T12:00:05Z",
"total": 1,
"alive": 1,
"devices": [
{
"ip": "127.0.0.1",
"mac": "",
"hostname": "",
"isAlive": true,
"openPorts": [
22,
80
]
}
]
}catnet export results.json --format csv
catnet export results.json --format xml -o results.xml| Code | Description |
|---|---|
| 0 | Success |
| 1 | Input error (invalid target, bad flag) |
| 2 | Runtime error (engine failure, export failure) |
| 130 | Interrupted (Ctrl+C / SIGTERM) |
- CLI Reference — full flag documentation
- Output Reference — output schema details
- Use Cases — real-world recipes
© 2026 Fábio Mendes · MIT License · catnet · catnet-core · Report an issue
catnet Wiki
Getting Started
Reference
Guides
Project