Specific amount of letters/digits
#6
Also here should be a python combinations for all 66 combinations of masks

from itertools import combinations

# Define characters
letter = '?l'
digit = '?1'

# Number of positions (12 total)
positions = range(12)

# Find all ways to place two "1"s in 12 positions
combinations_list = list(combinations(positions, 2))

# Generate masks
masks = []
for digit_positions in combinations_list:
mask = [letter] * 12 # Start with all letters
mask[digit_positions[0]] = digit # Place first digit
mask[digit_positions[1]] = digit # Place second digit
masks.append(''.join(mask)) # Store mask as string

# Print all 66 masks
for m in masks:
print(m)

# Save to a file
with open("hashcat_masks.txt", "w") as file:
file.write("\n".join(masks))

print("\nGenerated all 66 masks and saved to 'hashcat_masks.txt'!")
Reply


Messages In This Thread
Specific amount of letters/digits - by Onyx - 05-10-2025, 04:16 PM
RE: Specific amount of letters/digits - by Snoopy - 05-12-2025, 06:09 PM
RE: Specific amount of letters/digits - by nadir - 05-13-2025, 10:54 AM
RE: Specific amount of letters/digits - by Snoopy - 05-14-2025, 02:11 PM
RE: Specific amount of letters/digits - by TheBogeyman - 05-18-2025, 03:25 PM