Now let's see how to use net cash to transfer all file between different devices.
One more time.
Those may be seem a simple task but actually we're going to see how to utilize those simple tasks while
we are doing any kind of attacks.
So to be able to do that we need to go here to my linux machine and type and see.
Sorry NC netiquette and we are going to connect to our Windows machine 1 9 2 1 6 8 1 2 1 0 9.
Then post 4 4 4 4 and then I can use the sign the sign in Linux mean redirect.
So whatever you are getting from this computer which is a Windows computer please redirected to a file
and you can limit anything.
So we're going to name it for instance test that 60 so you are redirecting any input.
I'm sorry anything that you will you will be receiving from the windows machine to a file called text.
Now let's go to the Windows machine.
I need to go to this specific location which is document and sitting on the C drive and admin because
I would be able to transfer depend about on which location are the prompt.
So will open my computer and I'm going to open the C drive document and sitting admin and I'm gonna
create a file here under any name.
So let's create the file a text file text to give it a go.
I'm going to name it for instance.
ABC
and let me write anything inside this file
save.
And let me make sure that the file has some data and I'm gonna type it the same comment which is NC
but I'm gonna open a listener here minus and V P and then we're gonna put the opposite side means that
the file will be taken from your which file file which is ABC dot t t.
So this could be an image.
This could be in visual whatever file.
Whoo.
So this comment is saying whoever connect to this port to forget to write the port just for 444.
So the comments here are saying whoever connect to port four four four four please give him this fight
and he will search for this file in the from this specific location.
I mean if the file were was on the desktop he will not be able to reach it.
So we have to put the file on the same location and here.
The file would be moved there but maybe under a different name you can put the same name or different
name it doesn't matter and let's see so we're going to click hit enter and now he's he open the port
and he's listening to the port and we can click here enter the singles net kids that it will not give
you a confirmation once the file is has been moved you have to check that yourself.
So in a sense this was not a big file you can open another terminal and you can type an S and most probably
you should find the file in here.
Yeah.
Test the text.
As you can see and if you opens a file.
You can do that even graphically.
Get
this
at 60 you will find the content of the file.
So again it's it's not that simple.
But the point is if I can successfully upload this net cat file to a Windows machine and run it remotely
I can do a lot of administrative tasks I can do a lot of moving file moving information so it's not
about this specific simple example just a proof of concept that I can use net cash to move file between
the two different devices and as I keep saying later on we're going to see how to utilize that.