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 摘要。