‫So the channel represents a logical data pipe that exists between the client and the server, in some
‫cases, the shell command in the interpreter session does not work.
‫In such cases, the channel command can be used to obtain the command lines.
‫So we are in a maternity session in Cali, if we type channel with no parameter, we get the help about
‫the usage of the command.
‫The parameter is to list the active channels same as a yellow parameter of the session's command, not
‫any active channel at the moment.
‫So the execute command runs a command on the target, if you run a command with no parameter again,
‫you will see the help manual of the command.
‫The usage of the execute command is here.
‫Name the file with f parameter and then the options come.
‫So f, to give the file name which will be run, I do interact with the process immediately uppercase
‫h to create the process hidden from view.
‫So the victim won't see anything.
‫Now, this is also important.
‫See, to create a channel.
‫So let's create a channel using the execute command.
‫Commander XY is the process we want, which is, as you know, the command line executable of Windows
‫systems.
‫S. To create a channel as a result of this execution abrogates each to create a hidden process.
‫Now, if we use the I parameter here, we directly interact with the channel created for this command.
‫Don't use the parameter right now.
‫OK, so hit enter to run the command.
‫A command not ICSI process has been created on the vector machine, and the Channel four is created
‫between the victim and us, so let's list the channels.
‫Here we have Channel four.
‫Do interact with the channel.
‫Use the parameter.
‫Here we have a command shell on the victim, dir.
‫To list the files and folders inside the current folder.
‫Once again, we can use control, seeks to terminate the channel or control Z keys to send the channel
‫to the background.
‫Now, another way to terminate a channel is using the channel command with the C parameter in a maturity
‫session.
‫Give the ID number with C and that's it.
‫We terminated the channel.