Burp Suite User Forum

Create new post

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

Hi Tirath, This issue has now been fixed in the latest release (2020.12). Can you please download the latest version and let us know if the issue persists?

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