Documentation
¶
Overview ¶
Package http implements the Web/Custom family of WebSec101 checks (HTTP/2-3, mixed content, dangerous methods, CORS, 404 hygiene, compression, robots.txt, change-password well-known, SRI).
The homepage GET is shared with internal/scanner/headers via headers.Fetch; the additional probes (OPTIONS / TRACE / CORS / 404 / robots / change-password) are batched and memoised here.
Index ¶
Constants ¶
View Source
const ( IDHTTP2Missing = "HTTP-HTTP2-MISSING" IDHTTP3Missing = "HTTP-HTTP3-MISSING" IDMixedContent = "HTTP-MIXED-CONTENT" IDOptionsDangerousMethods = "HTTP-OPTIONS-DANGEROUS-METHODS" IDTraceEnabled = "HTTP-TRACE-ENABLED" IDCORSWildcardCredentials = "HTTP-CORS-WILDCARD-CREDENTIALS" IDCORSOriginReflected = "HTTP-CORS-ORIGIN-REFLECTED" IDCORSNullOrigin = "HTTP-CORS-NULL-ORIGIN" ID404StackTrace = "HTTP-404-STACK-TRACE" ID404DefaultErrorPage = "HTTP-404-DEFAULT-ERROR-PAGE" IDCompressionNone = "HTTP-COMPRESSION-NONE" IDRobotsTxtInvalid = "ROBOTS-TXT-INVALID" IDChangePasswordMissing = "WELLKNOWN-CHANGE-PASSWORD-MISSING" IDSRIExternalNoIntegrity = "SRI-EXTERNAL-RESOURCE-NO-INTEGRITY" )
Check IDs.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.