hashcat Forum
Use rules only on selected dictionaries - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Misc (https://hashcat.net/forum/forum-15.html)
+--- Forum: General Talk (https://hashcat.net/forum/forum-33.html)
+--- Thread: Use rules only on selected dictionaries (/thread-6577.html)



Use rules only on selected dictionaries - xkwas - 05-18-2017

Here is the following scenario: There are multiple dictionaries (straight mode), but I want to apply rules.rule only to the last one (numbers.txt), therefore I save a lot of time and computing power.
Dictionaries:
D:\animals.txt
D:\names.txt
D:\words.txt
D:\numbers.txt <= Can rules.rule apply only to that dictionary?
Thanks Smile


RE: Use rules only on selected dictionaries - Xanadrel - 05-18-2017

Run hashcat twice.


RE: Use rules only on selected dictionaries - DDNK - 05-18-2017

Here's an idea, probably not the best.

Take Numbers.txt and perform --stdout using Rules.rule
Then use the new outputted dictionary instead of "Numbers.txt"

Here's how I personally perform the command,
Hashcat64.exe --stdout c:/Hashcat/wordlist.txt -r huge.rule > newdic.txt

For you it'd look something like this (I could be wrong).
Hashcat64.exe --stdout D:\numbers.txt -r Rules.rule > filenamehere.txt


RE: Use rules only on selected dictionaries - xkwas - 05-20-2017

hashcat ............ && hashcat ........
(Windows)
That's what I was thinking, but if there is a nicer solution - that would be awesome.


RE: Use rules only on selected dictionaries - atom - 05-21-2017

What's wrong with that solutions, it's pretty good use of hashcat. You can improve it by using | instead of > to not write the data to disc but to pipe it to the 2nd process.