Documentation
¶
Index ¶
Constants ¶
View Source
const ( ModuleID = "text4shell-probe" ModuleName = "Text4Shell Probe" ModuleShort = "Detects Text4Shell (CVE-2022-42889) Commons Text interpolation via OAST dns/url lookups" )
Variables ¶
View Source
var ( ModuleDesc = `` /* 586-byte string literal not displayed */ ModuleConfirmation = "" /* 151-byte string literal not displayed */ ModuleSeverity = severity.Critical ModuleConfidence = severity.Certain // "java" is a known tech tag, so the executor derives the TechAware // allowlist from it. ModuleTags = []string{"java", "rce", "injection", "oast", "moderate"} )
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
modkit.BaseActiveModule
// contains filtered or unexported fields
}
Module implements the Text4Shell probe 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 injects Commons Text lookups into one parameter. Findings arrive asynchronously via OAST polling callbacks.
Click to show internal directories.
Click to hide internal directories.