Previous Level Guide: Century Level 8 → 9
Access
SSH: ssh century9@century.underthewire.tech -p 22
Password: 696
Info
The password for Century10 is the 161st word within the file on the desktop. NOTE: – The password will be lowercase no matter how it appears on the screen.
Theory
To get the password we have to get the 161st word in a text file, it's really simple to do something like that, we just need to have a code that replaces all first 160 words with nothing. And so we get this command, shorter than the last, it first reads the file and then replaces all words with whitespace characters, which are literally nothing, so esentially it's just deleting those words. Then it multiplies the whitespace characters by 160, to replace all first 160 words and then leaving us with the password 161st word at the beginning of the response:
(Get-Content text.txt) -replace '^(\S+\s+){160}' dir
Solution
Now that we are in the desktop, first we'll use dir to know the name of the file and put it in the command:
PS C:\users\century9\desktop> dir Directory: C:\users\century9\desktop Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 8/30/2018 3:34 AM 2131 Word_File.txt PS C:\users\century9\desktop> (Get-Content Word_File.txt) -replace '^(\S+\s+){160}' pierid nonapplicabness patinas rabific scandaliser waggel reauthenticate sufeism lairds cookee bragget ledgering percept ual chomper obscurities merino ganguela unproposed epulis loppard ignoblesse carrotage heartbrokenly unfusibness degener ate lacunae cirrocumulus knightlike overwhelmingness oxyrrhyncha capitalizations dimethylamine uninucleate syndicship gr aspable tropophil telchines abaiser overclement pursive
And that's the password! Now we should be good to go to the next level. (Remember, it's the first word.)
https://underthewire.tech/century-9Next Level Guide: Century Level 10 → Level 11