TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: HTTP/HTTPS Man-In-The-Middle proxy built with vanilla Python.

2 pointsby synchronizingabout 5 years ago

1 comment

synchronizingabout 5 years ago
Hello!<p>This is just a simple project that allows the creation of a man-in-the-middle proxy utilizing primarily the Python Standard Library. Other than the use of termcolor[1] for pretty-print, the project is built on top of asyncio[2], ssl[3], socket[4], and http[5] module.<p>This project does not use advance techniques to read SSL traffic. Instead, it assumes that the user will either install the generated certificate unto their keychain, or allow bad certificates to go through. This was a weekend project developed for a larger project I have in mind.<p>[1] <a href="https:&#x2F;&#x2F;pypi.org&#x2F;project&#x2F;termcolor&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pypi.org&#x2F;project&#x2F;termcolor&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;library&#x2F;asyncio.html" rel="nofollow">https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;library&#x2F;asyncio.html</a><p>[3] <a href="https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;library&#x2F;ssl.html" rel="nofollow">https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;library&#x2F;ssl.html</a><p>[4] <a href="https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;library&#x2F;socket.html" rel="nofollow">https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;library&#x2F;socket.html</a><p>[5] <a href="https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;library&#x2F;http.html" rel="nofollow">https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;library&#x2F;http.html</a>