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

Time for action – sniffing wireless packets

Follow these instructions to begin sniffing packets:

  1. Power up our access point Wireless Lab which we configured in Chapter 1, Wireless Lab Setup.
  2. Start Wireshark by typing Wireshark& in the console. Once Wireshark is running, click on the Capture | Interfaces sub-menu:
  3. Select packet capture from the mon0 interface by clicking on the Start button to the right of the mon0 interface as shown in the preceding screenshot. Wireshark will begin the capture and now you should see packets within the Wireshark window:
  4. These are wireless packets which your Alfa Wireless card is sniffing off the air. In order to view any packet, select it in the top window and the entire packet will be displayed in the middle window:
  5. Click on triangle in front of IEEE 802.11 wireless LAN management frame to expand and view additional information.
  6. Look at the different header fields in the packet and correlate them with the WLAN frame types and sub-types you have learned earlier.

What just happened?

We just sniffed our first set of packets off the air! We launched Wireshark which used the monitor mode interface mon0 we have created previously. You will notice by looking at the footer region of Wireshark the speed at which the packets are being captured and also the number of packets captured till now.

Have a go hero – finding different devices

Wireshark traces can be a bit daunting at times, and even for a reasonably populated wireless network, you could end up sniffing a few thousand packets. Hence, it is important to be able to drill down to only those packets which interest us. This can be accomplished using filters in Wireshark. Explore how you can use these filters to identify unique wireless devices in the traces—bot access points and wireless clients.

If you are unable to do this, don't worry as this is the next thing we will learn.

主站蜘蛛池模板: 页游| 庆阳市| 天镇县| 措勤县| 垦利县| 敖汉旗| 嘉鱼县| 利辛县| 米脂县| 太湖县| 长武县| 新兴县| 竹山县| 元谋县| 元阳县| 廊坊市| 禄丰县| 昌都县| 银川市| 托克逊县| 普兰店市| 香河县| 安多县| 新田县| 潮安县| 吴川市| 靖安县| 吉林省| 报价| 蓝田县| 库伦旗| 白朗县| 莲花县| 宜兰市| 武城县| 白水县| 娄烦县| 安阳市| 台南市| 潜江市| 张家口市|