Century Easy - Level1supporttechnician/Underthewire GitHub Wiki
0 - Ssh into server
- Ssh [email protected] -p 22
- Century1
1 - Find powershell build
- $psversionTable
- 10.0.14393.3866
2 - Wget equivalent
- List files
- invoke-webrequest443
3 - Count files on desktop
- (get-childitem | measure-object).count
-
123
4 - View file inside a folder with a space in it (instructions for this level is misleading as the file was in "OpenMe"
- 61580
5 - Name of domain PLUS the name of the file on the desktop
- Underthewire3347
6 - Count number of folders on desktop
- (get-childitem | measure-object).count
- 197
7 - Password is in a file somewhere in one of the folders in Century7 named readme
- Get-childitem -path (path of folders) -recurse
- Get-content
- 7points
8 - Get the number of unique strings in file on desktop
- (cat .\unique.txt | sort | Get-Unique).count
- 696
9 - Get the nth word in the file
- ((Get-Content C:\Users\century9\Desktop\Word_File.txt) -split(" "))[160]
- note index starts at 0
- pierid
10 - Password will be the 10th and 8th word in the windows update service description PLUS the name of the file on the desktop
- windowsupdates110
11 - Find the hidden file in Century11
- dir -force -recurse (This only runs through each folder starting from the current directory, it does not search for the hidden file)
- Secret_sauce
12 - Description of the computer designated as a Domain Controller PLUS the name of the file on the desktop "_things"
- Get-addomaincontroller
- View hostname "utw.underthewire.tech"
- Get-ADComputer -filter {name -eq "utw"} -Properties description
- i_authenticate_things
13 - Count the words in the file "countmywords"
- ((Get-Content .\countmywords) -split(" ") | Measure-Object).count
- 755
14 - Count the number of string "polo" in the text file
- ((get-content .\countpolos) -split(" ")) |Out-String -stream | select-string -pattern "polo" |group-object
- 153