STOP! Adventurer, have you got an up to date relic hunting license? If you don't, you'll need to take the exam again before you'll be allowed passage into the spacelanes!
Solution
Used ltrace and find the first password.
strcmp("420","PasswordNumeroUno")
Try again..
strcmp("420","P4ssw0rdTw0")
Finally..
strcmp("420","ThirdAndFinal!!!")
Remote server has additional questions, we can find answers easily with tools like file, ldd, GDB and ghidra.