Crack the power of God. To gain authority.
Flag format: CTF{sha256}
CTF{ee4dd34bd5fde749971cf3face2fab53eef19dd9e3d17deb69fdf3a4d7db3b89}
Open the binary in IDA and use the password stored there
This challenge was quite easy.
I simply opened up IDA and I started checking out the functions. One of them was checking the input against a certain number:
__int64 __fastcall sub_835(int a1)
{
printf("Show me the power of gods: 0x%x\\n", 4289920975LL);
return (a1 % a1) ^ (a1 % 116652) ^ (unsigned int)(a1 % a1 == 0);
}
a1 % a1
will always be equal to 0.
We had to get a final result of 0, so we had to set a1 to 116652
.
We connected to the server, added that key, and got the flag: