‫File system commands of my interpreter are similar to the Linux shell commands.
‫Cat is used to read the content of the text files.
‫Well, you can use it with the binary files as well, but you'll see meaningless characters then.
‫A CD is to change directory.
‫If you want to change the location of the local system, which is calling for me, you can use LCD instead.
‫Download and upload commands are not similar to the Linux shell commands.
‫These commands are used to upload a file to the victim or to download a file from the victim.
‫And it opens a text editor to edit the specified file.
‫It looks like VI editor of Linux Systems.
‫Else is to list the files of the victim.
‫Now, m k the air is to create a directory.
‫M.V. is to move a file from one folder to another.
‫I'll give you a hint.
‫You can use this command to rename a file.
‫pWt is to print working directory of the victim, if you'd like to see the current location of the local
‫system you can use.
‫El pWt instead.
‫Our aim is to remove a specified file.
‫Armed air removes specified directory.
‫Now, as far as I can remember, you cannot remove a folder with this command unless it's empty.
‫Search is strange here.
‫It's used to search files in the victims file system.
‫There are several commands with different names in Linux, shell and interpreter.
‫You can use search command to find a file in the victim's system.
‫And if you remember, massive console has a search command which is used to find the modules exploited,
‫post modules, et cetera.
‫So do not confuse maturity or search command, which has a totally different purpose.
‫Let's see the file system commands in action.
‫So as you've recognized by now, I have my interpreter session income.
‫pWt tells me the working directory on the victim, and we are at the root of the partition.
‫See LP WD shows the working directory of the local system.
‫In this example, it's.
‫We're on the desktop of the user.
‫Else is used a list of files and folders inside the working directory here at the root of the C.
‫So we can change the current location using the CD command and go to Windows folder pWt to verify the
‫location.
‫Yep.
‫Working directory changed.
‫CD with a double dot brings us one folder up and we are again in the room to see.
‫So let's create a new folder.
‫New dirt using the murky dirt command.
‫Else to list the files and folders new dir is here is expected.
‫Go inside the new door using the CD command.
‫So I'm going to copy the text file located on the desktop of Kali into the new dirt folder of the victim.
‫So I'll use the upload command for this purpose.
‫The first parameter is the file being copied.
‫And the second parameter is the location on the victim's machine for copying.
‫Now don't forget to put the double backslash in the path.
‫So let's see if it's really uploaded.
‫Alas, yes.
‫And the file is here so we can see the contents of the file with the cat in.
‫I'll go back to the root of see again.
‫Now I want to copy the auto exact bad file from the victim to the local system collie so we can use
‫the download command for this purpose.
‫The first parameter is the file being copy.
‫And the second parameter is the location to put the file.
‫And I'll copy the file into the desktop of the root user.
‫OK, so here's the file.
‫Double click to open.
‫Well, it's empty.
‫This file is executed at the beginning of each boot, so if I call my back door here, I may have a
‫persistent back door on the machine, don't I?
‫I mean, you're the ethical hackers.
‫You should always think in this way, right?
‫So let's try to delete the new dirt folder, you know that we put a file in it so the folder is not
‫empty, but I want to see whether we can delete the folder when it's not empty.
‫Using the removed directory command.
‫Yes, the directory has been deleted.
‫And last, let's use the search function to find a file on the victim's system, so I'll search, for
‫example, kelp daddy acce file.
‫Oops.
‫We have to specify the fire with an f parameter.
‫Now here are the results.