brute-force-generator
v1.0.11
Published
🔨 Build a dictionary by permuting passed letters (using ES2015+)
Downloads
171
Maintainers
Readme
brute-force-generator
🔨 Build a dictionary by permuting passed letters (using ES2015+)
Usage
const generate = require('brute-force-generator');
const gen = generate(['a', 'b'], 2);
for (let record of gen) {
console.log(record); // 'a', 'b', 'aa', 'ab', 'ba', 'bb'
}
CLI
Installation:
npm install -g brute-force-generator
Help:
brute-force-generator --help
Usage: brute-force-generator -a [string] -l [num]
Options:
--help Show help [boolean]
--version Show version number [boolean]
-a, --alphabet [required]
-l, --length [required]
Usage:
# Lowercase latin alphabet — abcdefghijklmnopqrstuvwxyz
brute-force-generator -a abcdefghijklmnopqrstuvwxyz -l 5 > latin-5.dic
# Generate infinity wordlist (may take some time 😈)
brute-force-generator -a abcdefghijklmnopqrstuvwxyz -l Infinity
Related
License
The MIT License @ 2019