SpareNet Servers Advertising & Link Exchange

اطلاعیه

بستن
هیچ اطلاعیه ای هنوز ایجاد نشده است .

A Burp Suite plugin for test HTTP و HTTPS

بستن
X
 
  • فیلتر
  • زمان
  • نمایش
پاک کردن همه
نوشته‌های جدید

  • A Burp Suite plugin for test HTTP و HTTPS

    این کد یک افزونه Burp Suite است که به شما اجازه می‌دهد تا ترافیک HTTP و HTTPS را بررسی کنید و پاسخ‌های سرور را چاپ کنید.
    شما می‌توانید این کد را با توجه به نیاز خود تغییر دهید و از آن برای تست سایت خود استفاده کنید.

    کد:
    #This code is a Burp Suite plugin that allows you to inspect HTTP and HTTPS traffic and print server responses. You can change this code according to your needs and use it to test your site.
    #code bu e1.coders
    from burp import IBurpExtender
    from burp import IHttpListener
    class BurpExtender(IBurpExtender, IHttpListener):
      
        def registerExtenderCallbacks(self, callbacks):
            self._callbacks = callbacks
            self._helpers = callbacks.getHelpers()
            callbacks.setExtensionName("My Burp Extension")
            callbacks.registerHttpListener(self)
          
        def processHttpMessage(self, toolFlag, messageIsRequest, currentRequest):
            if not messageIsRequest:
                response = currentRequest.getResponse()
                analyzedResponse = self._helpers.analyzeResponse(response)
                headers = analyzedResponse.getHeaders()
                body = response[analyzedResponse.getBodyOffset():].tostring()
                print("[+] Response:")
                print(headers)
                print(body)​
    [align=center][align=right]When danger lurks in unknown waters, we are there to help you swim[/align][/align]
صبر کنید ..
X