08-03-2023, 09:22 PM
(08-02-2023, 11:21 PM)royce Wrote: To be fair, there's not a lot on the wiki to answer this specific question.
Some folks would probably either one-time filter the wordlist on the fly with `grep` or similar, or else grep it once and save the results, depending on the size of the wordlist.
You can also use `-j` with a rules file that contains `_8` ("_" is a "reject" rule, but only works with `-j` / `-k`).
https://hashcat.net/wiki/doku.php?id=rul...ect_plains
I've updated the command, as it was choosing 8 characters, but it was also choosing 9 and up characters as well, so the modified command is below, just in case someone else is trying to do something similar you can pass it on.
Get-Content D:\Wordlist\all_in_one_p | Where-Object { $_.Length -eq 8 } > 8_letter_words.txt
(ruining under windows Power Shell will only choose 8 characters, just change D:\Wordlist\all_in_one_p where your wordlist is currently and the words.txt output will be under C:\Users\your pc name here\ )