docs/config.md still says a running-target scan cannot be authenticated

未關閉 適合新手
#188 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
1/5
預估耗時
1 小時以內
新手友好度
90/100
Issue 類型
文件
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
go
領域
documentation

研究方向

閱讀 docs/config.md 中約第 434–463 行的 Scope 區段,並比較「Authenticated scans」的指引與剩餘段落。更新該段落,使其不再聲稱無法設定驗證,並明確說明沒有登入流程或 cookie jar,且只說明一次。滿足兩項驗收標準並移除矛盾說法後即完成。

由索引模型根據 Issue 內容生成。

描述

documentation good first issue severity: medium

Summary

A paragraph in the Scope section says there is no setting for a login, a session cookie or an authorization header. The section 27 lines above it documents exactly that setting, and the code implements it.

Where

  • docs/config.md:463 (the leftover paragraph)
  • docs/config.md:434-453 ("Authenticated scans")
  • internal/config/config.go:122-129 (ScopeAuth)
  • internal/engine/live.go:70 (per-host notes)

Details

The paragraph reads: "A running-target scan is not authenticated. There is no setting for a login, a session cookie or an authorization header, and a cookie the target sets is not sent back. The scan covers what an anonymous visitor can reach, and every report of such a scan says so in its run notes." It predates [[auth]] / [[scope.auth]] and now contradicts the same page and the code. "Every report says so" is also no longer true for hosts that got a header.

Impact

A reader who lands on that part of the Scope section concludes that pages behind a login cannot be scanned.

Suggested fix

Delete the paragraph, or reduce it to what is still true (no login flow is performed and cookies set by the target are not kept), with a link to "Authenticated scans".

Acceptance criteria

  • docs/config.md no longer states that authentication cannot be configured
  • What is still true (no login flow, no cookie jar) is stated once

Related: #65

Getting started

  • Relevant files: docs/config.md
  • How to run tests: make test-short (Unix) or .\make.ps1 test-short (Windows PowerShell); make lint before you call it done
  • Related docs: docs/config.md

Filed by repo-audit/full-audit at 50e92ec. Severity: medium. Effort: S. audit-key: documentation|docs/config.md|scope-not-authenticated-paragraph

主要語言
Go
星號
0
分支
1
平均合併
8 小時 14 分鐘
30 天內合併 PR
3

環境準備

在 Codespaces 中開啟

在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

TMHSDigital/Spackle 的其他 Issue

查看 TMHSDigital/Spackle 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。