Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iiiusky/webrtc-proxy
反向代理+webrtc 神不知鬼不觉的获取真实IP
https://github.com/iiiusky/webrtc-proxy
Last synced: 21 days ago
JSON representation
反向代理+webrtc 神不知鬼不觉的获取真实IP
- Host: GitHub
- URL: https://github.com/iiiusky/webrtc-proxy
- Owner: iiiusky
- License: apache-2.0
- Created: 2020-10-29T03:38:07.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-30T08:41:16.000Z (about 4 years ago)
- Last Synced: 2024-08-05T17:30:55.988Z (4 months ago)
- Language: Go
- Size: 17.6 KB
- Stars: 147
- Watchers: 5
- Forks: 26
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - iiiusky/webrtc-proxy - 反向代理+webrtc 神不知鬼不觉的获取真实IP (Go)
README
# 反向代理+webrtc 神不知鬼不觉的获取真实IP
## Usage
```
Usage:
webrtc [flags]
webrtc [command]Available Commands:
help Help about any command
version 显示版本信息Flags:
--disable-random-log 是否关闭日志存放文件名随机生成,默认为false,如果为true则为[webrtc.log]、[access.log]创建,否则为[随机字符串+webrtc.log]、[随机字符串+webrtc.log]生成.
-d, --domain string 服务绑定的域名(IP),如不指定则自动获取外网IP,目标网站代理后iframe的webrtc地址以此为准
-h, --help help for webrtc
--path string webrtc访问的路由,默认为webrtc (default "webrtc")
-p, --port int 服务开启的端口 (default 80)
-t, --target string 需要代理的目标网站,比如https://www.baidu.comUse "webrtc [command] --help" for more information about a command.
```
## 实现原理
通过反向代理目标网站,然后替换目标网站中返回的response包中`