Burp Suite User Forum

Create new post

invalid macros

Martin | Last updated: Mar 19, 2015 05:56PM UTC

Hello, we are experiencing problem with stored macros in Option -> Sessions. Macros work fine immediately after being recorded. But after some time (even days), stored Requests become invalid and empty - full of zeroes. Any idea how to repair existing macros and fix this problem? Thank you. Martin

PortSwigger Agent | Last updated: Mar 20, 2015 01:37PM UTC

This suggests that Burp might have lost the temp files in which request and response buffers are stored. Did you see anything in the Alerts tab to indicate that Burp failed to open any temporary files? Also, if you can let us have your debug ID (at Options / Misc / Performance feedback) we'll see if we have any errors logged for your instance of Burp.

Burp User | Last updated: Jun 11, 2015 10:51AM UTC

Hello, the same problem for me. The point is that I am making login functionality to website. After recording macro everything looks like good, but after switching Burp off and then on again, the macros is not working. Maybe there is any approach how to solve this? I mean login (I need to send different body than Burp is sending)? Thanks

PortSwigger Agent | Last updated: Jun 15, 2015 12:47PM UTC

Sec - are you seeing the same problem that the previous poster mentioned, where macros appear to have empty requests? Or are you seeing your macros stop working in another way? If you can provide full details, that would be great.

Burp User | Last updated: Jun 16, 2015 07:03AM UTC

Hello, my situation looks like similar to the first post. I am recording Login functionality, because it is needed to login in different way than Burp Spider does. After recording macro looks like it is working for the first time, but after closing and opening Burp again, Login functionality work in the bad way. I am not sure if I am doing right, but I haven't find any examples. Username and password in Burp Spider works fine, but in web login page there is checkbox, which must be unchecked. Burp always sends it as checked, and that's bad (what I am trying to change). Maybe there is another way to solve this? I need just to change body in message. Thanks.

PortSwigger Agent | Last updated: Jun 16, 2015 02:18PM UTC

If you record the login sequence with the checkbox unchecked, then Burp's macro should submit the form with the checkbox unchecked. If you need to change the contents of a request after recording the macro, you can edit the request within the macro editor. Just select the macro in the table and click "Edit", then select the relevant item and edit the request in the lower panel, then click "OK".

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