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

Match -> Match/Replace.

Andrew | Last updated: May 25, 2015 11:48PM UTC

I would like to beg this request again, as there is a need for feature. Here the use case. I would like to be able to Match/Replace based on Matching a different value. I have been told to write it myself, but that would be like you trusting me to operate on you.....I can't perform that function. I don't code. if Match Request Header: POST /path/to/file then Match Request Header Host: www.google.com Replace Host: 127.0.0.1 In this example, I don't want to replace all Host: www.google.com requests, just when a certain other conditions are true. It would also be handy to match request features with with match/replace response features. Thanks, Andrew

Burp User | Last updated: May 25, 2015 11:51PM UTC

Perhaps this could be built with another request where your response was to write it him/herself: https://support.portswigger.net/customer/portal/questions/12710710-sciript-a-proxy-match-replace-or-well-really-just-an-insert-

PortSwigger Agent | Last updated: May 26, 2015 02:47PM UTC

Thanks for the feature request. As already noted, the only way to do conditional match-and-replace currently is via an extension.

Burp User | Last updated: Jul 03, 2015 07:06PM UTC