0

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?

pemby
  • 101
  • 1

2 Answers2

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

crunch manual

ThoriumBR
  • 50,648
  • 13
  • 127
  • 142
mohammad
  • 11
  • 2
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.

Royce Williams
  • 9,128
  • 1
  • 31
  • 55