Okay so now you know how to define contends.
The next thing need to do is you need to satisfy its contents and do very well.
So I'm going to call this variable as content
and then I'm going to try to use it as an give.
So now we have all the bytes stored in this very capable called content.
The next step is sorting out to do is to find out the land so we can simply use the Net function and
then queue the content type which is then simply in the ring of lights.
So it is going to return the point says
so now we have three elements defined contain the file size and the file name.
So what we want to do is we want to send out these two elements to our victim machine.
But before sending them we have to put these elements in the struct.
So I'm going to create a new Struct here
so let's call it die and then I'm going to call.
This is why you start since I'm trying to send off a so there are two teams in this fight the file name
it.
We have a string then file each year of your type in and the third thing is for your content.
And it would be a day by day we have our filing strike here.
The next thing we need to do is we need to set these values and then we will send this over to the victim
machine.
So we have no everything complete.
So you just need to set the values right before setting the release.
We should first create this struct I'm going to call this as F S file extract and then I'm going to
view this as a reference to this file struct so we have two categories defining when we find a name
which is is it this or then that's why size would be this one
and then find contain would be this content.
So now we have a file structure as a structure.
So now what we have to do is we need to encode this struct using the goblin or not.
And then we will send this word with publishing.
So what we can do is you can create a goldmine for that or you can call that and then we need to set
the collection that's going to return and of course that
and then simply we can use this encoder to encode and do it.
And then we can give this struct which is it's going to turn us
yet and and uh uh it's what people to continually print out the uh.
Call it and then simply.
Okay.
So the next step would be to check if the file has returned properly or not.
So we can do it here.
But before checking has been written properly or not since we have set the fire to the machine next
step we will move to the victim machine and start reading this file and pasting it into the victim's
machine and then we will know if we have filed it and successfully or not.
So in the next lecture we will move over to the Windows machine.