diff --git a/.gitignore b/.gitignore index ff2fa06..2cae4ed 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ Include/ Lib/ pwntools-doc/ Scripts/ -share/ \ No newline at end of file +share/ +pyvenv.cfg \ No newline at end of file diff --git a/Space_Heroes/Space_Frisbee/README.md b/Space_Heroes/Space_Frisbee/README.md new file mode 100644 index 0000000..faf8e67 --- /dev/null +++ b/Space_Heroes/Space_Frisbee/README.md @@ -0,0 +1,27 @@ +# Space Frisbee + +This is quite a simple challenge, but rather annoying since I can't even bother to write a script to do it. After all, working with such a file could be rather... relaxing, you know? + +## First Look + +This challenge presents us with a WAV file, typical audio file. Hearing the audio results in these short monotone beeps with space in between. This may mean that the audio has something encoded inside these beeps. + +## Tackling the Challenge + +Monotone audio encoding, we have 2 commonly known methods for this: +- Morse Code +- Binary Encoding + +However, the duration of these beeps are not consistent enough to be Morse Code, therefore it should be Binary Encoding. **Should be.** + +Running a simple Python script for generating spectrogram (see the included run.py) yields [a picture with a line of yellow and blue, placeholder for actual picture] + +From the picture, we are quite sure it is the Binary Encoding. Now we just need to decode the info. I was too lazy to write the code, so I just manually decode the file with low as 0 and high as 1 and have this: + +``` +01110011 01101000 01100011 01110100 01100110 01111011 00110001 01110100 01110011 01011111 01100100 00110011 01100110 00110001 01101110 00110001 01110100 00110011 01101100 01111001 01011111 01101110 00110000 01110100 01011111 00110100 01011111 01110011 01110000 00110000 01110010 01110100 01111101 00001010 +``` + +Putting it through CyberChef and we captured the flag! + +`shctf{1ts_d3f1n1t3ly_n0t_4_sp0rt}` diff --git a/run.py b/Space_Heroes/Space_Frisbee/run.py similarity index 100% rename from run.py rename to Space_Heroes/Space_Frisbee/run.py diff --git a/Space_Heroes/space_frisbee.wav b/Space_Heroes/Space_Frisbee/space_frisbee.wav similarity index 100% rename from Space_Heroes/space_frisbee.wav rename to Space_Heroes/Space_Frisbee/space_frisbee.wav diff --git a/pyvenv.cfg b/pyvenv.cfg deleted file mode 100644 index 34e9398..0000000 --- a/pyvenv.cfg +++ /dev/null @@ -1,5 +0,0 @@ -home = C:\Users\Glahera\AppData\Local\Programs\Python\Python312 -include-system-site-packages = false -version = 3.12.3 -executable = C:\Users\Glahera\AppData\Local\Programs\Python\Python312\python.exe -command = C:\Users\Glahera\AppData\Local\Programs\Python\Python312\python.exe -m venv C:\Users\Glahera\Projects\ctf