Level Info:
The password for level 2 is in the file 'krypton2'. It is 'encrypted' using a simple rotation. It is also in non-standard ciphertext format. When using alpha characters for cipher text it is normal to group the letters into 5 letter clusters, regardless of word boundaries. This helps obfuscate any patterns. This file has kept the plain text word boundaries and carried them to the cipher text. Enjoy!Solution:
- [Comment] Using SSH to connect the server
- sp@simple-plan:~|=> ssh krypton1@krypton.labs.overthewire.org
...
krypton1@krypton.labs.overthewire.org's password: KRYPTONISGREAT - [Comment] Using cd command to change the shell working directory
- krypton1@melinda:~$ cd /krypton
- [Comment] Using ls command to list directory contents
- krypton1@melinda:/krypton$ ls
krypton1 krypton2 krypton3 krypton4 krypton5 krypton6
- [Comment] Using cd command to change the shell working directory
- krypton1@melinda:/krypton$ cd krypton1/
- [Comment] Using ls command to list directory contents
- krypton1@melinda:/krypton/krypton1$ ls
README krypton2
- [Comment] Using cat command to output file's contents
- krypton1@melinda:/krypton/krypton1$ cat README
Welcome to Krypton! This game is intended to give hands on experience with cryptography and cryptanalysis. The levels progress from classic ciphers, to modern, easy to harder. Although there are excellent public tools, like cryptool,to perform the simple analysis, we strongly encourage you to try and do these without them for now. We will use them in later excercises. ** Please try these levels without cryptool first ** The first level is easy. The password for level 2 is in the file 'krypton2'. It is 'encrypted' using a simple rotation called ROT13. It is also in non-standard ciphertext format. When using alpha characters for cipher text it is normal to group the letters into 5 letter clusters, regardless of word boundaries. This helps obfuscate any patterns. This file has kept the plain text word boundaries and carried them to the cipher text. Enjoy!
- krypton1@melinda:/krypton/krypton1$ cat krypton2
YRIRY GJB CNFFJBEQ EBGGRA - [Comment] Utilizing the tr command to achieve ROT13
- [Comment] Using alias to create shortcuts for commands
- krypton1@melinda:/krypton/krypton1$ alias rot13="tr a-zA-Z n-za-mN-ZA-M"
- krypton1@melinda:/krypton/krypton1$ cat krypton2 | rot13
LEVEL TWO PASSWORD ROTTEN - [Comment] It's done! Let's go to the next level!
Interesting.... I did it manually.... but I didn't know I could do that with alias...
ReplyDeleteI mean TR not alias...
ReplyDelete