Update link in get

This commit is contained in:
WindowsAddict 2024-11-11 14:32:56 +05:30
parent 72ca520b16
commit 37d99132ac

8
get
View File

@ -5,9 +5,9 @@ $ErrorActionPreference = "Stop"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$URLs = @( $URLs = @(
'https://raw.githubusercontent.com/massgravel/Microsoft-Activation-Scripts/ec259dfbd785bb2f6b6cc78d17b5fb62a9125d9a/MAS/All-In-One-Version-KL/MAS_AIO.cmd', 'https://raw.githubusercontent.com/massgravel/Microsoft-Activation-Scripts/f1ddb83df092478741344fc55351a65cf6eeafd8/MAS/All-In-One-Version-KL/MAS_AIO.cmd',
'https://dev.azure.com/massgrave/Microsoft-Activation-Scripts/_apis/git/repositories/Microsoft-Activation-Scripts/items?path=/MAS/All-In-One-Version-KL/MAS_AIO.cmd&versionType=Commit&version=ec259dfbd785bb2f6b6cc78d17b5fb62a9125d9a', 'https://dev.azure.com/massgrave/Microsoft-Activation-Scripts/_apis/git/repositories/Microsoft-Activation-Scripts/items?path=/MAS/All-In-One-Version-KL/MAS_AIO.cmd&versionType=Commit&version=f1ddb83df092478741344fc55351a65cf6eeafd8',
'https://git.activated.win/massgrave/Microsoft-Activation-Scripts/raw/commit/ec259dfbd785bb2f6b6cc78d17b5fb62a9125d9a/MAS/All-In-One-Version-KL/MAS_AIO.cmd' 'https://git.activated.win/massgrave/Microsoft-Activation-Scripts/raw/commit/f1ddb83df092478741344fc55351a65cf6eeafd8/MAS/All-In-One-Version-KL/MAS_AIO.cmd'
) )
foreach ($URL in $URLs | Sort-Object { Get-Random }) { foreach ($URL in $URLs | Sort-Object { Get-Random }) {
@ -26,7 +26,7 @@ if ($null -eq $response) {
} }
# Verify script integrity # Verify script integrity
$releaseHash = '1393B9FEBA5A29B598C72BD008546D58BD0D3DB342FB267E3FE075EB241EEDEE' $releaseHash = '2A0A5F9675BA93D11DF5EB531810F8097D1C13CE3A723FC2235A85127E86E172'
$stream = New-Object IO.MemoryStream $stream = New-Object IO.MemoryStream
$writer = New-Object IO.StreamWriter $stream $writer = New-Object IO.StreamWriter $stream
$writer.Write($response) $writer.Write($response)