Record which source (wordlist, ct, wayback, axfr, permute) found each name

Ouverte
#273 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
55/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
go
Domaine
cli

Piste de recherche

Start with the Result struct in internal/output/writer.go (around lines 56-65), where the only provenance field today is Permutation bool, then look at SourceSummary in internal/output/summary.go and the summary code in main_summary.go (around lines 39-41). Trace how main_session.go passes each source's results through, so a sources list can be attached to each result. Done means JSON, JSONL and CSV output carry a sources list and SourceSummary gains a per-source found count; check with go test ./internal/output/ and go test .. The open question on multi-source labelling and text output needs a maintainer decision first.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

enhancement help wanted severity: medium

Summary

Results don't say where a name came from. The only provenance field is Permutation bool, and the summary counts names proposed per source, not how many resolved.

Where

  • internal/output/writer.go:56-65 (Result)
  • main_summary.go:39-41, internal/output/summary.go (SourceSummary)

Proposal

  • Add sources: ["wordlist","ct","wayback","axfr","permute"] to each result in JSON, JSONL and CSV.
  • Add a found count per source to SourceSummary.

Who benefits

Users who want to know whether ct or wayback earns its requests, and which names came only from the archive. It also helps tune wordlists.

Open questions

  • How to label names that come from several sources (a list, as above), and whether text output shows it.

Getting started

  • Relevant files: internal/output/writer.go, internal/output/summary.go, main_session.go
  • How to run tests: go test ./internal/output/ .
  • Related docs: README.md (output formats)

Filed by repo-audit/full-audit at 3f671b2. Severity: medium. Effort: M. audit-key: enhancement|internal/output/writer.go|provenance

Langage dominant
Go
Étoiles
1
Forks
1
Merge moyen
7 h 48 min
PR mergées (30 j)
6

Préparer son environnement

Ouvrir dans Codespaces

Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de TMHSDigital/subenum

Toutes les issues de TMHSDigital/subenum

Issues similaires

Plus d'issues Go

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.