Python Proxy

Open-source Python projects categorized as Proxy

Top 23 Python Proxy Projects

  • mitmproxy

    An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers.

    Project mention: Apple's M4 Has Reportedly Adopted the ARMv9 Architecture | news.ycombinator.com | 2024-05-24

    Mainly this was just myself getting irritated at MS Teams and trying to figure out what it was doing. It was a couple years ago and my current company doesn't use teams, thankfully, so I can't really see if its still valid.

    From what I remember..

    There are files on the disk that get updated/overwritten with pulls from the server every time it launches. Somewhere in AppData I think. A few of these are config files (with lots of interesting looking settings, including beta features).

    One of the config entries specifies a telemetry endpoint (which, you _could_ figure out with a network tracing tool but there are a ton of MS telemetry endpoints your machine is probably talking to. Best to just grab the one explicitly being used from the config like this). I forget the full name of the setting but the name pretty clearly indicates its for telemetry, and the file is clearly a config file. If you can't find it just by browsing the structure, try a multi-file search tool and look for 'telemetry' or URL/hostnames.

    You can't really change the value on disk and make it just take effect from there, since it gets downloaded from the server and overwritten before Teams loads. There might be some tricks you can do locally to persist the change but nothing seemed to work for me. You could override response from server via mitmproxy but that requires finding where it comes across the wire at launch time and then building a script/config to replace it.

    Anyway, you can block that telemetry endpoint from a firewall and see your memory bloat. Or you can intercept that endpoint in any mitm proxy. I went with this [mitmproxy](https://mitmproxy.org/). From there you can capture the content it sends to the endpoint, or even change the response the server sends (Teams just seems to expect a 200 code back).

    The telemetry data itself is some kind of streaming event format. I think I even found documentation on the structure on some microsoft website, so its likely a reused format.

    It's pretty straightforward.

    I couldn't spend too much time on it and now it's not something I even use, but some cool things you might want to try if you dive deeper into this:

    - Overwrite the config file as it returns from the server, to turn on EU data protection, change various functionality you're not supposed to, or flip some feature flags.

    - Figure out if there's a feature flag or even other overwrite to fully disable the metrics so they aren't even collected, from anywhere in the app.

    - Intercept telemetry, return an 'OK' response and drop the data from telemetry, or maybe document what they collect more definitively if you think there's interest somewhere. This keeps your privacy but doesn't really do anything for performance.

    - Interfere with the data before actually returning it, maybe try playing with event contents and channel/user indicators. Microsoft probably won't like this if they notice, but it's unlikely they'll even notice.

  • Scout Monitoring

    Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.

    Scout Monitoring logo
  • XX-Net

    A proxy tool to bypass GFW.

  • FlareSolverr

    Proxy server to bypass Cloudflare protection

    Project mention: Scraping Google trends, and incomplete datasets. Help, please? | /r/datasets | 2023-12-07

    What i didnt tried: - scraping and using these (single page) tokens - headless browser - web-test-frameworks like selenium (programmable browser) - using Flaresolver (my best bet) https://github.com/FlareSolverr/FlareSolverr . A headless browser / proxy developed to bypass cloudflare. You can easily deploy it onprem with docker. I know google got its own defence machanisms, but i've got very good experience using it for scraping and crawling (at least cloudflare protected) websites. So i guess its very good at pretending being a normal browser, being a normal user.

  • websockify

    Websockify is a WebSocket to TCP proxy/bridge. This allows a browser to connect to any application/server/service.

  • ProxyBroker

    Proxy [Finder | Checker | Server]. HTTP(S) & SOCKS :performing_arts:

  • proxy.py

    💫 Ngrok FRP Alternative • ⚡ Fast • 🪶 Lightweight • 0️⃣ Dependency • 🔌 Pluggable • 😈 TLS interception • 🔒 DNS-over-HTTPS • 🔥 Poor Man's VPN • ⏪ Reverse & ⏩ Forward • 👮🏿 "Proxy Server" framework • 🌐 "Web Server" framework • ➵ ➶ ➷ ➠ "PubSub" framework • 👷 "Work" acceptor & executor framework

  • python-proxy

    HTTP/HTTP2/HTTP3/Socks4/Socks5/Shadowsocks/ShadowsocksR/SSH/Redirect/Pf TCP/UDP asynchronous tunnel proxy implemented in Python 3 asyncio.

    Project mention: WireGuard client that exposes itself as a HTTP/SOCKS5 proxy | news.ycombinator.com | 2024-04-01

    FWIW, that fork is 6 years out of date, forked from https://github.com/qwj/python-proxy.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • cloudproxy

    Hide your scrapers IP behind the cloud. Provision proxy servers across different cloud providers to improve your scraping success.

  • ssh-mitm

    SSH-MITM - ssh audits made simple (by ssh-mitm)

    Project mention: Terrapin Attack for prefix injection in SSH | news.ycombinator.com | 2023-12-19

    There is now an issue ticket in ssh-mitm to discuss the similarities between ssh-mitm and terrapin attack: https://github.com/ssh-mitm/ssh-mitm/issues/165

  • email-oauth2-proxy

    An IMAP/POP/SMTP proxy that transparently adds OAuth 2.0 authentication for email clients that don't support this method.

    Project mention: Bringing Exchange Support to Thunderbird | news.ycombinator.com | 2024-04-21

    What makes you say the protocol is different for each provider?

    I maintain a proxy that transparently adds support for OAuth 2.0 support to IMAP/POP/SMTP clients (https://github.com/simonrob/email-oauth2-proxy), and for normal use it doesn’t need to know anything about which service it is connecting to. Apart from advanced features such as CCG or ROPCG which are mostly O365 only, what is different?

  • scrapy-rotating-proxies

    use multiple proxies with Scrapy

  • fetch-some-proxies

    Simple Python script for fetching "some" (usable) proxies

  • mapproxy

    MapProxy is a tile cache and WMS proxy

  • quarry

    Python library that implements the Minecraft network protocol and data types

  • Libertea

    Easily install and manage a multi-protocol VPN server; with user management, auto fallback and auto update.

  • TREVORproxy

    A SOCKS proxy written in Python that randomizes your source IP address. Round-robin your evil packets through SSH tunnels or give them billions of unique source addresses!

  • Proxy-Master

    maybe the best free proxy list?

  • asyncio-socks-server

    A SOCKS proxy server implemented with the powerful python cooperative concurrency framework asyncio.

  • AnonSurf

    Change your IP address instantly - easy small GUI tool for Windows (linux soon) (by ultrafunkamsterdam)

  • AccountGeneratorHelper

    This library is helpful when creating accounts, it has everything you need for this

  • SATOSA

    Proxy translating between different authentication protocols (SAML2, OpenID Connect and OAuth2)

    Project mention: Satosa: Proxy translating between different authentication protocols | news.ycombinator.com | 2024-03-31
  • acme2certifier

    library implementing ACME server functionality

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Proxy discussion

Log in or Post with

Python Proxy related posts

  • Satosa: Proxy translating between different authentication protocols

    1 project | news.ycombinator.com | 31 Mar 2024
  • Hardening Apache APISIX with the OWASP's Coraza and Core Ruleset

    6 projects | dev.to | 8 Feb 2024
  • Proxy to add OAuth 2.0 authentication to email clients that don't support it

    1 project | news.ycombinator.com | 19 Jan 2024
  • Scraping Google trends, and incomplete datasets. Help, please?

    1 project | /r/datasets | 7 Dec 2023
  • mitmproxy VS petep - a user suggested alternative

    2 projects | 3 Oct 2023
  • Oauth 2.0 Proxy for Email (POP/IMAP/SMTP) - Containerized

    2 projects | /r/exchangeserver | 17 Aug 2023
  • flutter map + mapbox static tiles | reduce API requests

    1 project | /r/flutterhelp | 26 Jun 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 18 Jul 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Proxy projects in Python? This list will help you:

Project Stars
1 mitmproxy 35,315
2 XX-Net 32,880
3 FlareSolverr 6,379
4 websockify 3,827
5 ProxyBroker 3,776
6 proxy.py 2,926
7 python-proxy 1,942
8 cloudproxy 1,364
9 ssh-mitm 1,249
10 email-oauth2-proxy 751
11 scrapy-rotating-proxies 716
12 fetch-some-proxies 572
13 mapproxy 535
14 quarry 528
15 Libertea 344
16 TREVORproxy 275
17 Proxy-Master 252
18 asyncio-socks-server 199
19 AnonSurf 198
20 AccountGeneratorHelper 196
21 SATOSA 190
22 streamlink-ttvlol 162
23 acme2certifier 156

Sponsored
Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com