W3AF¶
Parser¶
| synopsis: | Specialized ptp.libptp.parser.AbstractParser classes for the tool W3AF. |
|---|
-
class
ptp.tools.w3af.parser.W3AFXMLParser(pathname, filename='*.xml', light=False, first=True)[source]¶ W3AF XML specialized parser.
-
__tool__= 'w3af'¶
-
__format__= 'xml'¶
-
__version__= '1\\.[0-9]+(\\.[0-9]+)?'¶
-
_parse_report_full(raw_transactions)[source]¶ Parse the captured http transactions of the report.
Parameters: raw_transactions (str) – HTTP transactions logged by w3af Returns: List of dicts where each one has a request and response. Return type: list
-
classmethod
is_mine(pathname, filename='*.xml', light=False, first=True)[source]¶ Check if it can handle the report file.
Parameters: Raises: - IOError – when the report file cannot be found.
- OSError – when the report file cannot be found.
Returns: True if it supports the report, False otherwise.
Return type:
-