diff --git a/misc/secret-key/challenge.yml b/misc/secret-key/challenge.yml index 4ed24d2..23c3fae 100644 --- a/misc/secret-key/challenge.yml +++ b/misc/secret-key/challenge.yml @@ -3,7 +3,7 @@ author: "tratrafe2" category: misc description: | - while trying to investigate tHe files of a criminal, we found this wEird key_X.txt file. however, it doesn't seem to have any meaning. mayBe it's An encoded mesSagE that we should try to re6ognize and cr4ck it. let's tRy Our besT! + while trying to investigate tHe files of a criminal, we found this wEird key_X.txt file. however, it doesn't seem to have any meaning. mayBe it's An encoded mesSagE that we should try to re6ognize and cr4ck it. let's try our best! (The flag is in UPPERCASE) value: 500 type: dynamic @@ -13,7 +13,7 @@ extra: decay: 25 flags: - - GTBQ{3nc0d1ng_15_r3ally_c00l_but_n0t_s0_saf3!} + - GTBQ{3NC0D1NG_15_R3ALLY_C00L_BUT_N0T_S0_SAF3!} files: - public/key_x.txt diff --git a/misc/secret-key/public/key_x.txt b/misc/secret-key/public/key_x.txt index e47c7c9..9288667 100644 --- a/misc/secret-key/public/key_x.txt +++ b/misc/secret-key/public/key_x.txt @@ -1 +1 @@ -546c52525a3035455932644f52316c6e546b52525a3034795357644e656b316e546d70465a3035365157644e656b466e546e70465a3031365257644f616b566e546e70525a3035585757644e656b566e545870565a3035585757644f616c566e5458704e5a3035745657644f656d746e546e70725a3035745457644f56316c6e546e70425a3031365157644e656b466e546e70725a3035585757644f62566c6e546d706e5a3035715932644f56316c6e546d70465a3031365157644f616d4e6e546c645a5a3035715757644e656b466e546c645a5a3035715757644f6256566e546e704e5a3031365457644e616b566e546a4a5250513d3d \ No newline at end of file +546b526a5a3035555557644f52456c6e546c52465a3034795357644e6256566e545731565a3031745657644e6256466e545731525a3031715157644e6256466e545731565a3031715157644e6256466e545731565a3031745557644e6256566e545770425a3031745557644e6256466e545731525a3031745557644e6256466e545770425a3031745557644e6256566e545731565a3031715157644e6256566e545731525a3031745557644e6256466e545731525a3031715157644e6256466e545731565a3031715157644e6256466e545731525a3031745657644e616b466e545731565a3031745657644e6256466e545731525a3031745657644e6256466e545770425a3031745657644e6256466e545731525a3031745557644e6256466e545770425a3031745657644e6256566e545731565a3031745657644e6256566e545770425a3031745657644e6256566e545731525a3031745557644e6256566e545731525a3031715157644e6256566e545731525a3031745657644e616b466e545731565a3031745657644e6256566e545731525a3031745557644e616b466e545731565a3031745557644e616b466e545731565a3031745557644e6256566e545731565a3031715157644e6256566e545731525a3031745657644e6256566e545770425a3031745557644e6256566e545731525a3031745557644e616b466e545731565a3031745657644e6256466e545731525a3031745657644e6256466e545770425a3031745557644e6256566e545731525a3031745657644e616b466e545731525a3031745557644e6256466e545731525a3031745557644e616b466e545731525a3031745557644e6256466e545731525a3031745557644e616b466e545731565a3031745557644e6256566e545731565a3031715157644e6256566e545731565a3031745557644e6256466e545731565a3031745557644e616b466e545731525a3031745657644e6256566e545731565a3031715157644e6256566e545731565a3031745557644e616b466e545731525a3031715157644e6256566e545731565a3031745557644e6256466e545731565a3031745557644e616b466e545731525a3031745657644e616b466e545731525a3031745557644e6256466e545731525a3031745557644e616b466e545731525a3031715157644e6256566e545731565a3031745557644e6256466e545731565a3031745557644e616b466e545731565a3031745657644e6256566e545770425a3031745557644e6256466e545731525a3031745557644e6256466e545770425a3031745657644e6256566e545731525a3031745557644e6256566e545731525a3031715157644e6256566e545731565a3031745657644e616b466e545731565a3031745557644e616b466e545731565a3031745657644e6256466e545731565a3031715157644e6256566e545731565a3031745657644e6256466e545731525a3031715157644e6256466e545731565a3031745557644e6256566e545731525a3031745557644f4d6c466e5455644650513d3d \ No newline at end of file diff --git a/misc/secret-key/readme.md b/misc/secret-key/readme.md index 5cf0af3..cb9f257 100644 --- a/misc/secret-key/readme.md +++ b/misc/secret-key/readme.md @@ -1,12 +1,20 @@ -# secret-key - - -**Category**: misc - -**Author**: tratrafe2 - -## Description - -while trying to investigate tHe files of a criminal, we found this wEird key_X.txt file. however, it doesn't seem to have any meaning. mayBe it's An encoded mesSagE that we should try to re6ognize and cr4ck it. let's tRy Our besT! - - +# Secret key +**Category**: Misc + +**Author**: tratrafe2 + +**Difficulty**: Easy + +## Description +while trying to investigate tHe files of a criminal, we found this wEird key_X.txt file. however, it doesn't seem to have any meaning. mayBe it's An encoded mesSagE that we should try to re6ognize and cr4ck it. let's try our best! (The flag is in UPPERCASE) + +## Solution +
+ Reveal Spoiler + + The goal of this challenge is to recognize the format of Base64 and Hex, and finally Morse. + Decode from hex, from b64, from b64, from hex, from morse. + + Flag: "GTBQ{3NC0D1NG_15_R3ALLY_C00L_BUT_N0T_S0_SAF3!}" + +
\ No newline at end of file diff --git a/misc/secret-key/solution/key_x.txt b/misc/secret-key/solution/key_x.txt index e47c7c9..9288667 100644 --- a/misc/secret-key/solution/key_x.txt +++ b/misc/secret-key/solution/key_x.txt @@ -1 +1 @@ -546c52525a3035455932644f52316c6e546b52525a3034795357644e656b316e546d70465a3035365157644e656b466e546e70465a3031365257644f616b566e546e70525a3035585757644e656b566e545870565a3035585757644f616c566e5458704e5a3035745657644f656d746e546e70725a3035745457644f56316c6e546e70425a3031365157644e656b466e546e70725a3035585757644f62566c6e546d706e5a3035715932644f56316c6e546d70465a3031365157644f616d4e6e546c645a5a3035715757644e656b466e546c645a5a3035715757644f6256566e546e704e5a3031365457644e616b566e546a4a5250513d3d \ No newline at end of file +546b526a5a3035555557644f52456c6e546c52465a3034795357644e6256566e545731565a3031745657644e6256466e545731525a3031715157644e6256466e545731565a3031715157644e6256466e545731565a3031745557644e6256566e545770425a3031745557644e6256466e545731525a3031745557644e6256466e545770425a3031745557644e6256566e545731565a3031715157644e6256566e545731525a3031745557644e6256466e545731525a3031715157644e6256466e545731565a3031715157644e6256466e545731525a3031745657644e616b466e545731565a3031745657644e6256466e545731525a3031745657644e6256466e545770425a3031745657644e6256466e545731525a3031745557644e6256466e545770425a3031745657644e6256566e545731565a3031745657644e6256566e545770425a3031745657644e6256566e545731525a3031745557644e6256566e545731525a3031715157644e6256566e545731525a3031745657644e616b466e545731565a3031745657644e6256566e545731525a3031745557644e616b466e545731565a3031745557644e616b466e545731565a3031745557644e6256566e545731565a3031715157644e6256566e545731525a3031745657644e6256566e545770425a3031745557644e6256566e545731525a3031745557644e616b466e545731565a3031745657644e6256466e545731525a3031745657644e6256466e545770425a3031745557644e6256566e545731525a3031745657644e616b466e545731525a3031745557644e6256466e545731525a3031745557644e616b466e545731525a3031745557644e6256466e545731525a3031745557644e616b466e545731565a3031745557644e6256566e545731565a3031715157644e6256566e545731565a3031745557644e6256466e545731565a3031745557644e616b466e545731525a3031745657644e6256566e545731565a3031715157644e6256566e545731565a3031745557644e616b466e545731525a3031715157644e6256566e545731565a3031745557644e6256466e545731565a3031745557644e616b466e545731525a3031745657644e616b466e545731525a3031745557644e6256466e545731525a3031745557644e616b466e545731525a3031715157644e6256566e545731565a3031745557644e6256466e545731565a3031745557644e616b466e545731565a3031745657644e6256566e545770425a3031745557644e6256466e545731525a3031745557644e6256466e545770425a3031745657644e6256566e545731525a3031745557644e6256566e545731525a3031715157644e6256566e545731565a3031745657644e616b466e545731565a3031745557644e616b466e545731565a3031745657644e6256466e545731565a3031715157644e6256566e545731565a3031745657644e6256466e545731525a3031715157644e6256466e545731565a3031745557644e6256566e545731525a3031745557644f4d6c466e5455644650513d3d \ No newline at end of file diff --git a/misc/secret-key/solution/sol.py b/misc/secret-key/solution/sol.py index 0b3a04c..8b8b04b 100644 --- a/misc/secret-key/solution/sol.py +++ b/misc/secret-key/solution/sol.py @@ -9,5 +9,4 @@ r2 = codecs.decode(r1, 'base64') r3 = str(codecs.decode(r2, 'base64')).replace(" ","")[2:-1] r4 = str(codecs.decode(r3, 'hex'))[2:-1] -r5 = codecs.decode(str(r4), 'rot-13') -print(r5) \ No newline at end of file +print(r4) \ No newline at end of file