Kali uses John to crack the password of the zip archive

Original link: https://wuzhuti.cn/use-zip2john-crack-zip-file

First upload the compressed package to the kali machine, and then use the zip2john command to explode the hash file

 # 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.

Then use the john command to calculate the hash file

 # 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

Note that the content in front of this line is the password of the compressed package

This article comes from My Love Cracking Forum

https://www.52pojie.cn/thread-984024-1-1.html

https://www.bilibili.com/video/av57617949/

The post kali used John to crack the password of the zip archive appeared first on No Theme Blog .

This article is transferred from: https://wuzhuti.cn/use-zip2john-crack-zip-file
This site is only for collection, and the copyright belongs to the original author.