https://github.com/oneclickvirt/portchecker
端口检测模块 (port checker)
https://github.com/oneclickvirt/portchecker
checker goecs imap pop3 port smtp
Last synced: 11 months ago
JSON representation
端口检测模块 (port checker)
- Host: GitHub
- URL: https://github.com/oneclickvirt/portchecker
- Owner: oneclickvirt
- License: apache-2.0
- Created: 2024-06-13T07:40:56.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-29T03:46:30.000Z (12 months ago)
- Last Synced: 2025-06-29T04:30:51.111Z (12 months ago)
- Topics: checker, goecs, imap, pop3, port, smtp
- Language: Go
- Homepage: https://github.com/oneclickvirt/ecs
- Size: 38.1 KB
- Stars: 6
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# portchecker
[](https://hits.spiritlhl.net)
[](https://github.com/oneclickvirt/portchecker/actions/workflows/main.yaml)
端口检测模块 (port checker)
## 功能(Features)
- [x] 本机邮件常用端口检测
- [x] 常用邮件平台的SMTP、POP3、IMAP协议检测
- [x] 部分Windows10系统下打勾打叉编码错误显示,已判断是Win时使用Y/N显示而不是勾叉
## TODO
- [ ] 常用端口多地区是否阻断检测
- [ ] 支持TCP/UDP协议分开检测是否开通
## 使用(Usage)
下载及安装
```
curl https://raw.githubusercontent.com/oneclickvirt/portchecker/main/pck_install.sh -sSf | sh
```
使用
```
pck
```
或
```
./pck
```
进行测试

## 卸载
```
rm -rf /root/pck
rm -rf /usr/bin/pck
```
## 在Golang中使用
```
go get github.com/oneclickvirt/portchecker@v0.0.3-20250629044850
```