Beispiel #1
0
    def __init__(self, parent, w3af, enableWidget=[], editable=False, widgname="default"):
        requestResponsePart.__init__(self, parent, w3af, enableWidget, editable,
                                     widgname=widgname + "request")

        self.raw_view = HttpRawView(w3af, self, editable)
        self.add_view(self.raw_view)

        self.add_view(HttpHeadersView(w3af, self, editable))
Beispiel #2
0
 def __init__(self, parent, w3af, editable, widgname="default"):
     requestResponsePart.__init__(self, parent, w3af, editable=editable,
                                  widgname=widgname + "response")
     http = HttpRawView(w3af, self, editable)
     http.is_request = False
     self.add_view(http)
     headers = HttpHeadersView(w3af, self, editable)
     headers.is_request = False
     self.add_view(headers)
     try:
         rend = getRenderingView(w3af, self)
         self.add_view(rend)
     except Exception, ex:
         print ex