Stepper icon indicating copy to clipboard operation
Stepper copied to clipboard

Pause flag for request

Open floyd-fuh opened this issue 5 years ago • 4 comments
trafficstars

During Testing I often have the necessity to do something manual in between. For example if Burp acting like one device and the mobile phone app is acting like the other, Burp sometimes has to wait for the mobile app do the next step. While the steps still depend all on each other and the variables are the same (and therefore need to be in the same step sequences), it would be good if stepper would allow to mark a certain request as "pause", so that the request until that request are executed, but then we need to press "Execute sequence" again to send the rest of the requests.

Currently I have to work around this by clicking Execute Step on every request when appropriate.

floyd-fuh avatar Apr 08 '20 10:04 floyd-fuh

This is a great suggestion! I've made some changes on the dev branch which lay a kind of foundation for what you're looking to achieve here.

Currently variables are only "post-request" and only get processed after the request has been sent (to update regex match values). The changes I have made aim to add "pre-request" variables also, the main example here being one time passcodes. Pre-request variables will halt the sequence execution until a value has been provided, so this feature request could be implemented as a special pre-request operation.

I'm doing a lot of work on Logger++ at the minute but hope to have it finished soon. Once that is done I will continue with this project and look at implementing this feature.

CoreyD97 avatar Apr 08 '20 10:04 CoreyD97

With the implementation of prompt variables in #13, you can work around this issue by adding a pre-execution prompt variable to the request you wish to pause before and simply not use the variable value in the request :smile:

CoreyD97 avatar Jul 02 '20 11:07 CoreyD97

Works perfectly fine, thanks!

floyd-fuh avatar Jul 08 '20 15:07 floyd-fuh

Unfortunately I was too enthusiastic when I said it works. Because I need to type in a code into a mobile phone. But that code is in the response of the last request (before the prompt variable). Now the thing is that when the prompt variable pops up, no other tab or focus is possible, so I can't go back to the last response, therefore I'm not able to get the value I need to press the prompt afterwards. Can you make the prompt so that I can also focus other parts of Burp?

floyd-fuh avatar Jul 09 '20 13:07 floyd-fuh