Previous Level Guide: Cyborg Level 5 → 6
Access
SSH: ssh cyborg6@cyborg.underthewire.tech -p 22
Password: rowray_timer
Info
The password for cyborg7 is the decoded text of the string within the file on the desktop. NOTE: – The password is the last word of the string. For example, if it is “I like PowerShell”, the password would be “powershell”. – The password will be lowercase no matter how it appears on the screen. – There are no spaces in the answer. ▼ HINT: PowerShell has access to the .Net Framework which can convert text encoding between formats. Find the right system call and you will be able to convert text strings.
Theory
To get the password, we'll just need to get the file, and maybe the contents of it so yeah, we'll see later what that file is or what cypher it's got. But for now we can just look for the file and print its contents:
dir Get-Content file.yay
Solution
Aight, now that we are inside the shell, I think we'll just need to look for the file where that cypher is and then we'll see how to decode it:
PS C:\users\cyborg6\desktop> dir Directory: C:\users\cyborg6\desktop Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 2/8/2022 10:47 PM 32 cypher.txt
I think we can just get out of the shell now that we have the cypher, first let's open the file with the get content command and then we can exit:
PS C:\users\cyborg6\desktop> Get-Content cypher.txt YwB5AGIAZQByAGcAZQBkAGQAbwBuAA== PS C:\users\cyborg6\desktop> exit Connection to cyborg.underthewire.tech closed.
Okay, yup. That's definitely Base64, so the level probably wants us to use some weird ahh powershell command, but I don't have much time right now and also I'm really lazy. So instead we'll use an online decoder, such as this one which is my favorite one (it just doesn't have ads and runs in the client instead of a server like it should be):
BASE64 DECODE (Base64Decode.com) INPUT: YwB5AGIAZQByAGcAZQBkAGQAbwBuAA== OUTPUT: cybergeddon
And that's the password! Now we should be good to go to the next level.
https://underthewire.tech/cyborg-6Next Level Guide: Cyborg Level 7 → Level 8