TCTF 2021
Last updated
Last updated
Description What happens on GutHib, stays on GutHib.
Noticing on the second commit had a password that was removed. I saw that a lot of teams forked it so I did the same at first. Looking at each point I came up empty, what a shock. I realized at this point I was going to have to look at the specific change logs.
If you go back you can find the link to the commit changing it and the flag can be found at https://api.github.com/repos/awesome-ctf/TCTF2021-Guthib/commits/da883505ed6754f328296cac1ddb203593473967
Flag: flag{ZJaNicLjnDytwqosX8ebwiMdLGcMBL}
Welcome to 0CTF/TCTF 2021!
111.186.59.11:16256
Nothing fancy, just do the math
So we are given when connected this equation, x^y^z % a = 2 ^ 2 ^ z % a
I researched a little and turned it into => 2 ^ 2 * z % a so we can say 2 ^ 2z % a = x ^ y ^ z % a
. Then attempted1 to write a short program for that with many failures. First, it didn't finish in time, then it didn't get the right answer, and finally, I just gave up. In hindsight, I should have used gmpy to solve the problem but just didn't think about it.