Tags: xor crypto rot 

Rating:

```
import random
def rot(s, num):
l = ""
for i in s:
if (ord(i) in range(97,97+26)):
l += chr((ord(i) - 97 + num) % 26 + 97)
else:
l += i
return l

def xor(a, b):
return chr(ord(a) ^ ord(b))

cipher = 'MRU2FDcePBQlPwAdVXo5ElN3MDwMNURVDCc9PgwPORJTdzATN2wAN28='
c = cipher.decode('base64')
char = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
chk = ''
for x in char:
try:
n = x
for i in range(len(c) - 1):
n += xor(c[i], n[i])
chk = n.decode('base64')
if '00' in chk and '2' in chk and '{' in chk and '}' in chk:
break
except:
continue
for i in range(1, 26):
flag = rot(chk, i)
if 'b00t2root' in flag:
print flag
break
```
```
b00t2root{Bond. James Bond.}
```