Examples/Vulnerable_PathTraversal_1.ps1

function Test-EngineSchema {
    param(
        [object]$Engine,
        [string]$PathInput
    )

    if($null -ne $PathInput)
    {
        $json = [System.IO.File]::ReadAllText($PathInput)
        $schema = $json | ConvertFrom-Json
        return $schema
    }
}