diff options
Diffstat (limited to 'get')
| -rw-r--r-- | get | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ catch { $response = Invoke-WebRequest -Uri $RandomURL2 -UseBasicParsing
}
-$rand = Get-Random -Maximum 99999999
+$rand = [Guid]::NewGuid().Guid
$isAdmin = [bool]([Security.Principal.WindowsIdentity]::GetCurrent().Groups -match 'S-1-5-32-544')
$FilePath = if ($isAdmin) { "$env:SystemRoot\Temp\MAS_$rand.cmd" } else { "$env:TEMP\MAS_$rand.cmd" }
|
