How to do it...

Let's perform the following steps:

  1. Open Wireshark using the following command:
wireshark 

The output of the preceding command is shown in the following screenshot:

  1. Select the interface we want to capture traffic on:
  1. Then we click on Start. Display filters are used to see general packet filtering while capturing the network traffic:
 tcp.port eq 80

The output of the preceding command can be seen in the following screenshot:

  1. Applying the filter will show only the traffic on port 80. If we want to view requests only from ...

Get Kali Linux - An Ethical Hacker's Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.