I have a home directory and a gpg file I am attempting to brute force. Is there a utility that you know that will recursively create wordlist from directives and file contents?
Asked
Active
Viewed 147 times
2 Answers
1
You can use crunch
for that:
-q filename.txt
Tells crunch to read filename.txt and permute what is read. This is like the -p option except it gets the input from file ‐name.txt
-
You don't even state what the switch/command is. – schroeder Nov 03 '20 at 15:32
-
For this command to work, you need to populate the file with the file contents. – schroeder Nov 03 '20 at 15:34
1
You're much better off using the major cracking tools' built-in ability to ingest entire directories. For hashcat, just use a directory name where you would use a filename. Add rules with -r.
Assuming that you have at least one supported GPU, this will be much more efficient than using Crunch because the rules are applied to the wordlists on GPU, which is much faster than applying the rules externally with Crunch and then piping the results to hashcat.
![](../../users/profiles/6203.webp)
Royce Williams
- 9,128
- 1
- 31
- 55