Ethereal-users: RE: [Ethereal-users] Export decoded html source to separate file

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Josh <mobile@xxxxxxxxxxxx>
Date: Wed, 14 Jun 2006 10:15:21 -0500
Could you help me out with that?

Before anyone shoots me, I DID look it up.  I "RTFM" as it were  :)  

I want to capture the decoded packets at htm files, or even text files that I can batch-rename to .htm if I have to.

This is what i've come up with, assuming my lan card is interface #1:

Tethereal -d tcp.port==80,http -f http -i 1 -l -V

Is that anywhere close?  I don t see where to speciify an output file nomenclature except when -w is used, But the insructions say not to use -w.

(instruction I refer to are athttp://www.ethereal.com/docs/man-pages/tethereal.1.html )

Am I way off?  Thanks for all the help!


-----Original Message-----
From: "Jaap Keuter" <jaap.keuter@xxxxxxxxx>
To: "Ethereal user support" <ethereal-users@xxxxxxxxxxxx>
Sent: 6/14/06 1:08 AM
Subject: RE: [Ethereal-users] Export decoded html source  to separate file

Hi,

I guess you could script it with tethereal.

Thanx,
Jaap

On Tue, 13 Jun 2006, Josh wrote:

> Okay, I tried that method and it works like a champ... But it is VERY
> slow.  Ethereal seems to take forever to display the line-based text
> data line.
>
> Plus one at a time kinda stinks.  Is there a way to automate this?  Even command-line?
>
> -----Original Message-----
> From: "Jaap Keuter" <jaap.keuter@xxxxxxxxx>
> To: "Ethereal user support" <ethereal-users@xxxxxxxxxxxx>
> Sent: 6/13/06 10:22 AM
> Subject: Re: [Ethereal-users] Export decoded html source  to separate file
>
> Hi,
>
> Select the HTTP content by selecting the Line-based text data line.
> This presents the decoded data in the lower pane and selects them all.
> Then right click somewhere on the right side in the lower pane and select
> Export selected bytes... Then all bytes of the payload can be exported to
> a file which you can call foo.html. Open foo.html in you webbrowser and if
> all is there the page appears.
>
> Oke, it clumsy, but for simple pages it works.
>
> Thanx,
> Jaap
>
> On Tue, 13 Jun 2006, Josh wrote:
>
> > I have some captured packets containing web pages with html and
> > gzipped content. I've figured out how to view the gzipped data as html
> > text using the HTML section of the Tree view. But instead of reading source
> > html, I'd like to see the rendered page. Is there a way to export the
> > decoded html shown in that section of the tree to a separate file (for
> > example .htm) so I can view it in a browser? Or is there a part of
> > Ethereal that will display this content natively, that I haven't seen?
> > Windows user (and newbie) by the way. Thanks!
> >
> >
>
> _______________________________________________
> Ethereal-users mailing list
> Ethereal-users@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-users
>
>
> _______________________________________________
> Ethereal-users mailing list
> Ethereal-users@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-users
>
>

_______________________________________________
Ethereal-users mailing list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users


_______________________________________________
Ethereal-users mailing list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users