Remove potential escape char from charset

This commit is contained in:
ArescomML 2025-01-03 14:10:03 +01:00
parent e7d688f972
commit 7df974133a

View File

@ -26,7 +26,7 @@ function GenPass { #Genere un mdp aléatoire selon les parametres indiqués
U = [Char[]]'ABCDEFGHIJKLMNOPQRSTUVWXYZ' U = [Char[]]'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
L = [Char[]]'abcdefghijklmnopqrstuvwxyz' L = [Char[]]'abcdefghijklmnopqrstuvwxyz'
N = [Char[]]'0123456789' N = [Char[]]'0123456789'
S = [Char[]]'!"#$%&''()*+,-./:;<=>?@[\]^_`{|}~' S = [Char[]]'!"#$%&()*+,-.:;<=>?@[]^_`{}~'
} }
$Upper = Get-Random -Count 5 -InputObject $TokenSet.U $Upper = Get-Random -Count 5 -InputObject $TokenSet.U