In the Command Prompt window, execute this command:
A listing of files and folders in the current working directory appears, as shown below.
Your working directory is at its default starting value; your home directory, which is usually C:\Users\username. The working directory appears at the start of every prompt, before the > character, as highlighted in the image below.
In Windows, "directories" are also called "folders".
These commands create a new directory named "steve", change the working directory to "steve", and list the files and folders there. This directory is empty, so it contains only the system-generated files "." and "..", as shown below.
mkdir steve cd steve dir
The first command creates a new file named "stevefile" and inserts the text "MARK" into it. The > symbol performs "output redirection", sending the output of the "echo" command into a file.
echo MARK > stevefile dir type stevefile
The new file appears in the directory list.
The "type" command displays the contents of the "stevefile" file.
The first three commands create a new folder named "sally", move the working directory into it, and create a new file there named "sallyfile".
mkdir sally cd sally echo MARK2 > sallyfile dir dir ..
The "dir" command shows the contents of the "sally" folder.
The "dir .." command shows the contents of the folder above "sally" folder, also called its parent. Notice that ".." allows you to use a folder that is outside the working directory, by specifying a relative path, which specifies how to get to the desired directory from the current working directory. This is called "directory traversal".
This command shows the Access Control List for the "sallyfile" file.
As shown below, several accounts have "Full Control", indicated by the ":F" after the account names.
The flag is covered by a green box in the image below.
There is a folder named "secret" on the server, containing a file named "flag.txt". Read the contents of that file and enter it into the form below the frame to record your success.
Find the flag in that file.