So until this moment we have covered all the basics that is important for us.
In the case of networking body you could wonder why we need this type of information to gather in order
to work with the client in order to help the client.
So basically what happens is the most of the text that is available in the college Linux is when you
enter into the network.
So if the client and your machine which in this case it is obviously the color of Linux.
So if these two machines are in the same network then the hacking would be so much easier because there
is so many interface so many application that is available to attack the client.
If you are in the same network.
So first of all you have to gather the information about the network that the client is connected to.
And after that you can just sniff the packet and you can distract that package.
You can analyze that packet and get all the information and basically you can also hack the client from
the backdoor if you get enough information.
So we have already seen how to gather the information and all this stuff in the previous selector but
now in this Alexa we are going to talk about the interfaces that is available and the first one is the
man is more and another is the monitor mode.
So we have talk about the MAC addresses isn't is within learned how this iMac addresses is so much powerful
tool to get the packet delivered to the right position.
So the packet usually have these two headers in the form of source MAC addresses and distance and MAC
addresses which determines that the source is basically the machine or the.
Basically it is the source.
So with generous tax information and the destination age who receives that packet.
So there is a this addresses which is basically the MAC addresses and these are dedicated so that the
packet data mines are back it is it is to the actual position in the packet is not lost.
So that is the importance of MAC address as we saw in the previous letter.
But if you want to track the packets and if you want to get all the package information that is inside
that network it is not possible by the default mode because you have learned that in the default mode
of wireless configuration only the packet that has the destination MAC is only getting that access to
that packet.
But in this column Linux we want that access to the packet that is not only reaching to the college
Linux but we want the packet that is also going to enter the client or basically we want to get the
packet that is also sent to maybe the client machine or a hacker machine or basically a hacker machine
is discolored Linux so obviously we are getting the packet that is that is to the college Linux but
not only that we want to get the packet that is reaching to the client side or that is reaching to Windows
machine or the machine that is going to be victim.
So we want to get every information of the packet that is reaching to the client missing.
So let's see how we can do that.
So first of all what you need to do is open the terminal and here.
If I say I look unfit you are going to get the information about the interfaces you have connected.
So I have this sort of land zero which is a wireless network adapter so I have connected and you could
see here that the more man is more.
So there is a two type of mode so one more is a man is more and another is a monitor more.
So this man is more is a default configuration that means the packet that is sent only to the college
Linux is only can be it is only responsible to send a packet only to the college Linux so we cannot
monitor.
Basically we cannot get it says are basically we cannot get any information regarding to the packet
that is sent to the end of the Amazon we are only getting the packet that is sent to this machine or
to the college next.
But if I want to snip the packet that is sent in this window machine then it is not possible because
wearing in this man is what we had in this management and the man is more is a default more it is not
going to do anything about the information that is sent to the other machine.
So first of all if you want the information that is sent to this machine which is this window machine
you have to first connect to the same network because it in this case we are going to snip the packet
and that that is the main reason that we want to get the information about the network.
So in order to get information out in order to hack the network will just talk about some of the ways
in the little Lexis.
But for now let's talk about these two more.
So first of all you could see we have the man is more and it is a default mode that we are not getting
any information of the package that is sent to another machine on the same network.
We are getting only the information that is sent to discuss limousine.
So that is a man is more.
So another mode is very important more and that is a monitor mode.
So what happens in a monitor mode is we are now able to get any information that is on the packet which
is sent to other client are basically two other computer that is connected to the same network.
So that is a monitor mode so you have two things.
This moored to the monitor more if you want to get the information of a packet that is sent across the
Wi-Fi rings are basically not only this window missing not only this window if any other devices maybe
the mobile devices is connected to the network that is to the same network.
It will also capture that information that is sent from that mobile network or that is received by that
mobile.
So in order to teens we have these obligation here is easier more Nancy.
So this is going to change our management to the monitor more.
So this is the application.
So first of all let me just inter Ehrman Enzi and let me just hit enter and you are going to get the
information about the interface over here and the chief.
So this is my USP connection and you could see the drive over here interface is w land zero and it is
management.
It has not been tends to the monitor mode so you can see the information right here.
So if you want to change now from these same management to the our money monitor more which is able
to capture all the information in Apple already the importance of the monitor more so now.
If you want to change it you first type Ehrman Enzi.
It is the application and after that we'll just say you start double land zero.
So this is our interface of land zero any weight into it is going to kill the network manager the client
and everything.
So these are the application or a process that is going to give us the Internet connection.
So now you could see clearly we are now in the man is more are basically we have teams from the management
to the manager a motorway here and it is normal to get cut off from the network cases.
So if I just run the Firefox then let me say I want to go to maybe YouTube then you could see I'm getting
this Internet access but it is not from this w land zero it is from the end of the interface.
And in this case if I say I have config then you see we don't have any connection from this w Lindsey
Ramone which is my monitor mode we are getting this Internet connection from this to your zero so you
will have the Internet connection but it is not from now network interfaces because our network interfaces
is down.
So that is importance of this part.
So next thing what you need to know is if you want to get any information that is sent over this way
for friends you have to be in these monitor mode and after you get into the monitor more you'll get
cut off from the Internet connection but if you have any other interface that is active you will obviously
get that Internet connection like we see in our lexicon.
So next thing what you need to do is if I now say that is I have a W config and this is going to give
information about these interfaces and I'll just say w lan zero.
So in your case this monitor mode can have a different name.
In your case it can be something like more than zero.
So this can be also the next to monitor more.
So what you need to do is simply type I have config and see what this w n0 it sends to.
So in my case it is w Lindsey Roman.
It can be more than zero for a case like this and if it is also the W line 0 1 then you will see that
fade into now you could clearly see our more has been tense from the man is more to the monitor mode
now we can get information of all the packet that is not only sent to us but it is also sent are basically
the packet that is sent to this machine or any machine that is connected to this network or to this
IP host or IP rings or Wi-Fi and what it will call.
So the more two things are from the management is by using this element and the application will see
also the next technique in the upcoming lecture but it is the simple and most effective way to things
from the default mode of man is more to the monitor mode and this will be that for this lecture soon
the next one.