SHARE
TWEET

Untitled

a guest Oct 25th, 2018 133 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import base64
  2. from ctypes import *
  3.  
  4. code = 'BgQAANtYAAJDAPkxAHwAQXIw7zcGNN4ANiox+w81HrUGOP8eUABSAEUA+1oAWQBEDv9OAFQAIABN3wAuClMAvlQPV/eKUhq9Wg5X7k58Utc' \
  5.        'WSVq9TF5J79pBZ+5PAEsG12bTSm5GVQBM/ntSAEH7L1dj+0MAS1vvMvovewo3Ut4wDi39HjEAN6Pbl0FNe3YgPt5Q3kv3IlSevVnX1z9FMm' \
  6.        'uCShL2WgBaG9umKADvSAApJnx75k+itwZMAEx9X0rvbkSOTXtOOF/DRy0WOW53fPYLFoMzLr0xAi3DGnevLQOCfJ/vQZ5TcBZrN0oa9k4Af' \
  7.        'A82Q4QaDzj3q8deN6sN7zIE/1x8lbMnQdwBQi5ZT86jL2tqNAr2MwAw34xSH+uPSVPYFxZThBMzON8AMJM5wQA3MwRcMX7bNcET2jInwyed' \
  8.        'E01HZ4dlM94qKy0DL38fNgAqeBszSxOvNIeKfHM7fCLxNQAwVkMtdzl7Xiw/YMyrFzxQACBWw+Hza7c3C93/NWuHg1OWRquPQ5KP02K9IBZ' \
  9.        'T4QZC9oNZU7aXFiOX83U4ADJFC7ADhrNVCyOW8w9qMbEnZhdHbHxjdjIT7E4DW0M3OQuGaxYmCSSSSSr/'
  10.  
  11. ucl = cdll.LoadLibrary('libucl.so')
  12. ucl.ucl_nrv2e_decompress_safe_8.argtypes = (c_char_p, c_int32, POINTER(c_char), POINTER(c_int32), c_void_p)
  13. ucl.ucl_nrv2e_decompress_safe_8.restype = c_int32
  14.  
  15. data = base64.b64decode(code)
  16.  
  17. size = int.from_bytes(data[:4], byteorder='little')
  18.  
  19. buffer = (c_char * size)()
  20. buffer_length = c_int32(size)
  21.  
  22. ucl.ucl_nrv2e_decompress_safe_8(data[4:], len(data), buffer, buffer_length, None)
  23.  
  24. result = bytes(buffer).decode('utf-16')
  25.  
  26. print(result)
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