The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

Burp v2.1.03 'Copy as curl command' puts cookies in curl -b and -H parameter

Tirath | Last updated: Sep 25, 2019 03:14PM UTC

With older versions of Burp 'Copy as curl command' only IIRC put cookies in the original request in the curl "-b" parameter but this current version also puts the same cookies in the "-H" parameter. Therefore in the curl command line the cookies appear twice. This might be easy to see in a small request but in a big request its not so easy to spot. This has just tripped me up. Is this a bug or by-design?

Mike, PortSwigger Agent | Last updated: Sep 26, 2019 01:58PM UTC

Thanks for the report, we are aware of this issue and we have a story in the backlog to fix it. We will notify this thread once the fix for this bug has been released.

Tirath | Last updated: Sep 03, 2020 11:21AM UTC

Now on version 2020.8.1 this tripped me up again today. I wonder how many others its affected who perhaps haven't detected it. It should be easy to resolve?

Uthman, PortSwigger Agent | Last updated: Sep 04, 2020 09:36AM UTC

Hi Tirath, We are still working on prioritizing this. We will update this thread when the issue has been fixed. Apologies for the inconvenience this is causing in the meantime.

Uthman, PortSwigger Agent | Last updated: Dec 14, 2020 01:47PM UTC