Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr If CompareLt BinOpAdd AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr body AugAssignAdd AttributeStore NameLoad attr Num orelse Raise NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword Str attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad NameLoad attr body For NameStore SubscriptLoad NameLoad Index NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad NameLoad attr body For NameStore SubscriptLoad NameLoad Index NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr If NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr attr SubscriptLoad NameLoad Index Num If CompareGt Call NameLoad NameLoad Num body If CompareGt Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Num body Assign NameStore NameLoad If CompareIn Str AttributeLoad SubscriptLoad NameLoad Index Num attr body If CompareEq SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Index Str Str body Assign NameStore NameLoad If NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr attr Str Expr Call AttributeLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr attr SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num If AttributeLoad NameLoad attr body Assign NameStore NameLoad If CompareIn Str AttributeLoad NameLoad attr body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Assign NameStore NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr keyword Str keyword Str orelse Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore NameLoad If CompareIn Str AttributeLoad NameLoad attr body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Assign NameStore NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr keyword Str keyword Str NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareGt Call NameLoad NameLoad Num body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareGt Call NameLoad NameLoad Num body Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore SubscriptLoad NameLoad Index Num attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str If CompareGt Call NameLoad NameLoad Num body Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareLt Call NameLoad NameLoad Num body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore NameLoad Assign AttributeStore SubscriptLoad NameLoad Index Num attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore SubscriptLoad NameLoad Index Num attr Call AttributeLoad Str attr ListLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A base64 lxml etree core.parser.HTTPParser HTTPParser core.parser.HTTPParser HTTPRequestParser core.parser.HTTPParser HTTPResponseParser AppVulnXMLParser N/A N/A N/A AppVulnXML parser. Edits XML data __init__ N/A N/A self xml_data N/A N/A N/A N/A self parser N/A N/A etree XMLParser remove_blank_text True strip_cdata False ns_clean True recover True encoding utf-8 N/A N/A self xml_tree N/A N/A etree XML N/A str xml_data N/A self parser N/A N/A self issues N/A N/A N/A self xml_tree xpath /XmlReport/Results/Vulnerabilities/* N/A N/A self issue_index 0 N/A __len__ N/A N/A self N/A N/A N/A Returns number of available issues

            :returns: Number of available issues
             N/A N/A len N/A self issues N/A __iter__ N/A N/A self N/A N/A N/A Iterator to walk through issues

            :returns: Iterator to iterate through issues
             N/A self N/A __next__ N/A N/A self N/A N/A N/A Walk through issues N/A issue N/A N/A self issues N/A N/A self issue_index N/A N/A N/A N/A self issue_index 1 N/A len N/A self issues N/A N/A N/A self issue_index 1 N/A N/A StopIteration N/A issue N/A get_root N/A N/A self N/A N/A N/A Get root of XML document

            :returns: Root XML Element
             N/A N/A self xml_tree N/A get_xml N/A N/A self N/A N/A N/A Returns XML tree as string

            :returns: XML tree as string
             N/A N/A N/A N/A N/A etree tostring N/A self xml_tree pretty_print True encoding utf-8 decode utf-8 N/A get_scanner N/A N/A self N/A N/A N/A Returns /XmlReport/Scanner

            :returns: /XmlReport/Scanner as XML document
             N/A N/A N/A N/A self xml_tree xpath /XmlReport/Scanner N/A get_summary N/A N/A self N/A N/A N/A Returns /XmlReport/Summary

            :returns: /XmlReport/Summary as XML document
             N/A N/A N/A N/A self xml_tree xpath /XmlReport/Summary N/A get_vulnerabilities N/A N/A self N/A N/A N/A Return /XmlReport/Results/Vulnerabilities

            :returns: /XmlReport/Results/Vulnerabilities as XML document
             N/A N/A N/A N/A self xml_tree xpath /XmlReport/Results/Vulnerabilities/* N/A add_request_data N/A N/A self issue request_data N/A N/A N/A Add parsed request data to the node

            :param issue: Issue as XML document
            :param request_data: HTTP request data
             N/A request N/A HTTPRequestParser request_data N/A N/A N/A request parse_data N/A N/A N/A request set_http_headers N/A headers N/A N/A request get_headers N/A N/A N/A xml_request_node N/A N/A N/A issue xpath TestProbe/HTTP/Request N/A 0 N/A N/A N/A xml_request_node attrib N/A method N/A N/A request get_method N/A N/A N/A xml_request_node attrib N/A version N/A N/A request get_request_version N/A N/A N/A IndexError N/A N/A N/A N/A log error Index error N/A N/A N/A xml_parsed_traffic N/A N/A N/A issue xpath TestProbe/HTTP/Request/Parsed N/A 0 N/A N/A N/A IndexError N/A N/A N/A N/A Log error Index error N/A h N/A N/A headers keys N/A N/A v N/A headers N/A h N/A N/A header_node N/A N/A etree Element Header name h value v N/A N/A N/A xml_parsed_traffic append header_node N/A request_data_node N/A N/A etree Element Data N/A N/A request_data_node text N/A N/A etree CDATA N/A N/A request get_request_data N/A N/A N/A xml_parsed_traffic append request_data_node N/A add_response_data N/A N/A self issue response_data binary_data N/A False N/A N/A Add parsed response data to the node

            :param issue: Issue as XML document
            :param response_data: HTTP response data
            :param binary_data: Flag indicating whether responde_data is binary
             N/A response N/A HTTPResponseParser response_data binary_data N/A N/A N/A response parse_data N/A N/A N/A response set_http_headers N/A headers N/A N/A response get_headers N/A N/A N/A xml_response_node N/A N/A N/A issue xpath TestProbe/HTTP/Response N/A 0 N/A N/A N/A xml_response_node attrib N/A version N/A N/A response get_response_version N/A N/A N/A xml_response_node attrib N/A status N/A N/A response get_status N/A N/A N/A xml_response_node attrib N/A reason N/A N/A response get_reason N/A N/A N/A IndexError N/A N/A N/A N/A log error Index error N/A N/A N/A xml_parsed_traffic N/A N/A N/A issue xpath TestProbe/HTTP/Response/Parsed N/A 0 N/A N/A N/A IndexError N/A N/A N/A N/A Log error Index error N/A h N/A N/A headers keys N/A N/A v N/A headers N/A h N/A N/A header_node N/A N/A etree Element Header name h value v N/A N/A N/A xml_parsed_traffic append header_node N/A request_data_node N/A N/A etree Element Data N/A N/A request_data_node text N/A N/A etree CDATA N/A N/A response get_response_data N/A N/A N/A request_data_node attrib N/A base64 N/A str binary_data N/A N/A N/A xml_parsed_traffic append request_data_node N/A extract_traffic N/A N/A self issue binary_data N/A False N/A N/A Extract HTTP traffic from RawTraffic/MergedTraffic and adjust XML in single issue

            :param issue: Issue as XML document
            :param binary_data: Flag indicating whether traffic is binary
             N/A raw_traffic N/A N/A N/A issue xpath RawTraffic N/A 0 N/A raw_request_traffic N/A N/A issue xpath RawTraffic/RequestTraffic N/A raw_response_traffic N/A N/A issue xpath RawTraffic/ResponseTraffic N/A raw_merged_traffic N/A N/A issue xpath RawTraffic/MergedTraffic N/A request_node N/A N/A etree Element RequestTraffic N/A response_node N/A N/A etree Element ResponseTraffic N/A N/A request_node text N/A N/A response_node text N/A N/A N/A request_node attrib N/A base64 false N/A N/A N/A response_node attrib N/A base64 false N/A N/A N/A len raw_merged_traffic 0 N/A N/A http_data N/A N/A HTTPParser split_http_traffic N/A N/A raw_merged_traffic N/A 0 text N/A http_data N/A N/A N/A request_node text N/A N/A etree CDATA N/A http_data N/A request N/A N/A N/A raw_traffic append request_node N/A N/A response_node text N/A N/A etree CDATA N/A http_data N/A response N/A N/A N/A raw_traffic append response_node N/A N/A N/A N/A N/A N/A raw_merged_traffic N/A 0 getparent remove N/A raw_merged_traffic N/A 0 N/A N/A N/A len raw_request_traffic 0 N/A N/A N/A N/A len N/A N/A raw_request_traffic N/A 0 text 0 N/A N/A base64_flag False N/A N/A base64 N/A N/A raw_request_traffic N/A 0 attrib N/A N/A N/A N/A N/A N/A raw_request_traffic N/A 0 attrib N/A base64 true N/A N/A base64_flag True N/A base64_flag N/A N/A decoded_request_data N/A N/A N/A N/A base64 b64decode N/A N/A raw_request_traffic N/A 0 text decode utf-8 N/A N/A N/A N/A N/A N/A raw_request_traffic N/A 0 getparent remove N/A raw_request_traffic N/A 0 N/A new_request_traffic N/A N/A etree Element RequestTraffic N/A N/A new_request_traffic text N/A N/A etree CDATA decoded_request_data N/A N/A N/A new_request_traffic attrib N/A base64 false N/A N/A N/A raw_traffic append new_request_traffic N/A N/A N/A N/A raw_traffic append request_node N/A N/A N/A raw_traffic append response_node N/A add_data N/A N/A self binary_data N/A False N/A N/A Adds request data (e.g. headers) to the XML tree

            :param binary_data: Flag indicating whether data is binary
             N/A issue N/A self issues N/A N/A N/A N/A self extract_traffic issue binary_data N/A raw_request_traffic N/A N/A N/A issue xpath RawTraffic/RequestTraffic N/A 0 N/A raw_response_traffic N/A N/A N/A issue xpath RawTraffic/ResponseTraffic N/A 0 N/A N/A raw_request_traffic text N/A N/A base64_flag False N/A N/A base64 N/A raw_request_traffic attrib N/A N/A N/A N/A N/A raw_request_traffic attrib N/A base64 true N/A N/A base64_flag True N/A base64_flag N/A N/A decoded_request_traffic N/A N/A base64 b64decode N/A raw_request_traffic text N/A N/A N/A self add_request_data issue N/A N/A decoded_request_traffic decode encoding utf-8 errors ignore N/A N/A N/A N/A self add_request_data issue N/A raw_request_traffic text N/A N/A raw_response_traffic text N/A N/A base64_flag False N/A N/A base64 N/A raw_response_traffic attrib N/A N/A N/A N/A N/A raw_response_traffic attrib N/A base64 true N/A N/A base64_flag True N/A base64_flag N/A N/A decoded_response_traffic N/A N/A base64 b64decode N/A raw_response_traffic text N/A N/A N/A self add_response_data issue N/A N/A decoded_response_traffic decode encoding utf-8 errors ignore True N/A N/A N/A N/A self add_response_data issue N/A raw_response_traffic text N/A get_payload N/A N/A self issue N/A N/A N/A Gets issue payload information, e.g. parameter/cookie and value

            :param issue: Issue as XML document
            :returns: XML data containing PoC information
             N/A raw_query N/A N/A issue xpath TestProbe/Request/Query N/A N/A N/A len raw_query 0 N/A N/A raw_query N/A N/A None N/A convert_base64_to_plain N/A N/A self N/A N/A N/A Converts Base64 traffic to plaintext

            For all issue the traffic will be converted to base64.
             N/A issue N/A self issues N/A N/A raw_traffic N/A N/A issue xpath RawTraffic N/A request_traffic N/A N/A issue xpath RawData/RawRequest N/A response_traffic N/A N/A issue xpath RawData/RawResponse N/A N/A N/A len request_traffic 0 N/A N/A base64_traffic N/A N/A request_traffic N/A 0 text N/A traffic N/A N/A base64 b64decode base64_traffic N/A N/A N/A request_traffic N/A 0 text N/A N/A etree CDATA N/A N/A traffic decode utf-8 N/A N/A N/A len response_traffic 0 N/A N/A base64_traffic N/A N/A response_traffic N/A 0 text N/A traffic N/A N/A base64 b64decode base64_traffic N/A N/A N/A len traffic 10000 N/A N/A response N/A str traffic N/A N/A response base64_traffic N/A N/A N/A response_traffic N/A 0 text N/A N/A etree CDATA response N/A N/A N/A raw_traffic N/A 0 text N/A N/A join N/A N/A N/A request_traffic N/A 0 text N/A str N/A N/A response_traffic N/A 0 text N/A raw_data N/A N/A issue xpath RawData N/A N/A N/A issue remove N/A raw_data N/A 0 N/A string N/A N/A self N/A N/A N/A Returns string respresentation of XML tree

            :returns: Returns string respresentation of XML tree
             N/A N/A N/A N/A N/A etree tostring N/A self xml_tree pretty_print True xml_declaration False decode encoding utf-8 N/A __str__ N/A N/A self N/A N/A N/A N/A N/A self string N/A N/A