Skip to content

Commit

Permalink
(misc):secret-key: changed rot to morse
Browse files Browse the repository at this point in the history
  • Loading branch information
tratrafe2 authored Jul 3, 2024
1 parent 467c6af commit 6494e94
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 18 deletions.
4 changes: 2 additions & 2 deletions misc/secret-key/challenge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion misc/secret-key/public/key_x.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
546c52525a3035455932644f52316c6e546b52525a3034795357644e656b316e546d70465a3035365157644e656b466e546e70465a3031365257644f616b566e546e70525a3035585757644e656b566e545870565a3035585757644f616c566e5458704e5a3035745657644f656d746e546e70725a3035745457644f56316c6e546e70425a3031365157644e656b466e546e70725a3035585757644f62566c6e546d706e5a3035715932644f56316c6e546d70465a3031365157644f616d4e6e546c645a5a3035715757644e656b466e546c645a5a3035715757644f6256566e546e704e5a3031365457644e616b566e546a4a5250513d3d
546b526a5a3035555557644f52456c6e546c52465a3034795357644e6256566e545731565a3031745657644e6256466e545731525a3031715157644e6256466e545731565a3031715157644e6256466e545731565a3031745557644e6256566e545770425a3031745557644e6256466e545731525a3031745557644e6256466e545770425a3031745557644e6256566e545731565a3031715157644e6256566e545731525a3031745557644e6256466e545731525a3031715157644e6256466e545731565a3031715157644e6256466e545731525a3031745657644e616b466e545731565a3031745657644e6256466e545731525a3031745657644e6256466e545770425a3031745657644e6256466e545731525a3031745557644e6256466e545770425a3031745657644e6256566e545731565a3031745657644e6256566e545770425a3031745657644e6256566e545731525a3031745557644e6256566e545731525a3031715157644e6256566e545731525a3031745657644e616b466e545731565a3031745657644e6256566e545731525a3031745557644e616b466e545731565a3031745557644e616b466e545731565a3031745557644e6256566e545731565a3031715157644e6256566e545731525a3031745657644e6256566e545770425a3031745557644e6256566e545731525a3031745557644e616b466e545731565a3031745657644e6256466e545731525a3031745657644e6256466e545770425a3031745557644e6256566e545731525a3031745657644e616b466e545731525a3031745557644e6256466e545731525a3031745557644e616b466e545731525a3031745557644e6256466e545731525a3031745557644e616b466e545731565a3031745557644e6256566e545731565a3031715157644e6256566e545731565a3031745557644e6256466e545731565a3031745557644e616b466e545731525a3031745657644e6256566e545731565a3031715157644e6256566e545731565a3031745557644e616b466e545731525a3031715157644e6256566e545731565a3031745557644e6256466e545731565a3031745557644e616b466e545731525a3031745657644e616b466e545731525a3031745557644e6256466e545731525a3031745557644e616b466e545731525a3031715157644e6256566e545731565a3031745557644e6256466e545731565a3031745557644e616b466e545731565a3031745657644e6256566e545770425a3031745557644e6256466e545731525a3031745557644e6256466e545770425a3031745657644e6256566e545731525a3031745557644e6256566e545731525a3031715157644e6256566e545731565a3031745657644e616b466e545731565a3031745557644e616b466e545731565a3031745657644e6256466e545731565a3031715157644e6256566e545731565a3031745657644e6256466e545731525a3031715157644e6256466e545731565a3031745557644e6256566e545731525a3031745557644f4d6c466e5455644650513d3d
32 changes: 20 additions & 12 deletions misc/secret-key/readme.md
Original file line number Diff line number Diff line change
@@ -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
<details>
<summary>Reveal Spoiler</summary>

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!}"

</details>
2 changes: 1 addition & 1 deletion misc/secret-key/solution/key_x.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
546c52525a3035455932644f52316c6e546b52525a3034795357644e656b316e546d70465a3035365157644e656b466e546e70465a3031365257644f616b566e546e70525a3035585757644e656b566e545870565a3035585757644f616c566e5458704e5a3035745657644f656d746e546e70725a3035745457644f56316c6e546e70425a3031365157644e656b466e546e70725a3035585757644f62566c6e546d706e5a3035715932644f56316c6e546d70465a3031365157644f616d4e6e546c645a5a3035715757644e656b466e546c645a5a3035715757644f6256566e546e704e5a3031365457644e616b566e546a4a5250513d3d
546b526a5a3035555557644f52456c6e546c52465a3034795357644e6256566e545731565a3031745657644e6256466e545731525a3031715157644e6256466e545731565a3031715157644e6256466e545731565a3031745557644e6256566e545770425a3031745557644e6256466e545731525a3031745557644e6256466e545770425a3031745557644e6256566e545731565a3031715157644e6256566e545731525a3031745557644e6256466e545731525a3031715157644e6256466e545731565a3031715157644e6256466e545731525a3031745657644e616b466e545731565a3031745657644e6256466e545731525a3031745657644e6256466e545770425a3031745657644e6256466e545731525a3031745557644e6256466e545770425a3031745657644e6256566e545731565a3031745657644e6256566e545770425a3031745657644e6256566e545731525a3031745557644e6256566e545731525a3031715157644e6256566e545731525a3031745657644e616b466e545731565a3031745657644e6256566e545731525a3031745557644e616b466e545731565a3031745557644e616b466e545731565a3031745557644e6256566e545731565a3031715157644e6256566e545731525a3031745657644e6256566e545770425a3031745557644e6256566e545731525a3031745557644e616b466e545731565a3031745657644e6256466e545731525a3031745657644e6256466e545770425a3031745557644e6256566e545731525a3031745657644e616b466e545731525a3031745557644e6256466e545731525a3031745557644e616b466e545731525a3031745557644e6256466e545731525a3031745557644e616b466e545731565a3031745557644e6256566e545731565a3031715157644e6256566e545731565a3031745557644e6256466e545731565a3031745557644e616b466e545731525a3031745657644e6256566e545731565a3031715157644e6256566e545731565a3031745557644e616b466e545731525a3031715157644e6256566e545731565a3031745557644e6256466e545731565a3031745557644e616b466e545731525a3031745657644e616b466e545731525a3031745557644e6256466e545731525a3031745557644e616b466e545731525a3031715157644e6256566e545731565a3031745557644e6256466e545731565a3031745557644e616b466e545731565a3031745657644e6256566e545770425a3031745557644e6256466e545731525a3031745557644e6256466e545770425a3031745657644e6256566e545731525a3031745557644e6256566e545731525a3031715157644e6256566e545731565a3031745657644e616b466e545731565a3031745557644e616b466e545731565a3031745657644e6256466e545731565a3031715157644e6256566e545731565a3031745657644e6256466e545731525a3031715157644e6256466e545731565a3031745557644e6256566e545731525a3031745557644f4d6c466e5455644650513d3d
3 changes: 1 addition & 2 deletions misc/secret-key/solution/sol.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
print(r4)

0 comments on commit 6494e94

Please sign in to comment.