caido icon indicating copy to clipboard operation
caido copied to clipboard

Add option to set cookies from responses

Open fuomag9 opened this issue 1 year ago • 3 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help us know what to work on
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

Description

Add option to set cookies from responses when there are 301/302, to better simulate a browser

Use cases

Would be useful to see pages setting cookies based on parameters, especially when there are redirects based on that. Currently this need to be done manually by coping them from the response and inserting them into the request.

This is a feature present in burp btw

fuomag9 avatar Mar 06 '24 19:03 fuomag9

Trying to understand in which context exactly? Is it during renders or is it like a tamper rule that injects it on next requests?

Sytten avatar Mar 06 '24 22:03 Sytten

Trying to understand in which context exactly? Is it during renders or is it like a tamper rule that injects it on next requests?

From the burp docs:

Process cookies in redirections - Resubmit any cookies set in the redirection response when the redirection target is followed. This may be necessary, for example, if you are attempting to brute force a login challenge that always returns a redirection to a page indicating the login result, and a new session is created in response to each login attempt.

fuomag9 avatar Mar 06 '24 22:03 fuomag9

I hit this issue also. There is already issue opened: https://github.com/caido/caido/issues/784#issue-2151972576

VasilyKaiser avatar Mar 07 '24 13:03 VasilyKaiser

Closing as duplicate of #784

Corb3nik avatar Apr 08 '25 13:04 Corb3nik