Okay so now you move or go head to head get a machine then we will try to develop this download from
victim function.
So the first thing we need to do is you need to read the files a list of files that we are receiving
from our victim.
So to do this we first need to be a desktop.
So let's go to the victim machine for a moment and I'm going to copy this
and then I'm going to move over to my head that a machine and I'm just going to print it here.
So now we have a file stuck.
The next thing they need to do is I need to fill this file struct.
But before doing that I'm going to create an empty stack.
This should be all the files stored
was too and my list and then that moment we are going to be at an empty stack because we need to fill
it.
And then we need to define the connection decoder.
So I'm going to create and go up the code.
So go the decoder and then I'm being put forward.
That connection as that I.
Once we have that I'm going to use this decoder to decode this one struct.
Then it's going to be turned over.
Okay now we have successfully decoded this object.
The next thing we need to do is we need to simply print out so we can say for index and then why name
equals to range.
And then we're going to use these files to find.
So you're going to to all this.
And then we are simply going to print out what a piece.
I did.
And then
it begs us to.
And then I'm going to call this index slash too and I'm going to call it fine.
So I'm simply printing out name of files on the screen.
So the next thing I need to do is I need to ask the user selected one of the right to do this.
Let's do it in the next lecture.