RSMangler
RSMangler is a wordlist mangling tool that takes input words and performs various manipulations, including generating all permutations and acronyms before applying additional mangles. It is similar to John the Ripper's mangling capabilities but with unique preprocessing steps.
Description
RSMangler processes wordlists to create expanded sets of potential passwords by applying multiple transformation rules. It first generates permutations and acronyms from the input words in the order they appear, then applies further mangles such as doubling, reversing, and length filtering. This tool is particularly useful for password cracking and security testing where standard wordlists need enhancement to cover common user password variations.
Use cases include preparing mutated wordlists for brute-force attacks or dictionary-based cracking against hashed passwords. By turning a small input list into hundreds or thousands of mangled variants, it increases the effectiveness of attacks without requiring massive base dictionaries.
The tool is lightweight, with an installed size of 24 KB, and depends on Ruby. It supports both file input and stdin, with output redirection to files, making it flexible for piping in Kali Linux workflows.
How It Works
RSMangler reads a wordlist from a file or stdin, then generates all permutations and the acronym of the words in their input order. It subsequently applies enabled mangling rules, such as doubling words, reversing them, and filtering by minimum and maximum lengths. All options are enabled by default; flags turn specific mangles off. Output is written to a specified file or stdout, producing a new wordlist with the transformed entries.
Installation
sudo apt install rsmanglerFlags
Examples
rsmangler --file wordlist.txtcat wordlist.txt | rsmanglerrsmangler --file wordlist.txt --output mangled.txtcat words.txt | rsmangler -m 6 -x 8 --file - > mangled.txtrsmangler -hrsmangler --file words.txt -m 6 -x 8 -o mangled.txtcat words.txt | rsmangler --perms --double > output.txt