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

Proxy Match and Replace

gu | Last updated: Feb 21, 2019 10:18AM UTC

hey ! im trying to add automatically "referer" header to intercepted http Request. for some reasons its not working, this is the filter i created in Match and Replace section : Type : Request header Match: ^Referer.*$ Replace: www.mywebsite.com note : the intercepted Request does not have "Referer" header , therefore i need to create one and not replacing the existing . thanks!

Liam, PortSwigger Agent | Last updated: Feb 21, 2019 11:09AM UTC

You can't change the message in Proxy History or Site Map as they are a record of the traffic that Burp observed. You could try running two instances of Burp and configure one instance as an upstream proxy with a match and replace rule making the desired changes: - https://support.portswigger.net/customer/portal/articles/2363078-burp-suite-options-upstream-proxy-servers Please let us know if you need any further assistance.

Burp User | Last updated: Feb 21, 2019 11:53AM UTC

hey again, this is what im trying to do! im using burp Proxy listener to intercept my HTTP request but i cant find a way to automatically change headers in the Request before forwarding it. if im doing it manually this works perfect but i want to do it for every Request and therefore im trying to know why the "Match and Replace" option does not work for me.

Liam, PortSwigger Agent | Last updated: Feb 21, 2019 01:17PM UTC

Have you tried testing the match and replace rule in Burp Repeater?

Nikolaos | Last updated: Feb 26, 2020 09:06PM UTC