LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   tshark dump HTML page (https://www.linuxquestions.org/questions/linux-networking-3/tshark-dump-html-page-641305/)

adityaj123 05-10-2008 01:23 PM

tshark dump HTML page
 
Hi

I am trying to look for keywords in a html response (the html page ie)
via tshark. Now i have found that data-text-lines holds the HTML data
and I am trying to dump the data in this field:

tshark -r datadump -V -T text -Tfields -e data-text-lines

Where datadump is a libpcap dump of the n/w data.

Now all that gets printed out is the mime type text/html etc.. not the
whole page. How can i get it to dump the whole html page in ascii??
I can see the whole page in wireshark..but as tshark is going to be part of a script i need to achieve this with it.

Thanks and Regards

Aditya

PS: I know i can use the matches clause to look for patterns (via
PCRE) but i am interested in the complete html page too.


All times are GMT -5. The time now is 04:05 PM.