Run your first scan
This guide takes you from an installed noctis to findings on a live host in a few minutes.
1. Start the daemon
Install noctis first (see Installation), then start the REST daemon:
# cargo install
noctis feeds update && noctis serve --host 0.0.0.0 --port 8080
# Docker (feeds bundled at /feeds)
docker run --rm -p 8080:8080 ghcr.io/fdarkshadow/noctis:latest
2. Submit a scan
Describe the target host and its discovered services, then point at one or more feed paths:
curl -s -X POST http://localhost:8080/scans \
-H "Content-Type: application/json" \
-d '{
"host": "10.0.0.1",
"services": [
{"port": 80, "service": "http", "protocol": "tcp"},
{"port": 443, "service": "https", "protocol": "tcp"}
],
"tests": ["vulnerabilities/"],
"concurrency": 10
}' | jq .
"vulnerabilities/" is the whole feed set. A relative path that doesn’t exist from the daemon’s
working directory is looked up in the feeds directory, so this
works with both cargo and Docker. Narrow it to a product ("vulnerabilities/confluence/") or a
single feed file.
3. Read the findings
The response contains a scan id. Poll it for findings:
curl -s http://localhost:8080/scans/<id>/findings | jq .
[
{
"cve_ids": ["CVE-2021-41773"],
"severity": "critical",
"confidence": 0.95,
"qod": 75,
"evidence": {
"response_excerpt": "LFI confirmed — /etc/passwd via path traversal"
}
}
]
Services are matched against each feed’s
services:field, so only the relevant feeds run on each port. A feed withservices: []runs on every discovered service. A feed may also list well-known TCPports:(e.g.[8291]for Winbox) to run there whatever service name the scanner reported (unknown, typically). Feeds that need to log in run only when the request carriescredentials(see Usage).
Next steps
- Usage & REST API — all endpoints and CLI options.
- Writing feeds — author your own detections.