Git Product home page Git Product logo

pytunnel's People

Contributors

estaji avatar sintrb avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

pytunnel's Issues

Can't open port on client

Hello, I have a problem:
after run server and connect to it using this command:
python -m pytunnel --port 1090 --target 127.0.0.1:8080 --server <SERVER_IP>:1990
I can't find 8080 port opened on my client. for example I can't find it with this command:
netstat -tlpn
How can I use this port and send traffic over it?

Error TypeError: __init__() got an unexpected keyword argument 'encoding'

Hi, I was testing pytunnel and got an error on Python 3.9.2 .
This error showed exactly by using the sample code like this:
on server:
python -m pytunnel --bind 0.0.0.0:1990
on client:
python -m pytunnel --port 1090 --target 127.0.0.1:8080 --server <server_ip>:1990
and the error is:
Traceback (most recent call last): File "/root/venv/lib/python3.9/site-packages/pytunnel/tunnel.py", line 606, in _run ret = self._ready(clt_con, clt_add) File "/root/venv/lib/python3.9/site-packages/pytunnel/tunnel.py", line 480, in _ready data = json.loads(auth, encoding='utf8') File "/usr/lib/python3.9/json/__init__.py", line 359, in loads return cls(**kw).decode(s) TypeError: __init__() got an unexpected keyword argument 'encoding'

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.