May 7, 2021

Generating wordlists based on a regex

Home Forums Generating wordlists based on a regex

This topic contains 1 reply, has 2 voices, and was last updated by  sitaramc 10 months ago.

  • Author
  • #281138


    Is there a tool for generating a wordlist that has words that fit a certain regex? For example can you make crunch do this? Obviously doing a complete bruteforce based on a charset and filtering by a regex isn’t efficient enough.

  • #281139


    Depends on the regex I guess. If your regex is a.*b then unlikely 🙂

    But if it’s a[aeiou][a-z]b and so on — i.e., it’s character by character — then hashcat-utils may have some tool in it to do that; take a look at [](

  • #281140


    If you’re looking to find words that make sense and that fit a regex you can use use the Oxford dictionary for your words and easily brute force the 270,000 words they have.

You must be logged in to reply to this topic.