Import nmap, nuclei, ffuf and Burp output into the surface inventory
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 28/100
Direzione di ricerca
The payload names no source files, so start by finding the existing surface command parser and its normalization and evidence code in the repository. Check how the current text parsers feed the inventory and how evidence artifacts are stored. Done means each of the four formats imports a fixture into the expected hosts, ports and URLs, out-of-scope entries are reported, duplicate imports merge, and a malformed file errors without writing anything.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
surface parses nmap/HTTP/TLS text pasted or produced by a command, but there is no importer for the machine-readable output the tools already write. A user running nuclei or ffuf gets JSON/JSONL that must be pasted or re-parsed by hand, and Burp XML is not handled at all.
Importing results is passive: it reads files the user already has. It should not run the tools or expand scope.
Inspiration
- nmap XML output (
-oX). - nuclei JSONL (
-jsonl). - ffuf JSON (
-of json). - Burp Suite XML export.
- The existing
surfacenormalization and evidence model.
Proposal
Add surface action="import" with format and path:
nmap-xml: hosts, addresses, hostnames, ports, services, versions, scripts.nuclei-jsonl: template id, severity, matched URL, matcher, request/response hashes.ffuf-json: target, word, status, length, words, lines, redirect.burp-xml: issues with severity, confidence, request/response, host, path.
Normalize into the surface inventory and findings, dedupe by target + rule + location, attach the raw file as an evidence artifact with a SHA-256, and record the import command and timestamp. Refuse entries outside the active scope and list what was skipped.
Acceptance criteria
- Each format imports a fixture and produces the expected hosts/ports/URLs.
- Raw files are stored as evidence with a digest.
- Out-of-scope entries are skipped and reported, not silently dropped.
- Duplicate imports merge instead of duplicating.
- No tool is executed by the importer.
- A malformed file fails with the parser error and writes nothing.
- Lingua principale
- Rust
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di GotinhaAzul/LocalHarness
-
area: ux bug priority: P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
GotinhaAzul/LocalHarness#198 ·
-
area: tools area: ux enhancement priority: P2
Difficoltà 4/5 3-5 giorni Idoneità per principianti 56/100
GotinhaAzul/LocalHarness#201 ·
-
area: ux bug priority: P2
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
GotinhaAzul/LocalHarness#200 ·
-
area: ux bug priority: P2
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
GotinhaAzul/LocalHarness#199 ·
-
area: ux enhancement priority: P2
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
GotinhaAzul/LocalHarness#197 ·
Tutte le issue di GotinhaAzul/LocalHarness
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
state:needs triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
zed-industries/zed#67561 ·
I maintainer di solito rispondono entro 1 giorno
-
bug has: workaround PR welcome! T: CI/CD
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
chore priority:low ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
jdrouet/catapulte#882 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100