SHARE
TWEET

Untitled

finalshare May 21st, 2018 21 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from base64 import *
  2. q = 'c3d1e93cf8dd06844c8d35b9b306cf987f26b6a1199dfa7e5842a9d665ceb96414d70ba2f7b7e0877fa08abcf9e4ae06'
  3. c = b64decode('pzzOe4PEbspjpi+Kmvk5M2K5Rw==')
  4.  
  5. m = ''
  6.  
  7. p = []
  8.  
  9. for i in range(256):
  10.         p.append(i)
  11.  
  12.  
  13. g = 0
  14. for n in range(256):
  15.         h = p[n]
  16.         g = (g + h + ord(q[n%len(q)])) % 256
  17.         p[n] = p[g]
  18.         p[g] = h
  19.  
  20.  
  21. g = 0
  22. for f in range(0,len(c),1):
  23.         n = f % 256
  24.         h = p[n]
  25.         g = (g + h) % 256
  26.         d = p[n] = p[g]
  27.         p[g] = h
  28.  
  29.         num = ord(c[f])
  30.         m += chr(num ^ p[(d+h) % 256])
  31.  
  32. print m
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top