https://github.com/s045pd/proxy_checker
proxy detect~
https://github.com/s045pd/proxy_checker
proxy
Last synced: about 1 year ago
JSON representation
proxy detect~
- Host: GitHub
- URL: https://github.com/s045pd/proxy_checker
- Owner: s045pd
- License: mit
- Created: 2019-07-02T05:21:34.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-08-14T22:05:41.000Z (almost 3 years ago)
- Last Synced: 2025-05-09T02:17:16.972Z (about 1 year ago)
- Topics: proxy
- Language: Python
- Homepage: http://45.62.212.177
- Size: 484 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
代理匿名检测
>📖[En_Doc](README_en.md)
这是一款配合中间件组合处理的代理检测工具。
### ✨ 原理图

### python环境配置
下载并安装 *`anaconda 3.5`*
```
pip install -r ./requirements.txt
pip install -U 'requests[socks]'
```
### 🚀 启用服务
> ⚠️ 请将conf_dev.py 改为 conf.py
将文件代码上传到服务器上并修改`conf.py`的`IPs.SERVER`参数为该服务器的外网IP
```python
class IPs(Enum):
CLIENT = "A.B.C.D"
SERVER = "A.B.C.D"
```
并运行`bash start.sh`命令来启动`Caddy`及`server`服务
### 测试
现在我们通过洋葱浏览器访问 `http://[server_ip]/client=B.C.D.E`,可以看到返回了的类型是`ELITE`

> ⚠️ 总共两个参数,分别为 `client` 指代客户端实际IP地址,`proxy` 指代代理的IP地址
### 批量测试
我们通过在`client.py`脚本中修改`proxy_list`中的内容来进行批量测试
例如:
```
proxy_list = [("1.1.1.1",8888),("2.2.2.2",9999))]
```
## 📝 License
Copyright © 2019 [aoii103](https://github.com/aoii103).
This project is [MIT](https://github.com/aoii103/proxy_checker/blob/master/LICENSE) licensed.
---