So...topic says it. I'm attempting to do something like ngrep (which for some reason isn't working on my pcaps). I'm trying to search for an item in a gzip encoded pcap, but I'm having a rough go of it. Here's what I've tried: tshark -o http.decompress_body:TRUE -r _test.pcap -R 'data-text-lines contains Commentary' But it's not seeming to fly. Any hints on how to look into an http body that's gzip'ed with tshark? I know I can do this with wireshark, but I'd like to do it with tshark on a remote machine. Thank you. asked 14 Aug '12, 10:22 DigiAngel |
One Answer:
Seems to work fine with me:
Do you have the following settings:
answered 14 Aug '12, 10:39 SYN-bit ♦♦ edited 14 Aug '12, 10:40 |
Yea that TOTALLY works...I think I needed to define my data-text-lines in single quotes..just what the doctor ordered...thank you.
Also please note that "contains" is case sensitive in the current version of Wireshark. It might not be in the future (as discussed at Sharkfest'12).