SHARE
TWEET

Untitled

a guest Oct 14th, 2014 284 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def decrypt(s):
  2.         s=s[::-1]
  3.         for i in range(0,0xff):
  4.                 fin=""
  5.                 fin+=chr(i)
  6.                 fin+=chr(ord(s[0])^i)
  7.                 for j in range(1,len(f)):
  8.                         fin+=chr(ord(s[j])^ord(fin[-1]))
  9.                 aa=open("flag."+str(i),"w")
  10.                 aa.write(fin[::-1])
  11.                 aa.close()
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