cyal1 / BcryptMontoya

BcryptMontoya is a powerful plugin for Burp Suite that allows you to effortlessly modify HTTP requests and responses passing through the Burp Suite proxy using Jython code or gRPC, especially when dealing with encrypted requests.
17 stars 3 forks source link

Way to get request in handleResponse or handleProxyResponse #1

Open 3l3m01 opened 8 months ago

3l3m01 commented 8 months ago

It would be nice to have a way to get the original request in the handleProxyResponse and/or handleResponse methods.

cyal1 commented 8 months ago

Using the initiatingRequest() may solve your problem

def handleResponse(response, annotations):
    print(response.initiatingRequest())
    return response, annotations

def handleProxyResponse(response, annotations):
    print(response.initiatingRequest())
    return response, annotations