Пример #1
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
Пример #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