Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a ronin wordlist-gen command #187

Open
postmodern opened this issue Jan 9, 2024 · 1 comment
Open

Add a ronin wordlist-gen command #187

postmodern opened this issue Jan 9, 2024 · 1 comment
Labels
command Ronin Command feature New Feature idea Random idea

Comments

@postmodern
Copy link
Member

postmodern commented Jan 9, 2024

Add a ronin wordlist-gen command that generates a new wordlist based on a password template. the password template syntax should be regex-like (ex: [:alpha:]{5,10}[:numeric:]{4}). It should also support embedding other wordlists into the password template (ex: ...#{wordlist.txt}... or ...[@wordlist.txt]...?).

The ronin wordlist-gen command should use the wordlist and chars libraries to combine multiple Wordlists and Chars::CharSet#each_string_of_length enumerators together:

Wordlist.open('wordlist.txt') * Wordlist::Words.new(Chars::NUMERIC.each_string_of_length(4))

We would also need to define our own parser code to parse the password template and generate the combined Wordlist expression.

@postmodern postmodern added feature New Feature command Ronin Command labels Jan 9, 2024
@postmodern postmodern added the idea Random idea label Nov 23, 2024
@postmodern
Copy link
Member Author

postmodern commented Nov 24, 2024

We might want to also add another separate command called ronin char-gen that only generates all Strings of a given length from a character set (see Chars::CharSet#strings_of_length).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command Ronin Command feature New Feature idea Random idea
Projects
None yet
Development

No branches or pull requests

1 participant