Hashcat Mask Generator via given data
Welcome to the Password Mask Generator project! This Java project aims to generate password masks from a list of passwords. It parses characters from passwords, categorizes them into upper case, lower case, numbers, and special characters, and generates masks using hashcat format. The generated masks are then saved to a file.
The project consists of several Java classes:
-
AppendFile: Provides a utility to append content to a file. Used to save generated masks to a file.
-
CharacterParse: Parses characters from input passwords and categorizes them into upper case, lower case, numbers, and special characters. Creates order units for each password and builds a mask structure.
-
FileReader: Reads passwords from a file and returns them as a list.
-
HashcatMaskGenerator: Generates hashcat masks using the categorized character sets and order units.
-
Main: The main entry point of the program. Reads passwords, parses characters, generates masks, and saves them to a file.
- Create a file named
pass.txt
in thedata
directory and populate it with passwords (one password per line). - Run the
Main
class to generate masks based on the passwords in thepass.txt
file. - The generated masks will be saved to the
generatedMask.hcmask
file in the project directory.