Tags: pwntools 

Rating: 5.0

```
#0x33c
from pwn import *
from string import ascii_lowercase

alphabet = list(ascii_lowercase)
total = 0

r = remote("code.deadface.io", 50000)
r.recvuntil("Your word is: ")
word = r.recvline().decode("UTF-8")
for i in list(word):
if i in alphabet:
total += alphabet.index(i)
r.sendline(str(total))
print(r.recvline_contains("flag{".encode()))
```

Rate please ;)