Burp Suite User Forum

Create new post

Post-Macro extracting parameter from last response

Gabriel | Last updated: Apr 10, 2017 04:26PM UTC

Hi, I am trying to run a request with a macro and post-macro to do this: Macro1 req1 / resp1 => extract param from rep1 Request get param from from last macro's response req / response (post)Macro2 extract param from last response (before post-macro run), and use it in req2 req2 / resp2 currently it only works before the post-macro run, the post-macro is not capable of getting parameters from the last response (unless I have missed something) I did check in "sessions tracer", and there is no update of parameter starting with post-macro.

PortSwigger Agent | Last updated: Apr 13, 2017 02:51PM UTC

Correct, the post-request macro isn't able to derive parameters from responses that have occurred during prior session handling actions.

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