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

Upstream proxy

Deha | Last updated: Oct 04, 2022 03:37PM UTC

Hello, Can burp intercept cURL and Wget with the Upstream Proxy? If so, how to do that. Thank you

Ben, PortSwigger Agent | Last updated: Oct 05, 2022 08:46AM UTC

Hi Deha, To confirm, are you wanting to proxy the traffic generated from your Curl and Wget commands through Burp or something else?

Deha | Last updated: Oct 05, 2022 12:48PM UTC

Hi Ben, Yes I would like to proxy the traffic generated from Curl and Wget commands through Burp.

Deha | Last updated: Oct 05, 2022 12:52PM UTC

I don't want to declare the environment variables, i.e, "export http_proxy proxy:port" or using the --proxy with cURL or Wget.

Ben, PortSwigger Agent | Last updated: Oct 05, 2022 05:59PM UTC

Hi Deha, Obviously, we are relying on the options available within these two third party tools to send their traffic through Burp (rather than this being something that we configure in Burp) and the standard way of doing this is using variables and/or command line options - is there a specific reason for not wanting to use this approach? It is possible to create a file and configure these options within said file (meaning that you only need to configure these options once) and there are some details and discussions on how to do this in the links below: https://oxylabs.io/blog/curl-with-proxy#configure-curl-to-always-use-proxy https://askubuntu.com/questions/346649/how-do-i-force-wget-to-use-a-proxy-server-without-modifying-system-files

Luis | Last updated: Oct 06, 2022 02:57PM UTC

Thank you ben. Noted :) Now, I followed this tutorial on how create an Upstream Proxy: https://portswigger.net/support/burp-suite-upstream-proxy-servers However, when I run the command cURL --proxy "http://user:pass@proxy:port" ifconfig.io, nothing is intercepted and cURL returns the IP of the proxy I am using, without any request being intercepted. How can the Upstream proxy intercept the output of this command? Thank you, Ben.

Ben, PortSwigger Agent | Last updated: Oct 07, 2022 06:52AM UTC