A
A
Alexander Lebedev2018-10-12 19:46:27
Python
Alexander Lebedev, 2018-10-12 19:46:27

How to hang https proxy on local port (Ubuntu)?

Condition: there is an https proxy and there is a headless Selenium chromedriver that does not want to work through an https proxy.

Question: How to hang an https proxy on a local port (using proxychains or something similar to perform authorization, etc.), and when an application accesses the local port, automatically pass all traffic through the bound https proxy?

I understand that it is more correct to sculpt a proxy at the OS level or run the application through the same proxychains, but at the moment everything is called by the process from within Python, so local ports for traffic redirection seem to be the only option so far :)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir, 2018-10-13
@sortarage

and the proxy is still probably not simple, but socket ?

R
rasklaad, 2018-10-28
@rasklaad

If you haven't figured it out yet, try https://github.com/staaldraad/tcpprox

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question