Rating:

## [See original writeup on site](https://barelycompetent.dev/post/ctfs/2021-04-11-ritsecctf/#inceptionctf-dream-4)

### InceptionCTF: Dream 4
> Note: This challenge builds off of InceptionCTF: Dream 3
>
> Don’t lose yourself within the dreams, it’s critical to have your totem. Take a close look at the facts of the file presented to you. Please note the flag is marked with an “RITSEC=” rather than {} due to encoding limitations.
>
> Author: Brandon Martin

As this challenge plays off the previous [Inception level 3 challenge](#inception-ctf-dream-3), you should read up on that first, as it got us to this point.

From the file that was used in Inception: Dream 3, we have the following Morse Code text:

```
-.. .-. . .- -- ...
..-. . . .-..
.-. . .- .-..
.-- .... . -.
.-- . .----. .-. .
.. -.
- .... . -- .-.-.-
.. - .----. ...
--- -. .-.. -.--
.-- .... . -.
.-- .
.-- .- -.- .
..- .--.
- .... .- -
.-- .
.-. . .- .-.. .. --.. .
... --- -- . - .... .. -. --.
.-- .- ...
.- -.-. - ..- .- .-.. .-.. -.--
... - .-. .- -. --. . .-.-.-
.-. .. - ... . -.-. -...- -.. .. ...- . .-. ... .. --- -.
```

[Plugging this into cyberchef](https://gchq.github.io/CyberChef/#recipe=From_Morse_Code('Space','Line%20feed')&input=LS4uIC4tLiAuIC4tIC0tIC4uLgouLi0uIC4gLiAuLS4uCi4tLiAuIC4tIC4tLi4KLi0tIC4uLi4gLiAtLgouLS0gLiAuLS0tLS4gLi0uIC4KLi4gLS4KLSAuLi4uIC4gLS0gLi0uLS4tCi4uIC0gLi0tLS0uIC4uLgotLS0gLS4gLi0uLiAtLi0tCi4tLSAuLi4uIC4gLS4KLi0tIC4KLi0tIC4tIC0uLSAuCi4uLSAuLS0uCi0gLi4uLiAuLSAtCi4tLSAuCi4tLiAuIC4tIC4tLi4gLi4gLS0uLiAuCi4uLiAtLS0gLS0gLiAtIC4uLi4gLi4gLS4gLS0uCi4tLSAuLSAuLi4KLi0gLS4tLiAtIC4uLSAuLSAuLS4uIC4tLi4gLS4tLQouLi4gLSAuLS4gLi0gLS4gLS0uIC4gLi0uLS4tCi4tLiAuLiAtIC4uLiAuIC0uLS4gLS4uLi0gLS4uIC4uIC4uLi0gLiAuLS4gLi4uIC4uIC0tLSAtLiA):

```
DREAMS FEEL REAL WHEN WE'RE IN THEM. IT'S ONLY WHEN WE WAKE UP THAT WE REALIZE SOMETHING WAS ACTUALLY STRANGE. RITSEC=DIVERSION
```

Testing it out, `DIVERSION` unlocks the next levels `Limbo.7z`.

After contacting the author, the submission flag format _is not RITSEC=DIVERSION_, rather `RITSEC{...}`.

Flag is `RITSEC{DIVERSION}`.

Original writeup (https://barelycompetent.dev/post/ctfs/2021-04-11-ritsecctf/#inceptionctf-dream-4).