Okay.
So our next step is fairly simple.
We just have to get the user command which when you have type 2 D is something for example move up or
down the directory.
And then once you have this gone we just have to send it to the commission to run this come and the
victim.
So in this lecture we are going to focus on reading getting the command from the user so to get them.
But we have to define and come on to the.
So I'm going to define.
Come on do you.
So this will read come on from the standard input.
It should be a full input output.
You read it and then hoist on this Judy.
So now we have a readout that we can use to get the user input.
So to simply get them then we have to use the command treated to read the string and then by extension
this elevator and somebody use it command the user come on would be I use uh come on and then we are
going to call it Ras since it contains speculation.
We did want to have this come on let's just check for an error.
You could do it and then you can see that on the go to feed.
Come on.
Okay.
Our next step is to send this using the connection.
So I'm going to call that and that right.
And then simply send this come on as it is.
Why'd you use the
one.
Now we are sending the command and then just check if the command is written properly or not.
So.
And then so we can say that and binds us to the matching mode that I am using all these statements I'd
print statement first to make it better to understand and debug the code.
You can skip this.
OK.
So that's it for this lecture in this picture we got the user input and then sent the user input to
our victim machine.