当前位置:网站首页>Using go to crack rar compressed file with password
Using go to crack rar compressed file with password
2022-06-09 18:19:00 【Flying fat Da Miao】
It's just a demo
package main
import (
"fmt"
"github.com/mholt/archiver/v3"
)
func main() {
filename := "./file/ newly build DOC file .rar"
rar := archiver.Rar{
}
passwordMap := []string{
"11111","abcdef","123456"}
for k, v := range passwordMap {
rar.Password = v
err := rar.Unarchive(filename, "./file/demo02")
if err != nil {
fmt.Println(err)
continue
}
fmt.Printf("password:%v, To calculate the %v Time ",v,k)
}
}
//reading file in rar archive: rardecode: incorrect password
//reading file in rar archive: rardecode: incorrect password
//password:123456, To calculate the 2 Time map[one:1]
边栏推荐
- 外汇交易MT4是什么软件?MT4与MT5有何区别?下载MT4要注意什么?
- What is the expected life of the conductive slip ring
- logrotate
- KVM虚拟化基本原理
- 智充推出NET ZERO SERIES储能充一体机,携手比亚迪共创净零未来
- Moco -Momentum Contrast for Unsupervised Visual Representation Learning
- mysql版本驱动问题
- AI chief architect 3-aica-ai application practice in smart city
- MySQL并行复制(MTS)原理(完整版)
- Wake up from a dream
猜你喜欢
随机推荐
AI chief architect 3-aica-ai application practice in smart city
深度学习与CV教程(13) | 目标检测 (SSD,YOLO系列)
What are the main applications of conductive slip rings
php使用unlink删除文件提示无权限
Side B of the charging pile is Not only official account? And smart charging applet!
pytorch设置随机种子
crontab定时执行任务
Golang基础(2)
js中性能优化之函数节流
充电桩的B面是......不只公众号?还有智充小程序!
日常2琐事^_^
MySQL并行复制(MTS)原理(完整版)
进程控制--->进程终止
Analysis of C language [advanced] paid knowledge [II]
Application of die cutting products in different fields
混合云存储发展方向
Golang基础(4)
Redis basic and advanced
几经波折,InfluxDB的TSDB C位还能做多久?
What are the reasons for frequent channel drops in easycvr cascading easycvr?









