Tags: crypto xor
Rating:
**Author : [@98_m16](http://twitter.com/98_m16)**
Maximum 6 lines of code ;-) saved as `xorpals.py`
## Solution
```
from pwn import *
with open('flags.txt', 'r') as f:
for i in f.readlines():
for j in range(256):
print(xor(bytes.fromhex(i), j))
```
## Execution
```
python xorpals.py | grep dam{
```
And you got the flag.