Burp Suite User Forum

Create new post

Burp Localhost

Tommy | Last updated: Apr 30, 2024 06:19AM UTC

Hi everyone, I'm stuck! I looked online and nothing works. What I would simply like to do is start my python program from shell which connects to browser localhost 127.0.0.1:8080 from code and use burp to try to find vulnerabilities, but it doesn't work! my localhost is 127.0.0.1:8080 my code when I start the program from shell(python name:app.py) points to 127.0.0.1:8080 browser>setting>proxy is at 127.0.0.1:6666 foxyproxy is at 127.0.0.1:6666 burp proxy listener is at 127.0.0.1:6666 burp upstream proxy server is 127.0.0.1:8080 and network.proxy.allow_hijacking_localhost and to true

Hannah, PortSwigger Agent | Last updated: Apr 30, 2024 11:08AM UTC

Hi Can you provide some more clarification on the order in which you'd like things to be configured? From what you've described, it looks like you are running things in the following order: Browser -> Burp (port 6666) -> upstream proxy over 8080 -> Python program -> Python program forwards traffic to the Internet

Tommy | Last updated: May 01, 2024 12:09AM UTC

I would like my app, by starting it from the shell, to be able to be intercepted by burp and to output the consequences of my "hack" interventions in localhost. thank you so much for your patience :)

Hannah, PortSwigger Agent | Last updated: May 01, 2024 03:17PM UTC

Is your Python program acting as a server on your local machine - receiving requests and providing responses? Alternatively, is your Python program acting more similarly to a browser - initiating requests and receiving responses?

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