Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectWordPressCves ¶ added in v0.15.0
func DetectWordPressCves(r *models.ScanResult, cnf *c.WpScanConf) (int, error)
DetectWordPressCves access to wpscan and fetch scurity alerts and then set to the given ScanResult. https://wpscan.com/ TODO move to report
Types ¶
type References ¶
type References struct {
URL []string `json:"url"`
Cve []string `json:"cve"`
Secunia []string `json:"secunia"`
}
References is for wpscan json
type WpCveInfo ¶
type WpCveInfo struct {
ID string `json:"id"`
Title string `json:"title"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
VulnType string `json:"vuln_type"`
References References `json:"references"`
FixedIn string `json:"fixed_in"`
}
WpCveInfo is for wpscan json
type WpCveInfos ¶
type WpCveInfos struct {
ReleaseDate string `json:"release_date"`
ChangelogURL string `json:"changelog_url"`
// Status string `json:"status"`
LatestVersion string `json:"latest_version"`
LastUpdated string `json:"last_updated"`
// Popular bool `json:"popular"`
Vulnerabilities []WpCveInfo `json:"vulnerabilities"`
Error string `json:"error"`
}
WpCveInfos is for wpscan json
Click to show internal directories.
Click to hide internal directories.