Burp Suite User Forum

Create new post

Updating new cookie

null | Last updated: Dec 20, 2023 09:21PM UTC

Hi team, I'm testing an app that when it sees some incorrect requests (sent through Repeater) it sends a Set-Cookie header to update an existing cookie in the request. If I don't update it manually the app invalidates my session. How can I set Burp to update this cookie automatically everytime it sees this Set-Cookie header with the new value of that specific cookie. I'm trying to use Macros but I can't find the simplest way to do it.

Michelle, PortSwigger Agent | Last updated: Dec 21, 2023 01:25PM UTC

Hi So we can help you with this, can you send an email to support@portswigger.net with a few more details on how the app works and what the flow of requests looks like? Do you need to reauthenticate to get the new cookie? What steps did you take when trying to set up the macro and the session handling rule? Would you be happy to share screenshots or a screen recording of the configuration you tried?

null | Last updated: Dec 21, 2023 01:57PM UTC

Hi Michelle, Sure, I'll get back to you over email, thanks.

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.