- compress: 修复 Zip-Slip 路径穿越(UnZip/UnTarGz 校验条目路径并拒绝链接条目) - encrypt: AES 升级为 AES-256/GCM,RSA 改为真实混合加密,流式处理大文件, 临时文件+原子替换避免损坏原文,密钥文件限制为属主可读写,DES 标记废弃 - random: 修复上界 Integer.MAX_VALUE 溢出,randomString 参数校验 - echo: ColorPrintlnPlus 格式码叠加(颜色+加粗等),颜色码输入校验防终端注入 - hwid: ProcessBuilder+超时+并发排空输出流,Windows 改用 PowerShell CIM(wmic 回退), 修正 Linux 磁盘序列号命令,MAC 优先物理网卡,哈希失败不再回退 hashCode - runtime: getJarPath 经 URI 解析(处理空格/编码),临时目录改用 Files.createTempDirectory - file: CreateFile 移除死代码与假异步;CompressPNG 临时文件+原子替换,阈值空校验 - build: pom 补元数据/插件版本/manifest 版本注入,version 与 pom 对齐并读取 Implementation-Version - test: 全部测试迁移为 JUnit 5(53 个用例),删除 System.exit 式手写测试与 10 亿次循环测试 - chore: 删除 cp.txt 并加入 .gitignore
48 lines
566 B
Plaintext
48 lines
566 B
Plaintext
target/
|
|
!.mvn/wrapper/maven-wrapper.jar
|
|
!**/src/main/**/target/
|
|
!**/src/test/**/target/
|
|
.kotlin
|
|
|
|
### IntelliJ IDEA ###
|
|
.idea/modules.xml
|
|
.idea/jarRepositories.xml
|
|
.idea/compiler.xml
|
|
.idea/libraries/
|
|
*.iws
|
|
*.iml
|
|
*.ipr
|
|
|
|
### Eclipse ###
|
|
.apt_generated
|
|
.classpath
|
|
.factorypath
|
|
.project
|
|
.settings
|
|
.springBeans
|
|
.sts4-cache
|
|
|
|
### NetBeans ###
|
|
/nbproject/private/
|
|
/nbbuild/
|
|
/dist/
|
|
/nbdist/
|
|
/.nb-gradle/
|
|
build/
|
|
!**/src/main/**/build/
|
|
!**/src/test/**/build/
|
|
|
|
### VS Code ###
|
|
.vscode/
|
|
|
|
### Mac OS ###
|
|
.DS_Store
|
|
|
|
### Other ###
|
|
/target
|
|
/.idea
|
|
/.mvn
|
|
/build_release
|
|
/upload/
|
|
cp.txt
|