need batch stop after pass found hccapx - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Support (https://hashcat.net/forum/forum-3.html) +--- Forum: hashcat (https://hashcat.net/forum/forum-45.html) +--- Thread: need batch stop after pass found hccapx (/thread-8910.html) Pages:
1
2
|
need batch stop after pass found hccapx - msalman - 01-23-2020 hello i need command which will stop close batch after pass is found in hccapx file currently i am using this command in batch when pass is found in passlist1 it still going on and on looking in next word lists --remove not work with hccapx file thx 64 -m 2500 -t 25 -o cracked.txt 1.hccapx pass/passlist1.txt 64 -m 2500 -t 25 -o cracked.txt 1.hccapx pass/passlist2.txt 64 -m 2500 -t 25 -o cracked.txt 1.hccapx pass/passlist3.txt RE: need batch stop after pass found hccapx - WPA_Catcher - 01-23-2020 I am no expert but I think something like this might work 64 -m 2500 -t 25 -o cracked.txt 1.hccapx pass/passlist1.txt IF EXIST "cracked.txt" EXIT 64 -m 2500 -t 25 -o cracked.txt 1.hccapx pass/passlist2.txt IF EXIST "cracked.txt" EXIT 64 -m 2500 -t 25 -o cracked.txt 1.hccapx pass/passlist3.txt RE: need batch stop after pass found hccapx - slyexe - 01-25-2020 It'll keep looking if you have more than one digest. Remove the other digest and you'll have no more issues. Example of a multicap file with 6 hashes: Session..........: hashcat Status...........: Running Hash.Type........: WPA-EAPOL-PBKDF2 Hash.Target......: capture.hccapx Time.Started.....: Fri Jan 24 16:59:58 2020 (2 secs) Time.Estimated...: Fri Jan 24 17:01:43 2020 (1 min, 43 secs) Guess.Mask.......: 306?d?d?d?d?d?d?d [10] Guess.Queue......: 1/1 (100.00%) Speed.#1.........: 289.1 kH/s (415.00ms) @ Accel:512 Loops:256 Thr:256 Vec:1 Recovered........: 3/6 (50.00%) Digests, 3/6 (50.00%) Salts Progress.........: 0/60000000 (0.00%) Rejected.........: 0/0 (0.00%) Restore.Point....: 0/10000000 (0.00%) Restore.Sub.#1...: Salt:0 Amplifier:0-1 Iteration:768-1024 Candidates.#1....: 3066199999 -> 3064305378 Hardware.Mon.#1..: Temp: 40c Fan: 25% Util:100% Core:2062MHz Mem:4104MHz Bus:16 [s]tatus [p]ause [b ]ypass [c]heckpoint [q]uit => For my example when I start this attack it states: INFO: Removed 3 hashes found in potfile. If it had found all 6 hashes in the first attack it will not continue with the following attacks and halt. RE: need batch stop after pass found hccapx - msalman - 01-26-2020 i dont have multicap just 1 network RE: need batch stop after pass found hccapx - slyexe - 01-26-2020 (01-26-2020, 05:08 PM)msalman Wrote: i dont have multicap just 1 networkIf thats the case, then after the password is found hashcat will stop. RE: need batch stop after pass found hccapx - msalman - 01-27-2020 it wont stop i have test multiple times it will go to next wordlist RE: need batch stop after pass found hccapx - ZerBea - 01-27-2020 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 We never reach wordlist3.txt, because the PSK was recovered during second task. RE: need batch stop after pass found hccapx - msalman - 01-27-2020 1 = exhausted RE: need batch stop after pass found hccapx - slyexe - 01-28-2020 (01-27-2020, 09:10 PM)msalman Wrote: 1 = exhaustedIf it's running into exhausted then the password hasn't been found and it'll keep going thru your batch. Once it reaches cracked it'll stop as I previously mentioned. RE: need batch stop after pass found hccapx - msalman - 01-28-2020 the pass is in my first wordlist 11223344 |