Documentation
¶
Index ¶
Constants ¶
View Source
const ( ModuleID = "metaframework-probe" ModuleName = "Metaframework Probe" ModuleShort = "Detects exposed Remix, Astro, and SvelteKit internal files and endpoints" )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
modkit.BaseActiveModule
// contains filtered or unexported fields
}
Module implements the Metaframework Probe active scanner.
func (*Module) CanProcess ¶
func (m *Module) CanProcess(ctx *httpmsg.HttpRequestResponse) bool
CanProcess returns true if the request has a response.
func (*Module) IncludesBaseCanProcess ¶
IncludesBaseCanProcess returns false because this module uses a custom CanProcess.
func (*Module) ScanPerHost ¶
func (m *Module) ScanPerHost( ctx *httpmsg.HttpRequestResponse, httpClient *http.Requester, scanCtx *modkit.ScanContext, ) ([]*output.ResultEvent, error)
ScanPerHost probes for exposed meta-framework files and endpoints once per host.
Click to show internal directories.
Click to hide internal directories.