in reply to Re: recreate dsniff in perl
in thread recreate dsniff in perl

Actually, everything I want to do is already done in Ethereal. I'm writing my own sniffer engine in Perl. I'm not doing full decode of data, only gathering stats into a MySQL database for evaluation via SQL. The dsniff idea is a spinoff of that project. All I want to do is take the tcp payload data and figure out how to grab the GETs out of the stream. If you take my sample code and run it, you'll see what I'm faced with. I believe a regex would do the trick, but I just don't know that much about it yet. I guess that's where I'll start my reading. If you want to check out my sniffer project, go here. Thanks for the feedback.