官术网_书友最值得收藏!

Network basics

Before we start trying to hack into networks, there are a few basics that we need to learn. What is a network? A network is a number of devices connected together so that they can share data. This data can be files, resources (such as on a home network), or just a way to connect to the internet.

All networks, Wi-Fi or wired, achieve this sharing of data by using the same principle—a device that acts as a server, which all of the devices communicate with. The server has access to the resources, and all of the other devices on the network can access the data from the server. On most Wi-Fi networks, the server is the router, and all devices connect to the router and access the internet through it. The only device on the network that is directly connected to the internet is the Wi-Fi router.

In the following diagram, clients 1, 2, and 3 have no access to the internet, but they can access it through the router:

For example, whenever Client 3 wants to open Google, it sends a request to the router. The router goes to the internet, grabs http://www.google.com, and forwards it back to Client 3. Client 3 does not have direct access to the internet—it has to go through the router, and the router grabs the request and sends the response back to the client. All of this data—requests and responses—is transferred through packets, so there are a number of packets being sent between clients and the router. In a Wi-Fi network, these packets are sent through the air, so they are broadcasted. If we are in the range of these packets, we can just sniff them, capture them, and read them, being able to see all of the information inside. All of this data—whether it's usernames, passwords, videos, audio, music, charts, and so on—is transferred as packets, and it's always transferred between the router and the client. So, if we capture the packets, we can read all of the information on our device.

主站蜘蛛池模板: 丹江口市| 交口县| 北碚区| 济源市| 绥德县| 万载县| 兴文县| 南投市| 怀仁县| 岳西县| 长泰县| 封丘县| 泉州市| 丰县| 乌海市| 阿克苏市| 偏关县| 栾城县| 台山市| 临桂县| 铜梁县| 云南省| 社旗县| 陈巴尔虎旗| 图们市| 长阳| 当阳市| 兴和县| 凤冈县| 金山区| 汽车| 甘孜县| 于都县| 准格尔旗| 班戈县| 驻马店市| 保定市| 安化县| 蓝田县| 克山县| 湖北省|