Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def decrypt(s):
- s=s[::-1]
- for i in range(0,0xff):
- fin=""
- fin+=chr(i)
- fin+=chr(ord(s[0])^i)
- for j in range(1,len(f)):
- fin+=chr(ord(s[j])^ord(fin[-1]))
- aa=open("flag."+str(i),"w")
- aa.write(fin[::-1])
- aa.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement