GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - kbatten/python-socks5-socket: monkey patch limited socks5 support into python socket

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE
LICENSE
 
 
README
README
 
 
monkey_sockets_socks5.py
monkey_sockets_socks5.py
 
 

Repository files navigation

Just a basic monkey patch to give socks5 support to python sockets.


Usage:
Set the socks_proxy os environment variable.
Import it before anything else that will be using sockets.
If the environment variable isn't set, then no proxying will occur
socks_proxy="<DESTPORT1,DESTPORT2,...,DESTPORTN:>[username[:password]@]<PROXYHOST:><PROXYPORT>"


Caveats:
only supports ipv4
only supports socks5
user/pass auth has not been tested
if socks_proxy env variable is set, all socket connections on that port will use it



About

monkey patch limited socks5 support into python socket

Resources

Readme
MIT license
Activity

Stars

5 stars

Watchers

0 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.