

Now, click “Find.” Below is the screenshot for the first click on “Find:”Īs we have selected “Packet list,” the search was performed inside the packet list. Note that we have disabled the coloring rule to see the search packet we selected more clearly. Now that you understood the options for searching, let us try out some examples.

If you click “Cancel,” then the search windows will close, and you need to return to follow Step 2 to get this search window back. This is the input for the search.Īfter the Label5 input is given, click the “Find” button to trigger the search. Here, we need to enter the search string. This label has different types of searches, such as “Display filter,” “Hex value,” “String,” and “Regular Expression.” For the purposes of this article, we will select “String” from this dropdown menu. It is recommended to keep this option unchecked unless it is required to change it. For example, if you search for “Linuxhint” and Label3 is checked, then this will not search for “LINUXHINT” in Wireshark capture. If “Case sensitive” is checked, then the string search will only find exact matches of the searched string.

It is recommended to keep this option as the default unless it is required to change it.īy default, this option is unchecked. We will keep this option as the default, as it is the best for common searching. Selecting section a/b/c means that the string will be done in that section only. There are three sections in the dropdown.įrom the below screenshot, you can see where these three sections in Wireshark are located: Follow the screenshot below for numbering: You can label these options with numbers for easy understanding. We can see multiple options (dropdowns, checkbox) inside the search window. Whichever option you use, the final Wireshark window will look like the screenshot below: Click “Find a packet” either from the outside icon or go to “Edit->Find Packet”Ĭheck out the screenshots to view the second option.

Step 1: Open Saved Captureįirst, open a saved capture in Wireshark. We can perform string search in live capture also but for better and clear understanding we will use saved capture to do this. Before going further in this article, you should have a general knowledge of Wireshark Basic.Ī Wireshark capture be in one state either saved/stopped or live. There are multiple options associated with string searches. In this article, you will learn how to search for strings in packets using Wireshark.
