Burp Suite User Forum

Create new post

Intercept curl cli

karim | Last updated: Jun 05, 2022 06:52PM UTC

Hello, I am trying to intercept curl command on MacOS terminal and when I use export http_proxy=http://127.0.0.1:8080 it doesn't work. Are there any alternatives to export http_proxy=http://127.0.0.1:8080? Thank you.

karim | Last updated: Jun 05, 2022 08:38PM UTC

I only need the equivalent of export http_proxy=http://127.0.0.1:8080 to intercept CLI tools. Help please.

karim | Last updated: Jun 06, 2022 03:34PM UTC

Any help, please?

James, PortSwigger Agent | Last updated: Jun 06, 2022 05:06PM UTC

Hi Karim,

Thanks for your message.

Have you tried the below instead?
export http_proxy=localhost:8080

If you are still having issues, can you please send an email to support@portswigger.net including:
  • More information on what you are trying to do
  • Screenshots of the full command and response

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