Burp Suite User Forum

Create new post

How do I get burpsuite to intercept my curl -X GET requests that I am launching from command line

Darragh | Last updated: Mar 14, 2019 01:30PM UTC

I am penetration testing, I am exploiting (this is all on a college set up environment, nothing is really but hosted on a VPN) an API that connects with a database to receive data and spit it back out. I am doing these requests through the command line like : curl -X GET 'https://address/users/1/payments/payment code here -H 'Authorization code here' -i -k. How do i get burp to intercept this if I am doing it through the command line, or is it possible?

PortSwigger Agent | Last updated: Mar 14, 2019 01:39PM UTC

You can use the --proxy command line argument to tell curl to proxy through Burp.

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