class documentation

class WPItem(_CoreFinding): (source)

Known subclasses: wpscan_out_parse.parser.components.Plugin, wpscan_out_parse.parser.components.Theme, wpscan_out_parse.parser.components.Timthumb

View In Hierarchy

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
slug = (source)

Undocumented

location = (source)

Undocumented

latest_version = (source)

Undocumented

last_updated = (source)

Undocumented

outdated = (source)

Undocumented

readme_url = (source)

Undocumented

directory_listing = (source)

Undocumented

error_log_url = (source)

Undocumented

version = (source)

Undocumented

def _get_warnings(self): (source)
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.
ReturnsUndocumented (type: Sequence[str])
def get_alerts(self): (source)
Return list of know plugin or theme vulnerability. Empty list is returned if plugin version is unrecognized
ReturnsUndocumented (type: Sequence[str])
def get_warnings(self): (source)
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
ReturnsUndocumented (type: Sequence[str])
def _get_infos(self): (source)
Return 1 info
ReturnsUndocumented (type: Sequence[str])
def get_infos(self): (source)
Return 0 or 1 info, no info if WPItem triggered warning, use get_warnings()
ReturnsUndocumented (type: Sequence[str])
def get_version(self): (source)
Return the version number (as string) or "Unknown" or "" if not applicable.
ReturnsUndocumented (type: str)
def get_version_status(self): (source)
Return a string in : "Outdated", "Latest", "Unknown" or "" if not applicable.
ReturnsUndocumented (type: str)
def get_vulnerabilities_string(self): (source)
Return the number of vulnerabilities (as string) with indications if need be.
ReturnsUndocumented (type: str)
API Documentation for WPScan Output Parser, generated by pydoctor 21.2.2 at 2021-04-12 15:55:36.