Socket
Socket
Sign inDemoInstall

random-tunnel

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    random-tunnel

Create random tunnel on each new connection.


Maintainers
1

Readme

random-tunnel

一款可以使用随机代理地址访问目标服务的turbo-tunnel插件

安装方法

$ pip3 install random-tunnel

使用方法

$ turbo-tunnel -l http+random://127.0.0.1:9999/?provider=${provider_url} -p random_tunnel

这样会在本地创建一个HTTPS代理服务器,客户端通过该代理服务器访问目标服务时,会随机使用${provider_url}指定的代理服务器列表中的某一个代理。

支持的provider类型

http/https

该url必须按照以下格式返回application/json类型的包体:

{
    "results": [{
        "ip": "1.2.3.4",
        "port": 8080,
        "type": "https"
    }, {
        "ip": "2.2.2.2",
        "port": 8888,
        "type": "https"
    }]
}

同时,该url需要支持limit查询参数用于指定查询的条数。

file

本地文件方式,如:file:///data/proxies.txt。该文件需要将代理服务器以每行一个的形式存放,格式为:http://1.2.3.4:8080

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc