Documentation
¶
Index ¶
Constants ¶
const ( ModuleID = "php2shell" ModuleName = "php2shell Multipart Parser Crash" ModuleShort = "Flags PHP hosts whose multipart parser crashes on deeply nested array keys (php2shell, CVE-2026-109618 / CVE-2026-109619)" )
Variables ¶
var ( ModuleDesc = `` /* 616-byte string literal not displayed */ ModuleConfirmation = "" /* 300-byte string literal not displayed */ ModuleSeverity = severity.Suspect ModuleConfidence = severity.Tentative // "php" gates the module on hosts a PHP fingerprint marked (re-checked fail // closed in the scan). Not risk:high: it runs in a default scan, but each // tested path takes up to ~29 MiB of upload and can kill a PHP-FPM worker. ModuleTags = []string{"php", "cve", "rce", "dos", "intrusive"} )
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
modkit.BaseActiveModule
// contains filtered or unexported fields
}
Module implements the php2shell multipart-parser crash probe.
func (*Module) CanProcess ¶
func (m *Module) CanProcess(ctx *httpmsg.HttpRequestResponse) bool
CanProcess accepts any record with a request; the target path is rebuilt.
func (*Module) IncludesBaseCanProcess ¶
IncludesBaseCanProcess returns false because this module uses a custom CanProcess.
func (*Module) RequiredTechs ¶
RequiredTechs implements modules.TechAware. The executor's gate fails OPEN on a host with no detected stack (and is off at --intensity deep), so ScanPerRequest re-checks and fails CLOSED.
func (*Module) ScanPerRequest ¶
func (m *Module) ScanPerRequest( ctx *httpmsg.HttpRequestResponse, httpClient *http.Requester, scanCtx *modkit.ScanContext, ) ([]*output.ResultEvent, error)
ScanPerRequest probes the record's origin once, on the first record seen after a PHP fingerprint marked the host.