Before we can start trying to hack into networks and break into them.
There's a few basics that we need to learn before we can do that.
So basically what is a network and that's what it is just a number of devices connected together.
They are connected together for a reason so that they can share data.
This data can be files can be resources.
It can be for example your home network.
Usually you use it to just access the Internet which is you can look at it as a resource or as a source
of data.
So all networks Wi-Fi or wired achieve this sharing of data using the same principle and that principle
is you need a device that acts as a server and then all devices communicate with the server so the server
has access to the resource and all the other devices on the network that are connected to the server.
Obviously they can access the data from the server so most Wi-Fi networks the server is the router and
all devices connect to this router and they access the Internet through the router.
So all the devices on the network have no access to the Internet as we can see in this diagram.
The only device in the network that is connected to the Internet is the Wi-Fi router.
All the other devices as we can see here we have client One and Two and Three.
They have no access to the Internet but they can access it by connecting to the router.
So whenever client three for example if it wants to open Google does come is going to send the request
to the router asking is OK I need google.com.
The router is going to go to the Internet.
Its going to grab Google dot com and then forward this back to Client Number three supplies number three
does not have direct access to the Internet.
It has to go through the router and the router is going to bring the request and send the response back
to client number 3.
Now all of this data requests and responses are transferred or transferred through back packets.
So you can imagine all these arrows are a number of packets being sent between the clients and the router
and involve Wi-Fi networks these packets are sent into the air.
So are broadcasted.
And if you're if you're within range with these pockets then you can just sniff them capture them and
read them and you'll you'll be able to see the information in there.
So all this data.
So whether it's user names passwords videos audio music charts all of that is transferred as packets.
And it's always transferred between the client and the router because the client has no access to the
Internet.
So if you capture these packets you'll be able to see all of this data transfer and you'll be able to
see all these passwords usernames emails videos all that you'll be able to capture it and read it on
your device.