SHARE
TWEET

Untitled

a guest Dec 7th, 2014 381 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import sys
  2. # razor4x - tasteless
  3. f=open("rev","rb")
  4. d=open("rev.jpg","ab")
  5. binary=""
  6. i=0
  7. while i<7698:
  8.     binary+=f.read(1)
  9.     i+=1
  10.  
  11. for i in range(len(binary)-1,-1,-1):
  12.     tmp=hex(ord(binary[i]))[2:]
  13.     if len(tmp)==1:
  14.         tmp="0"+tmp
  15.     tmp=tmp[::-1]
  16.     d.write(chr(int(tmp,16)))
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