Match and Replace
Last updated
Last updated
Burp Suite allows you to configure match and replace rules which will automagically modify reuqests and responses made while exploring the target application. This can be used to automate testing for a specific vulnerability and/or ease interaction with the application.
Go to Tools > Proxy.
Under Match and Replace, click Add.
Leave the Match field empty. This ensures that Burp will append a new header to requests rather than replacing an existing one.
In the Replace field, enter the following:
X-Custom-IP-Authorization: 127.0.0.1
Click OK.
Burp Proxy will now add this header to every request you make in Burp's browser.
Create a match and replace rule like above to match a random string such as P4rz1v4L
and replace it with the following: