Documentation
¶
Index ¶
Constants ¶
View Source
const ( ModuleID = "php2shell-version" ModuleName = "php2shell Unpatched PHP Version" ModuleShort = "Flags responses advertising a PHP release that predates the php2shell fix (CVE-2026-109618 / CVE-2026-109619)" )
Variables ¶
View Source
var ( ModuleDesc = `` /* 547-byte string literal not displayed */ ModuleConfirmation = "Reported when an X-Powered-By or Server header names a PHP 8.2-8.5 release below that branch's php2shell fix" ModuleSeverity = severity.Info ModuleConfidence = severity.Tentative ModuleTags = []string{"php", "cve", "outdated-component", "light"} )
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
modkit.BasePassiveModule
// contains filtered or unexported fields
}
func (*Module) ScanPerRequest ¶
func (m *Module) ScanPerRequest(ctx *httpmsg.HttpRequestResponse, scanCtx *modkit.ScanContext) ([]*output.ResultEvent, error)
ScanPerRequest reports one result per host and advertised PHP version.
Click to show internal directories.
Click to hide internal directories.