RSMangler – A Ruby-based wordlist generation tool that takes a small list of words and creates thousands of password variations using permutations, acronyms, number combinations, case changes, and more.
Installation
pkg update && pkg upgrade -y
Install Git and Ruby.
pkg install git ruby -y
Clone the RSMangler repository.
git clone https://github.com/digininja/RSMangler.git
Move into the RSMangler directory.
cd RSMangler
Display the help menu.
ruby rsmangler.rb –help
RSMangler is now installed and ready to use.
Usage Commands
RSMangler provides multiple options for generating password wordlists with different patterns and variations. Below are some useful commands that you can use to create and manage custom wordlists in Termux.
Create a file containing keywords for the wordlist.
nano wordlist.txt
Example content:
admin
password
company
john
Press (CTRL + C + Enter) to save the file.
Generate passwords from the input file.
ruby rsmangler.rb –file wordlist.txt
Use a wordlist through standard input.
cat wordlist.txt | ruby rsmangler.rb
Save generated passwords into a file.
ruby rsmangler.rb –file wordlist.txt –output mangled.txt
Set a maximum word length.
ruby rsmangler.rb –file wordlist.txt –max 12
Set a minimum word length.
ruby rsmangler.rb –file wordlist.txt –min 6
Generate all word permutations.
ruby rsmangler.rb –file wordlist.txt –perms
Double each word.
ruby rsmangler.rb –file wordlist.txt –double
Reverse words.
ruby rsmangler.rb –file wordlist.txt –reverse
Generate leetspeak variations.
ruby rsmangler.rb –file wordlist.txt –leet
Generate all possible leetspeak variations.
ruby rsmangler.rb –file wordlist.txt –full-leet
Capitalize words.
ruby rsmangler.rb –file wordlist.txt –capital
Convert words to uppercase.
ruby rsmangler.rb –file wordlist.txt –upper
Convert words to lowercase.
ruby rsmangler.rb –file wordlist.txt –lower
Swap letter cases.
ruby rsmangler.rb –file wordlist.txt –swap
Add “ed” to words.
ruby rsmangler.rb –file wordlist.txt –ed
Add “ing” to words.
ruby rsmangler.rb –file wordlist.txt –ing
Add common punctuation to words.
ruby rsmangler.rb –file wordlist.txt –punctuation
Add years to the beginning and end of words.
ruby rsmangler.rb –file wordlist.txt –years
Create acronyms from the supplied words.
ruby rsmangler.rb –file wordlist.txt –acronym
Add common words such as admin, sys, pw, and pwd.
ruby rsmangler.rb –file wordlist.txt –common
Add numbers 01 to 09 to the end of words.
ruby rsmangler.rb –file wordlist.txt –pna
Add numbers 01 to 09 to the beginning of words.
ruby rsmangler.rb –file wordlist.txt –pnb
Add numbers 1 to 123 to the end of words.
ruby rsmangler.rb –file wordlist.txt –na
Add numbers 1 to 123 to the beginning of words.
ruby rsmangler.rb –file wordlist.txt –nb
Allow duplicate entries in the output.
ruby rsmangler.rb –file wordlist.txt –allow-duplicates
Display the help menu.
ruby rsmangler.rb –helpChoose the command you want and RSMangler will automatically generate different password combinations based on the supplied keywords and options.
