Burp Suite User Forum

Create new post

Macro changing all parameters, despite Session Handling Settings

awhitehatter | Last updated: Jul 07, 2017 11:44PM UTC

Hi There, I setup a Macro to capture a CSRF token and that piece in and of itself is working wonderfully. The problem is that the Macro changes all of my macro values to the default values saved from when the macro was recorded. This doesn't matter if I have the macro settings set to preset or from the previous response. Nor does it matter if I have set Burp to only change a specific parameter in the Session Handling Rules. Any ideas?

PortSwigger Agent | Last updated: Jul 10, 2017 07:58AM UTC

Ok, first can we just check a few details: 1) Does your macro have just one request, or multiple? 2) Does the macro work correctly when you test it (Macros > Edit > Test macro) ? If subsequent items in the macro aren't picking up parameters from earlier, you may need to configure custom locations: Configure item > Custom parameter locations in response > Add. Once the macro is working correctly, we need to investigate the session handling rule. You can use the session tracer to investigate further. If you're still having difficulty, please email support@portswigger.net with screenshots of your configuration and test/trace output.

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