Documentation
¶
Index ¶
Constants ¶
View Source
const ( ModuleID = "http-request-smuggling" ModuleName = "HTTP Request Smuggling" ModuleShort = "Detects HTTP request smuggling via CL.TE and TE.CL desync" )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
modkit.BaseActiveModule
// contains filtered or unexported fields
}
Module implements the HTTP Request Smuggling active scanner.
func (*Module) CanProcess ¶
func (m *Module) CanProcess(ctx *httpmsg.HttpRequestResponse) bool
CanProcess checks if the request is suitable for smuggling tests.
func (*Module) IncludesBaseCanProcess ¶
IncludesBaseCanProcess returns false because this module uses a custom CanProcess that does not include the base URL/media/method checks.
func (*Module) ScanPerHost ¶
func (m *Module) ScanPerHost( ctx *httpmsg.HttpRequestResponse, httpClient *http.Requester, scanCtx *modkit.ScanContext, ) ([]*output.ResultEvent, error)
ScanPerHost runs smuggling probes once per unique host.
Click to show internal directories.
Click to hide internal directories.