ctf-resources/htb/hacktheboo2024/rev/[Very Easy] SpookyPass/README.md

1.1 KiB

SpookyPass

4th 10 24 / Document No. D24.102.169

Prepared By: clubby789

Challenge Author: clubby789

Difficulty: Very Easy

Classification: Official

Synopsis

SpookyPass is a Very Easy reversing challenge. Players will use strings to identify a password.

Skills Learned

- `strings`

Solution

Running the binary, we're given a password prompt:

Welcome to the SPOOKIEST party of the year.
Before we let you in, you'll need to give us the password: foo
You're not a real ghost; clear off!

We'll use strings to look for hidden data in the program:

$ strings ./pass
# .. SNIP ..
Welcome to the 
[1;3mSPOOKIEST
[0m party of the year.
Before we let you in, you'll need to give us the password: 
s3cr3t_p455_f0r_gh05t5_4nd_gh0ul5
Welcome inside!
You're not a real ghost; clear off!
# .. SNIP ..

If we try s3cr3t_p455_f0r_gh05t5_4nd_gh0ul5 as the password, we'll be accepted and receive the flag.