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

Đang mở Phù hợp với người mới
#188 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
90/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
documentation

Hướng nghiên cứu

Đọc phần Scope trong docs/config.md khoảng dòng 434–463 và so sánh hướng dẫn “Authenticated scans” với đoạn văn còn lại. Cập nhật đoạn văn để không còn nói rằng không thể cấu hình xác thực, đồng thời nêu một lần rằng không có luồng đăng nhập hay cookie jar. Hoàn thành khi đáp ứng cả hai tiêu chí chấp nhận và loại bỏ được khẳng định mâu thuẫn.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Go
Star
0
Fork
1
Merge trung bình
8 giờ 14 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của TMHSDigital/Spackle

Tất cả issue của TMHSDigital/Spackle

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.