Walkthrough - You can do it!
Tags: challenges, crypto
Categories: hackthebox, walkthrough
Updated:
Cryptography is an art of hiding data in plain sight. This challenge presents you with the easiest way to obfuscate your data. Visit this section to learn more.
Observe!
Before following this walkthrough, I highly recommend trying to get the flag yourself! Just like you will hear from everyone else, try harder! (if you cannot find it)
Follow this link and download the file under You can do it! section. You will have to login in order to do that.
htb@noone:~/crypto/you_can_do_it$ unzip you_can_do_it.zip
Archive: you_can_do_it.zip
[you_can_do_it.zip] you_can_do_it.txt password:
extracting: you_can_do_it.txt
htb@noone:~/crypto/you_can_do_it$ cat you_can_do_it.txt
YHAOANUTDSYOEOIEUTTC!
htb@noone:~/crypto/you_can_do_it$
Well, so we have a txt file with some rearranged text it seems.
If you OBSERVE closely, there is an “!” mark at the end of the string. Also, it looks like the letters are just rearranged with a specific interval. Just by looking I could make out words like “YOU”, “CAN” and others. If you count the number of characters it’s 21 and there looks like a gap of 2 letters for obtaining the plaintext. It’s a Caesar Box.
I will use this website to crack the code!
Voila! We have the FLAG and we can use this to gain out points on HackTheBox. Don’t forget to enclose the flag in HTB{} because that’s the format.
Happy Hacking! Cheers!