快速破解rar解壓密碼


目前作為rar只有一種破解的方式,就是嘗試進行暴力破解,使用軟件不同密碼嘗試破解rar文件。

 

1、Accent RAR Password Recovery

一款十分優秀的解壓縮工具,界面簡潔美觀,功能強勁實用,能夠對Windows系統中壓縮包進行強行解壓,操作起來簡單便捷。

下載地址:http://downza.51speed.top/2019/06/14/AccentRARPasswordRecovery.rar

 

 

 

2、rar文件在線破解

網址:https://www.catpasswd.com/

 

 

 

3、利用 Python 破解文件密碼

簡單的python代碼:

 

#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os,sys
from unrar import rarfile


def rar_cracking(filename):

    fp = rarfile.RarFile('test.rar')
    fpPwd = open('pwd.txt')
    for pwd in fpPwd:
        pwd = pwd.rstrip()
        try:
            fp.extractall(path='test', pwd=pwd.encode())
            print('[+] Find the password: '+pwd)
            fp.close()
            break
        except:
            pass
    fpPwd.close()
    
if __name__=='__main__':
    filename = sys.argv[1]
    if os.path.isfile(filename) and filename.endswith('.rar'):
        rar_cracking(filename)
    else:
        print('Not a rar file')

 

 

 

 

 

 

參考鏈接:

使用Python解壓zip、rar文件

https://www.cnblogs.com/zhuminghui/p/11699313.html


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM