Configure Burp to pass dynamic authentication token from the past response to the next request
I would like to reuse an authentication token (which is dynamic) between a response and a request in the intruder module.
(By dynamic I mean that the token is invalidated after being sent to the server and that we get a new token in the response.)
Here is how the authentication mechanism works:
Please note that in the request the token is in the body and that in the response it's a custom header (Token: x)
You can use any programming language where you can start your own proxy server and do the necessary programming logic (Store the last received token in a variable and replace it on the next subsequent request where you want to update it). Add this proxy server in your burp suite
You could try using the Turbo Intruder extension: