Burp Extension + UpStream Proxy SLOWWWW
I created a burp extension that decrypts AES traffic. The infrastructure I am testing is in such way that all requests' payloads are being encrypted with AES. In order to work around this, I am sending the request to another Burp Instance to do the analysis and then finally send it to the server. The problem I am facing is that when I make a request, it takes around 3 minutes to get to the next proxy. The output of my extension shows that the decryption is being done fairly fast, but after the decryption is done it takes forever to send the request.
This is most likely due to a Content-Length header not being correctly updated.
If you send us some traces of HTTP requests or the extension source code, we can investigate further.
I have an app that encrypts body of HTTP requests and responses with AES and am writing an extension. I am using Python and the AES module from the library PyCryptoDome is having import issues in Burp.