Guest User

0x17e1b0 decompress test

a guest
Oct 22nd, 2015
149
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import zlib     #Load zlib (we will need it)
  2.  
  3. inputfilename = '0x17e1b0.compressed'
  4. with open(inputfilename,'rb') as f:                 #Load input data
  5.     filedata = f.read()
  6.  
  7. decompressedfiledata = zlib.decompress(filedata)    #Decompress w/ zlib
  8. print(decompressedfiledata[-1000:])                 #Print last 1000 characters of decompressed data
RAW Paste Data