change_upstream_proxy_server
See original GitHub issuei have two http proxy serivce : http://104.199.205.163:8888 and http://104.155.220.54:8888
when i am run driver.get('http://httpbin.org/ip')
and mitmproxy: mitmproxy -s proxy.py --mode upstream:http://104.199.205.163:8888 --no-http2 --ssl-insecure --set upstream_cert=false
show ip :104.155.220.54
mitmproxy -s proxy.py --mode upstream:http://default-upstream-proxy.local:8080/ --no-http2 --ssl-insecure --set upstream_cert=false
show the ip :104.196.15.117
proxy.py
def request(flow):
proxy='104.155.220.54'
port=8888
flow.live.change_upstream_proxy_server((proxy,port))
why i must set -mode upstream:http://104.199.205.163:8888
show this ip 104.155.220.54
?
can I do it through a python script?
Where is the meaning of the option--mode upstream:http://104.199.205.163:8888
I don’t want to link extra servers(104.155.220.54)
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Change upstream proxy for https flow - help - mitmproxy
When make an http request through mitm to an ip echo server I get the ip of “other-proxy” as expected. curl -x localhost:8080...
Read more >Burp Suite Options: Upstream Proxy Servers - PortSwigger
We can configure this in the "Upstream Proxy Servers" section of the "Options" / "Connections" tab. Click the "Add" button to open the...
Read more >Dynamically change the proxy mode from regular to upstream ...
I'd like to redirect HTTP requests in the (frontend/downstream) connection between a client and mitmproxy to HTTPS requests in the (backend/ ...
Read more >Burp Suite 2: Configuring Upstream Proxy - YouTube
Your browser can't play this video. Learn more. Switch camera.
Read more >Chain to Upstream Proxy - Fiddler Classic - Documentation
Close Fiddler Classic application. · Open Internet Explorer > Options > Internet Options > Connections > LAN Settings. · Click the check box...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m sorry, but I don’t understand you question. Can you please rephrase it more clearly?
change_upstream_proxy_server
does not exist anymore. See https://github.com/mitmproxy/mitmproxy/blob/main/examples/contrib/change_upstream_proxy.py for an alternative.