Documentation
¶
Index ¶
Constants ¶
View Source
const ( ModuleID = "server-side-js-injection" ModuleName = "Server-Side JavaScript Injection" ModuleShort = "Detects server-side JavaScript (Node.js) code injection via OAST callbacks and busy-wait timing" )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
modkit.BaseActiveModule
// contains filtered or unexported fields
}
Module implements the server-side JavaScript injection active scanner.
func (*Module) ScanPerInsertionPoint ¶
func (m *Module) ScanPerInsertionPoint( ctx *httpmsg.HttpRequestResponse, ip httpmsg.InsertionPoint, httpClient *http.Requester, scanCtx *modkit.ScanContext, ) ([]*output.ResultEvent, error)
ScanPerInsertionPoint tests a single insertion point for server-side JavaScript injection: out-of-band callbacks first (Firm, async), then busy-wait timing.
Click to show internal directories.
Click to hide internal directories.