Advertisement
Guest User

0x17e1b0 decompress test

a guest
Oct 22nd, 2015
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.35 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement