class WPItem(_CoreFinding): (source)
Known subclasses: wpscan_out_parse.parser.components.Plugin, wpscan_out_parse.parser.components.Theme, wpscan_out_parse.parser.components.Timthumb
Undocumented
| Method | __init__ |
From https://github.com/wpscanteam/wpscan/blob/master/app/views/json/wp_item.erb |
| Instance Variable | slug |
Undocumented |
| Instance Variable | location |
Undocumented |
| Instance Variable | latest_version |
Undocumented |
| Instance Variable | last_updated |
Undocumented |
| Instance Variable | outdated |
Undocumented |
| Instance Variable | readme_url |
Undocumented |
| Instance Variable | directory_listing |
Undocumented |
| Instance Variable | error_log_url |
Undocumented |
| Instance Variable | version |
Undocumented |
| Method | get_alerts |
Return list of know plugin or theme vulnerability. Empty list is returned if plugin version is unrecognized |
| Method | get_warnings |
Return plugin or theme warnings, if oudated plugin, directory listing, accessible error log and for all know vulnerabilities if plugin version could not be recognized. Adds a special text saying the version is unrecognized if that's the case |
| Method | get_infos |
Return 0 or 1 info, no info if WPItem triggered warning, use get_warnings() |
| Method | get_version |
Return the version number (as string) or "Unknown" or "" if not applicable. |
| Method | get_version_status |
Return a string in : "Outdated", "Latest", "Unknown" or "" if not applicable. |
| Method | get_vulnerabilities_string |
Return the number of vulnerabilities (as string) with indications if need be. |
| Method | _get_warnings |
Return 0 or 1 warning. The warning can contain infos about oudated plugin, directory listing or accessible error log. First line of warning string is the plugin slug. Location also added as a reference. |
| Method | _get_infos |
Return 1 info |
Inherited from _CoreFinding:
| Method | get_name |
Return the name of the finding. |
| Method | get_status |
Return a string in : "Alert", "Warning", "Ok", "Ok (false positive)" or "Unknown" |
| Method | component_is_false_positive |
Return true if all alerts and warnings of the component are ignored by false positives strings. Return false if it's not a false positive or if there is no alerts or warnings. Does not work for parser objects because they process false positives. |
Inherited from Finding (via _CoreFinding):
| Instance Variable | found_by |
Undocumented |
| Instance Variable | confidence |
Undocumented |
| Instance Variable | interesting_entries |
Undocumented |
| Instance Variable | confirmed_by |
Undocumented |
| Instance Variable | vulnerabilities |
Undocumented |
| Instance Variable | references |
Undocumented |
| Method | get_references_str |
Process CVE, WPVulnDB, ExploitDB and Metasploit references to add links |
Inherited from Component (via _CoreFinding, Finding):
| Instance Variable | data |
Initial data. |
| Instance Variable | false_positives_strings |
Undocumented |
| Instance Variable | show_all_details |
Undocumented |
| Method | is_false_positive |
False Positive Detection |
wpscan_out_parse.parser.components.Plugin, wpscan_out_parse.parser.components.Theme, wpscan_out_parse.parser.components.Timthumb| Parameters | data | Undocumented (type: Dict[str, Any]) |
| args | Undocumented (type: Any) | |
| kwargs | Undocumented (type: Any) |
| Returns | Undocumented (type: Sequence[str]) | |
wpscan_out_parse.parser.components.Timthumb| Returns | Undocumented (type: Sequence[str]) | |
wpscan_out_parse.parser.components.Plugin, wpscan_out_parse.parser.components.Theme, wpscan_out_parse.parser.components.Timthumb| Returns | Undocumented (type: Sequence[str]) | |
wpscan_out_parse.parser.components.Theme| Returns | Undocumented (type: Sequence[str]) | |
wpscan_out_parse.parser.components.Plugin, wpscan_out_parse.parser.components.Theme, wpscan_out_parse.parser.components.Timthumb| Returns | Undocumented (type: Sequence[str]) | |
| Returns | Undocumented (type: str) | |
| Returns | Undocumented (type: str) | |