Can't crack a hash w/ known password
#2
Both hash lines are valid and the PSK is recoverable.

First hash line via JtR (for this example CPU only):
Code:
$ echo '$pkzip2$1*1*2*0*19*8*a01dfd5e*0*28*8*19*a01d*8083*a1cf67df049e9ac22c813770b084a6218cfc6595ba061e1d50*$/pkzip2$' > pkzip.john $ echo 12PLANTA > wordlist $ john -w:wordlist pkzip.john Using default input encoding: UTF-8 Loaded 1 password hash (PKZIP [32/64]) Will run 16 OpenMP threads Note: Passwords longer than 21 [worst case UTF-8] to 63 [ASCII] rejected Press 'q' or Ctrl-C to abort, 'h' for help, almost any other key for status Warning: Only 1 candidate buffered, minimum 16 needed for performance. 12PLANTA (?) 1g 0:00:00:00 DONE (2024-07-14 07:13) 33.33g/s 33.33p/s 33.33c/s 33.33C/s 12PLANTA Use the "--show" option to display all of the cracked passwords reliably Session completed.

Second hash line via hashcat:
Code:
$ hashcat -m 17200 '*$pkzip$1*1*2*0*19*8*a01dfd5e*0*28*8*19*a01d*a1cf67df049e9ac22c813770b084a6218cfc6595ba061e1d50*$/pkzip$*' -a 3 12PLANTA hashcat (v6.2.6-848-gc1a10518f) starting ... $pkzip$1*1*2*0*19*8*a01dfd5e*0*28*8*19*a01d*a1cf67df049e9ac22c813770b084a6218cfc6595ba061e1d50*$/pkzip$:12PLANTA Session..........: hashcat Status...........: Cracked Hash.Mode........: 17200 (PKZIP (Compressed)) Hash.Target......: $pkzip$1*1*2*0*19*8*a01dfd5e*0*28*8*19*a01d*a1cf67d...pkzip$ Time.Started.....: Sun Jul 14 07:08:56 2024 (0 secs) Time.Estimated...: Sun Jul 14 07:08:56 2024 (0 secs) Kernel.Feature...: Pure Kernel Guess.Mask.......: 12PLANTA [8] Guess.Queue......: 1/1 (100.00%) Speed.#1.........: 1478 H/s (0.02ms) @ Accel:1024 Loops:1 Thr:32 Vec:1 Recovered........: 1/1 (100.00%) Digests (total), 1/1 (100.00%) Digests (new) Progress.........: 1/1 (100.00%) Rejected.........: 0/1 (0.00%) Restore.Point....: 0/1 (0.00%) Restore.Sub.#1...: Salt:0 Amplifier:0-1 Iteration:0-1 Candidate.Engine.: Device Generator Candidates.#1....: 12PLANTA -> 12PLANTA Hardware.Mon.#1..: Temp: 27c Fan: 0% Util: 0% Core:2505MHz Mem:11201MHz Bus:16 Started: Sun Jul 14 07:08:31 2024 Stopped: Sun Jul 14 07:08:57 2024

Compare your command line with mine an you see the difference.
Reply


Messages In This Thread
Can't crack a hash w/ known password - by Dalvi - 07-13-2024, 10:43 AM
RE: Can't crack a hash w/ known password - by ZerBea - 07-14-2024, 07:16 AM