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

Use long/verbose parameters for curl command

Pedro | Last updated: Jul 07, 2017 01:22PM UTC

At the moment the tool generates the following curl command: curl -i -s -k -X $'GET' $'https://10.10.10.10/' If using the long version of the parameters it will be presented as: curl --include --silent --insecure --request $'GET' $'https://10.10.10.10/' Using the long version of the commands improve readability and makes more clear which options are being used by the tool. This might help developers and other users not familiar with obscure one letter parameters to understand what the command is doing as it's self-documented.

PortSwigger Agent | Last updated: Jul 10, 2017 07:57AM UTC

That's an interesting suggestion. The "copy as CURL command" was originally intended for power users who prefer brevity. We'll have a discussion internally about potentially changing the behavior. In the interim, this is something you could implement as an extension. There is already a "Copy as Python Requests" extension which you could look at.

Burp User | Last updated: Jul 18, 2017 08:03PM UTC