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 and Replace

Ram | Last updated: Sep 20, 2018 10:30PM UTC

Hi There, I have this URL "curl -X POST "http://foo.example.org/abcd?User=abcd&HelloCode=1234" When I POST this url I want Burp to manipulate this url as like this "curl -X POST "http://foo.example.org/abcd?User=abcd&HelloCode=5678". Can anyone suggest how should I compose a "Match& Replace" filter??

PortSwigger Agent | Last updated: Sep 21, 2018 09:58AM UTC

One way to do it is to create a match and replace rule like this: Type - Parameter value Match - 1234 Replace - 5678 Alternatively, you could create a session handling rule with the action "Set a specific cookie or parameter value".

ayadi | Last updated: Feb 16, 2023 07:54PM UTC

what if I want to search for a parameter name (e.g target=12345) and we want to change the value?

Ben, PortSwigger Agent | Last updated: Feb 20, 2023 08:43AM UTC