This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

I basically want to type in a string to search a raw capture within Linux vs GUI. How is the possible? what are all the commands(within reason)?

asked 17 May '13, 13:14

Vurcos's gravatar image

Vurcos
1111
accept rate: 0%


You could try the following display filter:

frame contains "YourString"

either in the Wireshark GUI, or as value to the parameter "-R" when running tshark, e.g. tshark -r "capturefile.pcap" -R "frame contains \"YourString\"".

If you use quotation marks within a filter on the command line you need to escape them with a backslash, as seen in the example.

permanent link

answered 17 May '13, 17:00

Jasper's gravatar image

Jasper ♦♦
23.8k551284
accept rate: 18%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×549
×154
×100

question asked: 17 May '13, 13:14

question was seen: 3,335 times

last updated: 17 May '13, 17:00

p​o​w​e​r​e​d by O​S​Q​A