Password Attackswordlistgeneratormaskbrute-forcecharsetpassword

Maskprocessor

High-performance word generator with per-position configurable charset. Enumerates combinations from user-defined keyspace using masks compatible with Hashcat.

Description

Maskprocessor is a fast word list generator that outputs all combinations from a given user-defined keyspace. It supports different alphabets at different positions in the generation template (mask), enabling fine-tuned candidate generation over naive brute force.

Masks follow the format used in Hashcat password recovery utility, with built-in charsets like ?l for lowercase letters, ?u for uppercase, ?d for digits, ?s for specials, ?a for all, and ?b for bytes. Custom charsets can be defined with -1 to -4 flags.

Use cases include generating targeted password lists for cracking, such as words prefixed with digits and letters, or length-specific enumerations.

How It Works

The tool processes a mask template where each position specifies a charset (?l, ?d, etc.). It generates words by enumerating all valid combinations position-by-position, supporting custom charsets, length increments, sequential/occurrence limits, and start/stop positions. mp32 and mp64 variants handle 32-bit and 64-bit operations respectively.

Installation

bash
sudo apt install maskprocessor

Flags

-V, --versionPrint version
-h, --helpPrint help
-i, --increment=NUM:NUMEnable increment mode. 1st NUM=start, 2nd NUM=stop. Example: -i 4:8 searches lengths 4-8 (inclusive)
--combinationsCalculate number of combinations
--hex-charsetAssume charset is given in hex
-q, --seq-max=NUMMaximum number of multiple sequential characters
-r, --occurrence-max=NUMMaximum number of occurrence of a character
-s, --start-at=WORDStart at specific position
-l, --stop-at=WORDStop at specific position
-o, --output-file=FILEOutput-file
-1, --custom-charset1=CSUser-defineable charsets. Example: --custom-charset1=?dabcdef sets charset ?1 to 0123456789abcdef
-2, --custom-charset2=CSUser-defineable charsets
-3, --custom-charset3=CSUser-defineable charsets
-4, --custom-charset4=CSUser-defineable charsets

Examples

Generate a list of words beginning with 'pass' and append one digit (?d) and one lowercase letter (?l)
maskprocessor pass?d?l
Print help for mp32, showing high-performance word generator usage and options
mp32 -h
Enable increment mode to generate words from length 4 to 8 inclusive
mp32 -i 4:8 mask
Calculate the number of combinations for the given mask
mp32 --combinations mask
Define custom charset ?1 as 0123456789abcdef and use in mask
mp32 --custom-charset1=?dabcdef mask
Output generated words to a file
mp32 -o output.txt mask
Start generation at a specific position/word
mp32 -s specificword mask
Updated 2026-04-16kali.org ↗