kali 使用John破解zip壓縮包的密碼


kali  使用John破解zip壓縮包的密碼

准備工具:

  1. zip壓縮包帶密碼   1個
  2. kali Linux機器       1個

操作步驟:

  1. 首先將壓縮包上傳至kali機器,然后使用zip2john命令爆出hash文件
[root@kali-hsun test]# zip2john license.zip >> passwd.txt
license.zip/license/ is not encrypted!
ver 1.0 license.zip/license/ is not encrypted, or stored with non-handled compression type
ver 2.0 efh 9901 license.zip/license/license.dat PKZIP Encr: cmplen=630, decmplen=2810, crc=5ED111EF
ver 2.0 efh 9901 efh 7075 license.zip/license/licenseʺ³ɵٖ·.txt PKZIP Encr: 2b chk, TS_chk, cmplen=79, decmplen=53, crc=A6269FCE
NOTE: It is assumed that all files in each archive have the same password.
If that is not the case, the hash may be uncrackable. To avoid this, use
option -o to pick a file at a time.

  2.然后使用john命令,計算hash文件

[root@kali-hsun test]# john passwd.txt 
Warning: invalid UTF-8 seen reading passwd.txt
Using default input encoding: UTF-8
Loaded 1 password hash (ZIP, WinZip [PBKDF2-SHA1 128/128 SSE2 4x])
Will run 6 OpenMP threads
Proceeding with single, rules:Wordlist
Press 'q' or Ctrl-C to abort, almost any other key for status
Almost done: Processing the remaining buffered candidate passwords, if any
Warning: Only 14 candidates buffered for the current salt, minimum 24
needed for performance.
Proceeding with wordlist:/usr/share/john/password.lst, rules:Wordlist
123321           (license.zip/license/license.dat)
1g 0:00:00:01 DONE 2/3 (2019-08-13 09:57) 0.5780g/s 16544p/s 16544c/s 16544C/s 123456..Open
Use the "--show" option to display all of the cracked passwords reliably
Session completed

注意,該行前邊的內容即為壓縮包的密碼

本文來自吾愛破解論壇

https://www.52pojie.cn/thread-984024-1-1.html
https://www.bilibili.com/video/av57617949/

 


免責聲明!

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



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