Mike Wang

Results 115 comments of Mike Wang

I'm mainly focusing on builds for Windows and macOS, especially arm64 native builds. They are single-file excutables, so I don't think it could be a big problem. Since the most...

Glad to see Spek is back, I'm planning to PR some useful features back to Spek. After that, Spek-X's mission is completed so the packages are no longer needed. Thanks...

您好!很高兴得知此脚本对您有帮助。 简而言之,此脚本利用了微信OAuth2.0验证中的已有缺陷。 微信授权登录时,会将授权`code`传至给定的`redirect_uri`,该URI一般为企业应用的登录接口; 本二维码将`redirect_uri`指向了其他无关页面,即可通过“复制链接”的方式手动提取授权`code`; 授权`code`再由本脚本提交至企业接口,即可获得登录Cookie。 您可以通过阅读OAuth2.0相关文档,更深一步地了解相关原理。

运气有点差... 🫠 确实可能出现这种情况,这个需求是合理的,后续版本会新增两个命令行参数(暂定): 1. ``` -B port1,port2,... ``` 作为 `-b` 的反向,即:不指定绑定端口,随机选择时,端口号不为 port1, port2, ... 2. ``` -P port1,port2,... ``` 作为 `-p` 的反向,即:不指定目标端口,随公网端口变化时,端口号不为 port1, port2, ... 遇到则重试,直至满足要求。 --- 可以看一下上述设计是否能满足需求。

本人已毕业,请参考其他仓库 :(

CI: https://github.com/MikeWang000000/spek-X/actions/runs/9212705116 CI: https://github.com/MikeWang000000/spek-X/actions/runs/9216763834 I will release this version after some tests ;)

I think this feature may not be very necessary🤔. You can try the command below ``` Spek hello.mp3 hello.png ``` for batch processing, or ``` Spek hello.mp3 hello.png 800 800...

当前设计为单个 Natter 进程仅负责单个端口,通过上层管理程序(如 Docker, Supervisor 等等)发起多个 Natter 进程实现多个端口的映射。 这种设计有以下考虑: 1. `-p` 选项有多个端口时,`-b` 必须绑定多个端口,另外其他选项例如 `-u` UDP 模式,`-i` 绑定网络接口,`-e` 通知脚本等等是否共用,还是同样支持分开设置是不确定的,这可能会带来语义上的模糊; 2. Natter 为了易用和可移植,保持零依赖和单文件脚本的结构,因此尽量做到设计简单,不再引入复杂设计; 3. 单个 Natter 负责单端口,可以避免某个端口连接出现意外异常,导致所有端口服务中断的风险。 因此推荐使用上层管理程序。比如参考下方 Supervisor 配置: ``` [program:natter-web]...

## Docker 命令行的使用示例 下方 Docker 参数中: - `--net=host` 使用主机网络(必须); - `--name=` 用于命名; 创建: ```bash docker create --net=host --name=natter_21 nattertool/natter -p 21 docker create --net=host --name=natter_80 nattertool/natter -p 80 ``` 启用:...

可以把 Supervisor 打到镜像里面。