During the section we will be talking about some tools in Kelly Linux that is very very useful in penetration
testing not just Android penetration testing but any platform penetration Windows Android Unix anything.
And one of the best tools that I'm going to start with is called The Net cat and that cat.
We usually we usually refer to the hacker Swiss Army because of the amount of function and task it can
execute.
So we going to see how to utilize net cat and do not rush the result.
I mean later on you're going to see how you can utilize this knowledge in different attack.
So net get that it's a tool belting in Linux that can do many many feature.
It can open a port it can connect to a port.
It can scan it can transfer files between a different machine so if you know how to utilize those tools
it will really facilitate your penetration testing task.
So let's see how to use that.
Let's start with the Kelly Linux machine.
I have it to machine.
I have a Windows machine and a Linux machine.
This one's could be Windows 7 Windows 8 when you stand whatever windows just this or the windows that
I have in front of me but it doesn't matter what operating system you're using in Linux then it gets
built in while in Windows it's an external tool.
So let's open a terminal and let's see how to use net get net cat can be used by typing and see.
OK.
And if you need to know the difference switch that allow you to use Net cat how to scan how to open
a port just type net get a minus help sorry and it will show you all the steps or RAMS or all the switch
that can be used.
The users of net cat and each switch is doing what.
And so on.
So let's take a small example about that.
First I want to show you that I already have a Windows Net cat.
This is an external tool.
I mean it's not building in windows in Linux it's already built in but in Linux I download that from
the Internet and I put it inside a folder here we choose.
This is a net cat but to be able to use the Net cat from any place from any comment line.
I'm going to copy this net cat and put it inside the windows folder.
And by doing that I can open a command prompt and use it right away.
So we'll take first a small example of using net cat then we're going to see how to utilize it in different
ways.
This is the windows folder.
Let me copies in it cat here.
To be able to use it from the command prompt.
And then let's see.
So here we have two different computer.
The Linux computer IP is 1 9 2 1 6 8 2 1 2 1 0 9.
And the windows computer as a.
I'm sorry the Windows computer is 1 0 9 while Z in his lyrics computer.
I think it's 1 0 3.
I f config.
And as you can see is I'm sorry is 1 0 8.
So let's do a small example on how to utilize Netscape.
So from the windows machine I'm gonna type NC net get minus n this is for listening.
So I'm asking Zenith cat to listen from a port.
Then V this is verbose so everything will be clear while it's executing and then P which is the port
number and I can choose any port in my case somebody choose port 5 5 5 5 for instance.
And as you can see he open a port five five five and he start listening and waiting for a connection.
And from my linux machine let me just clear the screen so I can type and see and then the computer IP
1 9 2 2 2 1 6 8 dot sorry net cat and then 1 9 2 2 2 1 6 8 2 1 2 1 0 9 and the port number from where
it would be connected because what's going on here.
Well a Windows machine open a port which is Phi Phi Phi Phi and this machine would connect to the sport
and one two three four and let's see what will happen to take a few seconds.
And here we go.
We have a connection between those two machine.
Now just two tests that we can just type anything here.
And it will choose it and you can reply from here as well.
And it will.
It's not about that you are doing that to type high and high but the thing is that you are able now
to create a connection between those two computer later on you can see how can you change file between
them.
How can you execute comment and so on.
Another way for testing the is the connectivity are zero or not.
If you open another terminal and you type net state at the minus eight and to verifies that the connection
took place you should find the port which is 5 5 5 5.
It's very small but
Z.
So you should find a connection between the two machine 1 9 2 1 6 8 2 2 1 0 8
it just small so it's not easy to check but it should be there especially checks established one is
the established connection so you should be one of those.
Yeah.
Here you go.
So this is one knew.
Now what I'm saying is you realize this is zone.
So it shows that there is a connection between those two computer through bytes of 5 5.
Now how can we utilize that.
It can be utilized in different ways that we're going to see in different example in the upcoming video.
I can use that get to know some program what program are running on different portal what protocol are
running whole different port I can use that get to a change file between the two computer.
I mean if I can upload intensified net cat file to any victim machine I can use it to connect to his
machine and transfer between those two devices transfer files I can use net cat to execute comment on
remotely on different machine.
So what I want you to know so far is how to use the basic comment of net cat and during the upcoming
lessons you learn how to utilize it in a better way.