the code can be found here
from pwn import *
PATH = '/behemoth/behemoth0'
password = "eatmyshorts"
p = process(PATH)
p.sendline(password.encode())
p.interactive()
p.close()
here we reversed the file, and saw the password is eatmyshorts
Flag: 8YpAQCAuKf