Skip to content

Instantly share code, notes, and snippets.

@lotharschulz
Last active September 22, 2024 08:28
Show Gist options
  • Save lotharschulz/9e999c2a9e4e72f35744f17bbfdb8b6e to your computer and use it in GitHub Desktop.
Save lotharschulz/9e999c2a9e4e72f35744f17bbfdb8b6e to your computer and use it in GitHub Desktop.
My favourite apg command
apg -m 6 -x 20 -a0 -M NCLS -l -t -n 15
# -m [min_length]
# -x [max_length]
# -a0 [Random password generation with all characters]
# -M NCLS: Use specific character sets:
# - N: Include numeric digits (0-9).
# - C: Include uppercase alphabetic characters (A-Z).
# - L: Include lowercase alphabetic characters (a-z).
# - S: Special characters (!@#$%^&*() and others).
# -l spell generated password
# -t print pronunciation for generated pronounceable password
# -n generate num_of_pass passwords
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment