Examples/Vulnerable_UnrestrictedPosixPermission_2.ps1
|
function Set-UnsafePosix2 { param($path) Set-ItemProperty -Path $path -Name Mode -Value [System.IO.UnixFileMode]::AllPermissions } |
|
function Set-UnsafePosix2 { param($path) Set-ItemProperty -Path $path -Name Mode -Value [System.IO.UnixFileMode]::AllPermissions } |