Main interface to parse WPScan JSON data
All objects implements get_alerts()
, get_warnings()
and get_infos()
Method | __init__ |
Parser config: false positives string and verbosity (not available with cli parser) |
Instance Variable | components |
Undocumented |
Instance Variable | version |
Undocumented |
Instance Variable | main_theme |
Undocumented |
Instance Variable | plugins |
Undocumented |
Instance Variable | themes |
Undocumented |
Instance Variable | interesting_findings |
Undocumented |
Instance Variable | timthumbs |
Undocumented |
Instance Variable | db_exports |
Undocumented |
Instance Variable | users |
Undocumented |
Instance Variable | medias |
Undocumented |
Instance Variable | config_backups |
Undocumented |
Instance Variable | vuln_api |
Undocumented |
Instance Variable | password_attack |
Undocumented |
Instance Variable | not_fully_configured |
Undocumented |
Instance Variable | banner |
Undocumented |
Instance Variable | scan_started |
Undocumented |
Instance Variable | scan_finished |
Undocumented |
Method | get_infos |
Get all infos from all components and add false positives as infos with "[False positive]" prefix |
Method | get_warnings |
Get all warnings from all components and igore false positives and automatically remove special warning if all vuln are ignored |
Method | get_alerts |
Get all alerts from all components and igore false positives |
Method | get_results |
Returns a dictionnary structure like |
Method | get_core_findings |
Get only core findings. Core findings appears in the table summary. |
Method | get_summary_list |
Return a list of dict with all plugins, vuls, and statuses. |
Method | get_error |
Return any error or None if no errors |
Instance Variable | _parser_config |
Undocumented |
Instance Variable | _error |
Undocumented |
Method | _init_component_dict |
Undocumented |
Method | _init_component_list |
Undocumented |
Method | _init_component |
If pass_all_data is True: name is only used to check if the new component should be created. Then it passes all self.data dict to the child constructor. |
Inherited from Parser
:
Method | get_summary_line |
Return the summary string in one line |
Inherited from Component
(via Parser
):
Instance Variable | data |
Initial data. |
Instance Variable | false_positives_strings |
Undocumented |
Instance Variable | show_all_details |
Undocumented |
Method | is_false_positive |
False Positive Detection |
Parameters | data | Undocumented (type: Dict[str, Any] ) |
false_positives_strings | Undocumented (type: Optional[Sequence[str]] ) | |
show_all_details | Undocumented (type: bool ) |
Undocumented
Parameters | name | Undocumented (type: str ) |
comp_type | Undocumented (type: Union[Type[_PrincipalSlugComponent], Type[_OtherSlugComponent]] ) | |
comp_filter | Undocumented (type: Callable[[str], bool] ) | |
Returns | Undocumented (type: Sequence[Union[_PrincipalSlugComponent, _OtherSlugComponent]] ) |
Undocumented
Parameters | name | Undocumented (type: str ) |
comp_type | Undocumented (type: Type[_NoSlugComponent] ) | |
Returns | Undocumented (type: Sequence[Any] ) |
Parameters | name | Undocumented (type: str ) |
comp_type | Undocumented (type: Type[_NoSlugComponent] ) | |
pass_all_data | Undocumented (type: bool ) | |
Returns | Undocumented (type: Optional[Any] ) |
Returns | Undocumented (type: Sequence[str] ) |
Returns | Undocumented (type: Sequence[str] ) |
Returns | Undocumented (type: Sequence[str] ) |
Returns a dictionnary structure like
{ 'infos':[], 'warnings':[], 'alerts':[], 'summary':{ 'table':[ { 'Component': None, 'Version': None, 'Version State': None, 'Vulnerabilities': None, 'Status': None }, ... ], 'line':'WPScan result summary: alerts={}, warnings={}, infos={}, error={}' }, 'error':None }
Returns | Undocumented (type: WPScanResults ) |
Returns | Undocumented (type: Sequence[_CoreFinding] ) |
Returns | Undocumented (type: List[WPScanResultsSummaryRow] ) |