The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

Advanced Proxy Settings

Skilled_Extractor | Last updated: Sep 01, 2017 06:39AM UTC

I asked the following query a couple of days back: - I want to access a server which is in a different part of the globe. If I access to the server, I get an error of being outside of that country. If I use fiddler and add a simple flag of "X-override Gateway" in the script, I am able to access the application. So, in Burp Suite I changed the upstream proxy settings , still I am getting an error of being outside the country. I even tried by using SOCKS proxy but I was not successful. How do I override the Gateway using Burp Suite? To which the reply was: You should be able to do this using March and Replace rules. Go to Proxy > Options > Match and Replace. Then Add a rule, leave type as Request Header, leave Match blank, and set Replace to “X-override Gateway” (use exactly what worked in Fiddler). My query again after doing the above settings: - The script that was added in fiddler's rules file was: - oSession["x-OverrideGateway"] = "49.212.53.102:11857"; It was added in the function "OnbeforeRequest". So, this setting takes place before generating every request and not during request. I tired by changing type to "Request First Line" but Burp is uncountering an unknown error. How do I achieve this in Burp?

Liam, PortSwigger Agent | Last updated: Sep 01, 2017 08:36AM UTC