Examples/Vulnerable_HardcodedCredential_1.ps1
|
function Test-LoginBasic { param($userName, $pwdInput) if($userName -eq 'admin' -and $pwdInput -eq 'sRbHG$a%') { return $true } return $false } |
|
function Test-LoginBasic { param($userName, $pwdInput) if($userName -eq 'admin' -and $pwdInput -eq 'sRbHG$a%') { return $true } return $false } |