Rating:

```
#!/usr/bin/env python3

from pwn import *
import hashlib
import string

r = remote("52.59.124.14",10100)
flag = 1
values = list(string.ascii_letters)
for i in values:
if(flag == 0):
break
for j in values:
if(flag == 0):
break
for k in values:
user_pass = i.encode() + j.encode() + k.encode()
hash_pass = hashlib.sha1(user_pass).hexdigest()
if(hash_pass[-4:] == "0000"):
flag = 0
break
r.sendlineafter(b"Username:",user_pass)
r.sendlineafter(b"Password:",user_pass)
r.interactive()
```