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.