예제 #1
0
 def __init__(self, http_resp):
     # Save "_parse" reference
     orig_parse = self._parse
     # Monkeypatch it!
     self._parse = lambda arg: None
     # Now call parent's __init__
     SGMLParser.__init__(self, http_resp)
     # Restore it
     self._parse = orig_parse
예제 #2
0
 def __init__(self, http_resp):
     # Save "_parse" reference
     orig_parse = self._parse
     # Monkeypatch it!
     self._parse = lambda arg: None
     # Now call parent's __init__
     SGMLParser.__init__(self, http_resp)
     # Restore it
     self._parse = orig_parse
예제 #3
0
파일: html.py 프로젝트: Adastra-thw/Tortazo
    def __init__(self, http_resp):

        # An internal list to be used to save input tags found
        # outside of the scope of a form tag.
        self._saved_inputs = []
        # For <textarea> elems parsing
        self._textarea_tag_name = ""
        self._textarea_data = ""
        # For <select> elems parsing
        self._selects = []
        # Save for using in form parsing
        self._source_url = http_resp.get_url()
        # Call parent's __init__
        SGMLParser.__init__(self, http_resp)
예제 #4
0
    def __init__(self, http_resp):

        # An internal list to be used to save input tags found
        # outside of the scope of a form tag.
        self._saved_inputs = []
        # For <textarea> elems parsing
        self._textarea_tag_name = ""
        self._textarea_data = ""
        # For <select> elems parsing
        self._selects = []
        # Save for using in form parsing
        self._source_url = http_resp.get_url()
        # Call parent's __init__
        SGMLParser.__init__(self, http_resp)
예제 #5
0
파일: wml_parser.py 프로젝트: z0r1nga/w3af
 def __init__(self, http_response):
     self._select_tag_name = ""
     SGMLParser.__init__(self, http_response)
예제 #6
0
 def __init__(self, http_response):
     self._select_tag_name = ""
     SGMLParser.__init__(self, http_response)
예제 #7
0
 def __init__(self, HTTPResponse):
     self._select_tag_name = ""
     SGMLParser.__init__(self, HTTPResponse)