Multiple output-files for every dictionary
#1
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).
#2
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)
#3
Thanks for this. Works perfect. Also found the potfile.