What's your favorite color? Would you like to share with me? Run the command: ssh [email protected] -p 1001 (pw: guest) to tell me!
ssh [email protected] -p 1001
2 months ago
3 months ago
How is it possible to get out of good &= buf[i] ^ buf[i]; anything else than 0? XOR of 2 same characters is always 0 and 0 XOR 0 is always 0.
good &= buf[i] ^ buf[i];
That is the point. You can't so you have to bypass the check
6 months ago
Hmm ... I always get that:
Enter your favorite color: Me too! That's my favorite color too!
You get a shell! Flag is in flag.txt
Segmentation fault (core dumped)
It seems the process does not have enough privilege to call system() and a shell is not spawned. That is why it goes to the normal path and crashes with segfault when the stack is restored. You might want to revisit the permissions on the guest user.
4 months ago
I have got the same problem :/
I got the same output, And it took me way too long to overcome this error, but it is not a problem with the CTF. it is possible to get a shell. if you get this error, you missed something.
8 months ago
took time but great learning expericence
9 months ago
why i can't type the password? it's bug or feature?
where are you trying to type the password?
i'm just run that command
Oh... I think you can type the password but it just doesn't show up, but it's still there
very good king of challenge. liked it too much
1 year ago
The challenge is interesting