here we need to brute force the code, which is only 4 digits. i wrote short script in bash
#!/bin/bash
for i in {1000..9999}
do
echo "i is" $i
~/leviathan6 $i
done

Flag: qEs5Io5yM8
Yalla Balagan! A collection of my CTF writeups and solutions.
here we need to brute force the code, which is only 4 digits. i wrote short script in bash
#!/bin/bash
for i in {1000..9999}
do
echo "i is" $i
~/leviathan6 $i
done

Flag: qEs5Io5yM8