InCTF Jr 2022
August - November, 2022
InCTF Jr

Base

Beginner Misc

Author: Aneesh

we were give an encoded text NDcgNTkgMzQgNTMgNDEgNGUgNTQgNDYgNDUgNDEgMzMgNDQgNDcgNDkgNDIgNTggNDcgNTEgNTEgNDQgNGQgNGUgNTIgNDEgNDcgNWEgNTEgNTMgNDEgNGUgMzMgNDMgNDUgNDEgMzMgNDQgNDkgNDkgNDIgNTQgNDcgNGQgNTEgNDQgNGQgNGQgNWEgNDEgNDcgNGQgNTkgNDMgNDEgNGUgNTIgNTUgNDUgNDEgNWEgNTQgNDMgNDkgNDIgNTcgNGQgNTUgNTEgNDQgNGQgNGUgNWEgNDEgNDcgNTYgNTQgNDMgNDEgNGUgNTIgNWEgNDUgNDEgNWEgNTQgNGIgNDkgNDIgNTYgNGQgNTkgNTEgNDQgNGYgNGQgNDIgNDEgNDcgNGQgMzIgNDMgNDEgNGUgNWEgNTMgNDUgNDEgMzMgNTQgNDkgNDkgNDIgNTYgNGQgNTkgNTEgNDQgNDcgNGQgNDIgNDEgNDcgNTkgMzMgNDMgNDEgNGUgNGMgNDcgNDUgNDEgMzMgNDQgNTEgNDkgNDIgNTQgNDcgNTEgNTEgNDQgNGQgNGQgNWEgNDEgNDcgNWEgNTIgNDMgNDEgNGQgNWEgNTIgNDUgNDEgMzMgNDcgNGIgNDkgNDIgNTcgNDcgMzQgNTEgNDQgNGYgNWEgNDEgM2Q=

we can directly see it's base64 encoded so we can base64 decode it, after decodeing you will get this

47 59 34 53 41 4e 54 46 45 41 33 44 47 49 42 58 47 51 51 44 4d 4e 52 41 47 5a 51 53 41 4e 33 43 45 41 33 44 49 49 42 54 47 4d 51 44 4d 4d 5a 41 47 4d 59 43 41 4e 52 55 45 41 5a 54 43 49 42 57 4d 55 51 44 4d 4e 5a 41 47 56 54 43 41 4e 52 5a 45 41 5a 54 4b 49 42 56 4d 59 51 44 4f 4d 42 41 47 4d 32 43 41 4e 5a 53 45 41 33 54 49 49 42 56 4d 59 51 44 47 4d 42 41 47 59 33 43 41 4e 4c 47 45 41 33 44 51 49 42 54 47 51 51 44 4d 4d 5a 41 47 5a 52 43 41 4d 5a 52 45 41 33 47 4b 49 42 57 47 34 51 44 4f 5a 41 3d

we can see its hex, so we can decode it and we will get this

GY4SANTFEA3DGIBXGQQDMNRAGZQSAN3CEA3DIIBTGMQDMMZAGMYCANRUEAZTCIBWMUQDMNZAGVTCANRZEAZTKIBVMYQDOMBAGM2CANZSEA3TIIBVMYQDGMBAGY3CANLGEA3DQIBTGQQDMMZAGZRCAMZREA3GKIBWG4QDOZA=

this base32 encoded text, after decoding

69 6e 63 74 66 6a 7b 64 33 63 30 64 31 6e 67 5f 69 35 5f 70 34 72 74 5f 30 66 5f 68 34 63 6b 31 6e 67 7d

this is also hex decode it and we get the flag