On 10 June 2011 20:43, Robin Wood <[email protected]> wrote:
>
> On Jun 10, 2011 8:33 PM, "Andrew Case"
> <[email protected]> wrote:
>>
>> There are pcap wrappers for ruby. Your easiest way would be to use the
>> pcap support and then you can just dump the tcp data section which
>> will have the HTML you want
>>
>
> Ye but it would just be nice to just give me HTML content rather than have
> to extract it myself.
>
> Robin
>
>> On Fri, Jun 10, 2011 at 12:56 PM, Robin Wood <[email protected]> wrote:
>> > Can anyone recommend a good Ruby gem for parsing HTML out of TCP network
>> > traffic?
>> >
>> > Background, I'm trying to pull some key information directly out of live
>> > network traffic to feed into more Ruby I've got waiting.
>> >

Been pointed at this by Chad:

http://rubypcap.svn.sourceforge.net/viewvc/rubypcap/examples/

The HTTP example does exactly what I'm looking for. Let the building begin!

Robin




>> > Robin
>> >
>> > _______________________________________________
>> > Pauldotcom mailing list
>> > [email protected]
>> > http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
>> > Main Web Site: http://pauldotcom.com
>> >
>>
>>
>>
>> --
>> Andrew Case
>> Senior Security Analyst @ Digital Forensics Solutions
>> http://www.digitalforensicssolutions.com
>> _______________________________________________
>> Pauldotcom mailing list
>> [email protected]
>> http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
>> Main Web Site: http://pauldotcom.com
>
_______________________________________________
Pauldotcom mailing list
[email protected]
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com

Reply via email to