need batch stop after pass found hccapx
#7
Does it work with the example hash from here if the PSK is in passlist1.txt?
https://hashcat.net/misc/example_hashes/hashcat.hccapx

64 -m 2500 -t 25 --remove -o cracked.txt 1.hccapx pass/passlist1.txt
Is the hash removed?

How is your handshake converted (tool?) from the original cap file? Does it need nonce-error-corrections?

Did you read docs/status_codes.txt?

status codes on exit:
-2 = gpu-watchdog alarm
-1 = error
0 = OK/cracked
1 = exhausted
2 = aborted
3 = aborted by checkpoint
4 = aborted by runtime

Does your script evaluate them?

It should look like this:

Code:
ls -All
-rw-r--r-- 1 zerobeat users 393 27. Jan 17:31 hashcat.hccapx
-rw-r--r-- 1 zerobeat users  36 27. Jan 17:33 wordlist1.txt
-rw-r--r-- 1 zerobeat users  49 27. Jan 17:33 wordlist2.txt
-rw-r--r-- 1 zerobeat users  41 27. Jan 17:34 wordlist3.txt


$ hashcat --remove -m 2500 hashcat.hccapx *.txt
hashcat (v5.1.0-1628-g424a6ee8) starting...

Session..........: hashcat                     
Status...........: Exhausted
Hash.Name........: WPA-EAPOL-PBKDF2
Hash.Target......: 8381533406003807685881523 (AP:ae:f5:0f:22:80:1c STA:98:7b:dc:f9:f9:50)
Time.Started.....: Mon Jan 27 17:35:40 2020 (0 secs)
Time.Estimated...: Mon Jan 27 17:35:40 2020 (0 secs)
Guess.Base.......: File (wordlist1.txt)
Guess.Queue......: 1/3 (33.33%)
Speed.#1.........:      136 H/s (0.44ms) @ Accel:8 Loops:64 Thr:1024 Vec:1
Recovered........: 0/1 (0.00%) Digests
Progress.........: 4/4 (100.00%)
Rejected.........: 0/4 (0.00%)
Restore.Point....: 4/4 (100.00%)
Restore.Sub.#1...: Salt:0 Amplifier:0-1 Iteration:0-1
Candidates.#1....: 1qayxsw2 -> 7ujm,ki8
Hardware.Mon.#1..: Temp: 53c Fan: 40% Util: 41% Core:1544MHz Mem:5005MHz Bus:16


aef50f22801c:987bdcf9f950:8381533406003807685881523:hashcat!
                                               
Session..........: hashcat
Status...........: Cracked
Hash.Name........: WPA-EAPOL-PBKDF2
Hash.Target......: 8381533406003807685881523 (AP:ae:f5:0f:22:80:1c STA:98:7b:dc:f9:f9:50)
Time.Started.....: Mon Jan 27 17:35:40 2020 (1 sec)
Time.Estimated...: Mon Jan 27 17:35:41 2020 (0 secs)
Guess.Base.......: File (wordlist2.txt)
Guess.Queue......: 2/3 (66.67%)
Speed.#1.........:      187 H/s (0.39ms) @ Accel:8 Loops:64 Thr:1024 Vec:1
Recovered........: 1/1 (100.00%) Digests
Progress.........: 5/5 (100.00%)
Rejected.........: 0/5 (0.00%)
Restore.Point....: 0/5 (0.00%)
Restore.Sub.#1...: Salt:0 Amplifier:0-1 Iteration:0-1
Candidates.#1....: 123456789 -> 123456789
Hardware.Mon.#1..: Temp: 54c Fan: 40% Util: 62% Core:1708MHz Mem:5005MHz Bus:16

Started: Mon Jan 27 17:35:27 2020
Stopped: Mon Jan 27 17:35:42 2020

$ ls -All
-rw------- 1 zerobeat users  0 27. Jan 17:35  hashcat.hccapx
-rw-r--r-- 1 zerobeat users  36 27. Jan 17:33  wordlist1.txt
-rw-r--r-- 1 zerobeat users  49 27. Jan 17:33  wordlist2.txt
-rw-r--r-- 1 zerobeat users  41 27. Jan 17:34  wordlist3.txt

We never reach wordlist3.txt, because the PSK was recovered during second task.
Reply


Messages In This Thread
RE: need batch stop after pass found hccapx - by ZerBea - 01-27-2020, 06:05 PM