GithubHelp home page GithubHelp logo

anapeksha / python-proxy-server Goto Github PK

View Code? Open in Web Editor NEW
125.0 125.0 59.0 1.01 MB

A forward proxy server in Python

License: MIT License

Python 91.51% Dockerfile 6.59% Procfile 1.90%
proxy python socket

python-proxy-server's Introduction

JavaScript TypeScript React Redux MUI Next JS NodeJS Microsoft SharePoint MongoDB Express.js C++ Python Git GitHub Actions EsLint

Hey

const anapeksha = {
	pronouns: "He" | "His",
	programmingLanguages: ["Javascript", "Typescript", "Python", "C++", "HTML", "CSS"],
	spokenLanguages: ["bn-IN", "hi-IN", "en-US"],
	technologies: {
		fullStack: {
			js: ["NextJs"]
		},
		backend: {
			js: ["Node", "Express"],
		},
		frontend: {
			js: ["React", "React Native", "SharePoint Framework"],
		},
		database: ["mongo"],
	},
	architecture: ["Component Libraries", "Progressive Web Application", "Single Page Application"],
	os: ["linux", "macOS", "windows"],
	focus: [
		"Building component library for SPFx",
		"love taking pictures",
	],
};

export default anapeksha;

Trophies

trophy

python-proxy-server's People

Contributors

anapeksha avatar kalbra avatar stevereaver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

python-proxy-server's Issues

Access denied

why is this not connecting?
=test=

$ proxychains curl ip-api.com
ProxyChains-3.1 (http://proxychains.sf.net)
|S-chain|-<>-127.0.0.1:8080-<><>-208.95.112.1:80-<--denied
curl: (7) Couldn't connect to server

=script=

$ py server.py --max_conn=10 --buffer_size=8192
[*] Server started successfully [ 8080 ]
b'CONNECT 208.95.112.1:80 HTTP/1.0\r\n\r\n'
b'CONNECT 208.95.112.1:80 HTTP/1.0\r\n\r\n'
b'CONNECT 208.95.112.1:80 HTTP/1.0\r\n\r\n'
[*] Request Done: 127.0.0.1 => 0.1 KB <=

Code not working correctly on python 3.9

python3 src/server.py --max_conn=10 --buffer_size=8192
Traceback (most recent call last):
File "/home/bluepill/python-proxy-server/src/server.py", line 9, in
listening_port = config('PORT', cast=int)
File "/home/bluepill/.local/lib/python3.9/site-packages/decouple.py", line 248, in call
return self.config(*args, **kwargs)
File "/home/bluepill/.local/lib/python3.9/site-packages/decouple.py", line 107, in call
return self.get(*args, **kwargs)
File "/home/bluepill/.local/lib/python3.9/site-packages/decouple.py", line 92, in get
raise UndefinedValueError('{} not found. Declare it as envvar or define a default value.'.format(option))
decouple.UndefinedValueError: PORT not found. Declare it as envvar or define a default value.

I've installed the requirements:
python-decouple

I'm running it on Linux (Debian). I have opened the required ports. But I still have this issue.
Thanks for your time

How to test?

I don't understand the testing instructions:

If running the proxy on your local machine with the above example, point your proxy to; localhost 8000
Test access to a HTTP only webpage such as; http://neverssl.com

What commands are used to "point your proxy" ???

args bug

        proxy_server(webserver, port, conn, addr, data)
    except Exception:
        pass

def proxy_server(webserver, port, conn, data, addr):

one is addr, data and the other is data, addr

heroku

I am not sure how do i use it i successfully uploaded it on heroku but don't know how to use . is their any example

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.