mmcmd / Get-RandomPassword

Generates a random password using random common words (based on https://xkpasswd.net/s/)
4 stars 1 forks source link

Only the first password is randomly capitalized #3

Closed mmcmd closed 4 years ago

mmcmd commented 4 years ago

Get-RandomPassword.ps1 -count 20 BOTTOM-reforms-allows driver-brave-infant WYOMING-FRIDAY-REALITY where-wisdom-trained korea-patent-seems VENDOR-ACTUAL-UPDATED RHODE-CAREFUL-LEGEND DRAWINGS-HOCKEY-EXECUTED FREEDOM-FORCE-CEREMONY CHEESE-PRAISE-CHAPTERS french-recovery-canyon SAVING-DESKTOP-GENEVA MOTORS-LAKES-LOUISE REWARDS-GERALD-VICTORIA DELIGHT-CLOSED-BANKING puppy-serving-boost ideal-stuck-legend BESIDE-ACCURACY-MAGAZINE HOMELESS-REMOVE-GAMBLING reveals-blocking-tissue

mmcmd commented 4 years ago

To be specific, only the first password has each word randomly capitalized. The following passwords either are all capitalized or all lowercase

mmcmd commented 4 years ago

1f2c15e724c35debb382651de9d1db1fd0bd3402 fixed this

mmcmd commented 4 years ago

7dbb558e9c275a3726e030c2551a6f0f4dfeb12d removed the need to remove the variable on each iteration which makes the script a little cleaner