olelbis/pswg

GitHub: olelbis/pswg

一款基于 Go 和 crypto/rand 的轻量级命令行密码生成器,支持字符配额自定义与 Shell 安全模式。

Stars: 2 | Forks: 0

pswg pixel art logo

# pswg [![Go 版本](https://img.shields.io/github/go-mod/go-version/olelbis/pswg)](https://github.com/olelbis/pswg/blob/main/go.mod) [![Go 参考](https://pkg.go.dev/badge/github.com/olelbis/pswg/genutil.svg)](https://pkg.go.dev/github.com/olelbis/pswg/genutil) [![CI](https://static.pigsec.cn/wp-content/uploads/repos/cas/ad/ad5834178f7599af9fdda11629d49cae07f2997beec49821b2920eff5bfd50e7.svg)](https://github.com/olelbis/pswg/actions/workflows/ci.yml) [![发布](https://static.pigsec.cn/wp-content/uploads/repos/cas/42/42ba98a60a0bb3b0ad908f024db145f9c5b831eb7df822f56ac578ee7d7215b3.svg)](https://github.com/olelbis/pswg/actions/workflows/release.yml) [![Pages](https://static.pigsec.cn/wp-content/uploads/repos/cas/59/59128f03b2a1bd70a13c5a2dd0baed1767ff5f9b55ddee854567ae9a0137a369.svg)](https://github.com/olelbis/pswg/actions/workflows/pages.yml) [![最新发布](https://img.shields.io/github/v/release/olelbis/pswg)](https://github.com/olelbis/pswg/releases/latest) [![许可证:MIT](https://img.shields.io/github/license/olelbis/pswg)](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, 密码学, 密码生成器, 开发工具, 手动系统调用, 文档结构分析, 日志审计, 程序破解