Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add parameter to exlcude characters #6

Merged
merged 3 commits into from
Feb 3, 2024
Merged

Conversation

rhymeswithmogul
Copy link
Owner

Closing #4

GitHub user wwc-trevor had a great idea.  What if I could add a feature
that would exclude certain characters from being used in passwords?
Well, since I had the day off from work, I did!

This adds a new parameter, -ExcludeCharacters (alias: -Exclude), that
accepts a string.  Any characters in the string will not be used in any
randomly-generated passwords.

Due to technical limitations with how the wordlist mode works, excluded
characters may still be present in word-based passwords, but will not
be used for separators.  This may be fixed in a future release.
This commit adds some additional clarifications to all help files
to remind users that the value specified to -ExcludeCharacters will
be parsed for special characters.   This is an intrinsic feature of
PowerShell and cannot be changed, but enclosing the string in single
quotes will prevent it from being parsed.
@rhymeswithmogul rhymeswithmogul linked an issue Feb 3, 2024 that may be closed by this pull request
@rhymeswithmogul rhymeswithmogul self-assigned this Feb 3, 2024
@rhymeswithmogul rhymeswithmogul added this to the v3.1.0 milestone Feb 3, 2024
@rhymeswithmogul rhymeswithmogul added the enhancement New feature or request label Feb 3, 2024
I should have done this when closing issue #4, but I didn't.
Oh well.
@rhymeswithmogul rhymeswithmogul merged commit d433e64 into main Feb 3, 2024
1 check was pending
@rhymeswithmogul rhymeswithmogul deleted the exclude-characters branch February 3, 2024 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhancement Request - Add an Exclude Parameter
1 participant