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

オープン
#273 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go
領域
cli

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Go
スター
1
フォーク
1
平均マージ
7時間 48分
マージ済み PR(30日)
6

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

TMHSDigital/subenum のほかの issue

TMHSDigital/subenum の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。