olelbis/pswg
GitHub: olelbis/pswg
一款基于 Go 和 crypto/rand 的轻量级命令行密码生成器,支持字符配额自定义与 Shell 安全模式。
Stars: 2 | Forks: 0
# pswg
[](https://github.com/olelbis/pswg/blob/main/go.mod)
[](https://pkg.go.dev/github.com/olelbis/pswg/genutil)
[](https://github.com/olelbis/pswg/actions/workflows/ci.yml)
[](https://github.com/olelbis/pswg/actions/workflows/release.yml)
[](https://github.com/olelbis/pswg/actions/workflows/pages.yml)
[](https://github.com/olelbis/pswg/releases/latest)
[](https://github.com/olelbis/pswg/blob/main/LICENSE)
`pswg` 是一个使用 Go 编写的轻量级密码生成器 CLI。
它使用 `crypto/rand`,仅将生成的密码输出到 stdout,并允许您设置密码长度,以及大写字母、特殊字符和数字的要求。
## 快速开始
使用默认策略生成密码:
```
pswg
```
生成一个包含 2 个大写字母、2 个特殊字符和 2 个数字的 16 位密码:
```
pswg -l 16 -u 2 -s 2 -n 2
```
生成一个包含对 Shell 安全的特殊字符的密码:
```
pswg -safe
```
显示版本和帮助信息:
```
pswg -version
pswg -h
```
## 文档
项目主页:[olelbis.github.io/pswg](https://olelbis.github.io/pswg/)
请阅读[用户手册](docs/user-manual.md)以了解所有的 flags、有效组合、Shell 用法、安全模型、退出代码、字符集、打包和构建命令。
其他项目文档:
- [安全策略](SECURITY.md)
- [安全审查清单](docs/security-review.md)
- [发行说明](docs/distribution.md)
## 许可证
MIT。请参阅 [LICENSE](LICENSE)。
标签:EVTX分析, Go语言, SOC Prime, 密码学, 密码生成器, 开发工具, 手动系统调用, 文档结构分析, 日志审计, 程序破解