Rating: 4.5
This program won't let me get in! It says im not a bot, but I believe I am! I think so, because I can't solve captchas. Are you bot level brain?
nc cyberyoddha.baycyber.net 10006
- YoshiBoi#2008
Ok... this essentially was a scripting challenge ^^.
Once you actually connected via netcat
you could see that you had to complete some sort of quiz in order to retrieve the flag.
You can find our final python script that solves the quiz here, but here's a short explanation of how you can solve the individual questions:
Ok this one wasn't to complicated ... You simply had to decode the base64 string and return the result.
All you had to do on this one was to check, whether or not the provided some_number is prime. If it is, return y
otherwise n
.
Calculate and return some_number's prime factors. Be mindful that you have to return them individually.
Simply check, whether or not the given some_number has exactly two primefactors.
Calculate the given some_number's prime factors (p and q) and then use those two to calculate phi with: ϕ = (p-1) * (q-1)
.
Check, whether or not some_number and some_other_number are co-prime, i.e. their greatest common divisor is 1.
Answering this question was a bit buggy sometimes, so... you might have to try more than once ... ^^
If you implemented all the questions and answers above, nothing could stop you from getting the flag (assuming that you ran the script often enough ... ^^): CYCTF{tru3_1337_b4$h!ng_t@13nt_r1ght_h3r3}