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
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. > > 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
