Add Custom HTTP Headers in Burp Suite
Last modified: 2023-08-14
In Burp Suite, we can add custom header by setting up options.
Add Custom HTTP Headers
In some cases such as bug bounty programs, it may be convenient to set custom HTTP headers in advance.
-
Go to Proxy -> Options tab.
-
Scroll down to "Match and Replace".
-
Click on "Add".
-
Set rule:
-
User Agent
Type: Request header Match: ^User-Agent.*$ Replace: User-Agent: HackerOne-username Comment:
-
New Original Header
Type: Request header Match: (empty) Replace: X-Bug-Bounty: HackerOne-username Comment:
-
-
Check the box of "Regex match".
-
Click on "OK".
-
Search for the rule in the list and click on "Enabled".