hashcat Forum
Multiple output-files for every dictionary - 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: Multiple output-files for every dictionary (/thread-6165.html)



Multiple output-files for every dictionary - matt99 - 12-28-2016

So i use this command to check all my dictionaries (allĀ  with the file extension .txt) against one hashlist and to get after that a textfile with the cracked hashes + plaintext-passwords:


Code:
hashcat -m 0 -a 0 -o crackedpasswords.txt hashlist.txt ./dictionaries/*.txt

This works fine. But i want an output like this: For every dicitonary, i get one output. For example: I use 3 dictionarys (a, b and c). After the calculation i get 3 output-files: cracked_a.txt, cracked_b.txt, cracked_c.txt.
With that command, i only get 'one big list' of cracked passwords.

Also, i'm looking for the pot.file. It should be in my hashcat binaries, but i cant find it there (i use The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) linux with pre-installed hashcat v 3.10).


RE: Multiple output-files for every dictionary - epixoip - 12-28-2016

for w in dictionaries/*.txt; do hashcat --potfile-path "${w/\.txt/.pot}" hashlist.txt "$w"; done

Potfile will probably be in ~/.hashcat on The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali)


RE: Multiple output-files for every dictionary - matt99 - 01-06-2017

Thanks for this. Works perfect. Also found the potfile.