RhinoSecurityLabs / IPRotate_Burp_Extension

Extension for Burp Suite which uses AWS API Gateway to rotate your IP on every request.
807 stars 144 forks source link

Add support for AWS X-Forwarded-For overwrite #21

Closed hansonryne closed 4 years ago

hansonryne commented 4 years ago

I was having some trouble getting requests to actually register as a different IP through the API Gateway because it adds an X-Forwarded-For header to anything that goes through it.

These changes will overwrite that if the API Gateway receives a request with an X-My-X-Forwarded-For header added. You can put anything you want in the header (I just put the work "junk"), and with a Match/Replace rule in Burp it's pretty easy.

The idea for this was taken from the fireprox repo at https://github.com/ustayready/fireprox