39 lines
1.6 KiB
Markdown
39 lines
1.6 KiB
Markdown
# Scrambled Eggs
|
|
## Text
|
|
So this morning I went to a restaurant to get my favourite breakfast: scrambled eggs! So I gave the guy behind the counter my order, but he couldn't stop talking about how powers of 2 are amazing numbers. Eventually I got him to prepare my order, but after waiting 64 minutes, this guy gives me a plate full of DVEZUd7SDNsVGhS.5QnJFNGtGYVN0IX0 ! This ain't no scrambled eggs, this is scrambled... text? And then I looked at the price: €4281.16, ridiculous!
|
|
|
|
## Files
|
|
None
|
|
|
|
## How To Solve
|
|
Difficulty: Hard
|
|
|
|
It's hard in the sense that you need to use your imagination to unravel the text. After you got it, it's pretty easy. The message is Base64, however the base64 text is scrambled. The text talks about how the guy really loves powers of 2. This not only explains the use of Base64, but also the way the text is scrambled.
|
|
|
|
The scrambled text contains a dot. Odd, since dots don't appear in Base64. Maybe the dot refers to the dot in the price?
|
|
|
|
Looking at the price, €4281.16, it can be divided into 4, 2, 8, 1 & 16
|
|
|
|
If we use this way to divide the text, we get DVEZ Ud 7SDNsVGh S 5QnJFNGtGYVN0IX0
|
|
|
|
If we then order this from low to high (i.e. 1, 2, 4, 8, 16), we get S Ud DVEZ 7SDNsVGh 5QnJFNGtGYVN0IX0
|
|
|
|
If we turn this from base64 into ascii, we get the key.
|
|
|
|
Here are some numbers:
|
|
|
|
- Flag: IGCTF{H3lThyBrE4kFaSt!}
|
|
|
|
- Base64: SUdDVEZ7SDNsVGh5QnJFNGtGYVN0IX0=
|
|
|
|
- Base 64 Without Padding: SUdDVEZ7SDNsVGh5QnJFNGtGYVN0IX0
|
|
|
|
- Separated in powers of 2: S Ud DVEZ 7SDNsVGh 5QnJFNGtGYVN0IX0
|
|
|
|
- Scrambled into: 4281.16
|
|
|
|
- Scrambled Base64: DVEZUd7SDNsVGhS5QnJFNGtGYVN0IX0
|
|
|
|
## Key
|
|
IGCTF{H3lThyBrE4kFaSt!}
|