Tags: python crypto
Rating:
1. Try to decrypt the ciphertext by using Base64 and Hex with n th times (random), you will get this secret code
```
035e44154106060c17181b
```
2. Decrypt the secret code to get the flag
```
c = '035e44154106060c17181b'
c = [chr(eval('0x' + c[i:i+2])) for i in range(0, len(c) - 1, 2)]
x = list('b00t2root{}')
flag = ''
for i in range(len(c)):
flag += chr(ord(c[i]) ^ ord(x[i]))
print('b00t2root{' + flag[-1] + flag[:-1] + '}')
```
3. Here is the flag
```
b00t2root{fantasticcc}
```