Share a Nikto scan report
Nikto's output is famously long and famously repetitive, and both of those are arguments for putting it somewhere durable rather than somewhere temporary. Two hundred lines of which maybe six matter, and the knowledge of which six lives in one person's head.
That knowledge is the expensive part. A scan takes minutes to re-run; the triage takes an afternoon and gets thrown away every time.
Publish it
nikto -h "$TARGET" -Format htm -o nikto.html || true
curl -fsS -X PATCH \
"https://commareports.com/api/v1/reports/$COMMA_REPORT_ID" \
-H "Authorization: Bearer $COMMA_API_TOKEN" \
-H "Content-Type: application/json" \
-d "$(jq -n --rawfile html nikto.html \
--arg title "Nikto — $TARGET — $(date +%F)" \
'{title: $title, html: $html}')"
One report id per target host. PATCH keeps the URL and appends a
revision, so the triage notes from the last scan are still sitting on
the findings when the next one lands.
Use a scoped token with reports:write only, and
keep the report private or team-visible — see the
sharing model.
Only scan what you are authorized to scan
Nikto sends thousands of active requests and will show up in the target's access logs as exactly what it is. Own the host, or hold written authorization for it. Publishing results does not create permission to produce them.
What the URL changes
- Triage survives the scan. Pin the reasoning to the finding once; it is there on every later revision. See commenting on HTML.
- Diffs instead of re-reads. Revision-to-revision comparison finds the new line in a wall of identical ones.
- A report a client can open. Consultancies ship the link — with a password — instead of a PDF nobody can reply to inline.
Limits
- HTML body: 5 MB. A long scan of a large site can approach it; scan per host and keep a report per host.
- Scripts run, sandboxed:
allow-scripts, noallow-same-origin. - 60 requests/minute per token.
Try it
Comma is free — unlimited reports, unlimited commenters, unlimited revision history.
Related
- ZAP reports — the deeper web scan
- testssl.sh · Nmap
- Security scan reports · Share with a client