Previous Level Guide: Century Level 5 → 6
Access
SSH: ssh century6@century.underthewire.tech -p 22
Password: underthewire3347
Info
The password for Century7 is the number of folders on the desktop.
Theory
To get the password the instructions say to count all the folders in there, that sounds really familiar, like the file counting one. It's literally just the same command, but instead of going through all files, it's all the directories. Making the command look like this:
(Get-ChildItem -Directory).Count
Solution
Only thing we need to do is execute the command from the theory, although be careful when using the dir command, because it will list all the folders and fill up your shell:
PS C:\users\century6\desktop> dir Directory: C:\users\century6\desktop Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 8/30/2018 3:29 AM countme1012 d----- 8/30/2018 3:29 AM countme1024 d----- 8/30/2018 3:29 AM countme1025 d----- 8/30/2018 3:29 AM countme1031 d----- 8/30/2018 3:29 AM countme1056 d----- 8/30/2018 3:29 AM countme1058 d----- 8/30/2018 3:29 AM countme1068 d----- 8/30/2018 3:29 AM countme1074 ...
So if we just use the command we'll get the number of files, which is the password for the next level:
PS C:\users\century6\desktop> (Get-ChildItem -Directory).Count 197
And that's the password! Now we should be good to go to the next level.
https://underthewire.tech/century-6Next Level Guide: Century Level 7 → Level 8