代码拉取完成,页面将自动刷新
同步操作将从 chuanjiao10/kasini3000 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#建议保存编码为:bom头 + utf8
param
(
[Alias("Password_digits")][ValidateRange(6,18)][int]$单个密码位数 = 16
)
$小写字母 = "a","b","c","d","e","f","g","h","i","j","k","m","n","o","p","q","r","s","t","u","v","w","x","y","z"
#小写字母没有字母 l
$数字 = "2","3","4","5","6","7","8","9"
#没有0,1
$大写字母 = "A","B","C","D","E","F","G","H","J","L","M","N","P","Q","R","S","T","U","V","W","X","Y","Z"
#大写字母没有字母 I,O
$大小写加数字 = $大写字母 + $小写字母 + $数字
while ($true)
{
[System.Collections.ArrayList]$一个密码 = @()
while ($一个密码.Count -lt $单个密码位数)
{
$密码字母 = Get-Random -InputObject $大小写加数字
$null = $一个密码.Add($密码字母)
Start-Sleep -Milliseconds 37
}
$洗牌 = Get-Random -InputObject $一个密码 -Count $单个密码位数
$结果 = [string]::Concat($洗牌)
if ( ($结果 -match "[0-9]") -and ($结果 -match "[a-z]") -and ($结果 -match "[A-Z]") )
{
return $结果
}
}
exit 0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。