Hi i am just learning perl for a company project they want me to make a pcap reader that puts the information into mysql.
I looked into what i would need and realized that tcpdumplog would be good for reading the pcap file but i am not sure where to go with the code to get it to save in record format to mysql.
So correct me if im not on the right track but this is what I was working with!
#!/usr/bin/perl
use Net::TcpDumpLog;
my $log = Net::TcpDumpLog->new();
$log->read("C:\Documents and Settings\jordant\My Documents\pcap\m1.pcap");
I still get an error with the above but wont that read my m1.pcap file? How do i get it to mysql format?
Any help is appreciated!
I looked into what i would need and realized that tcpdumplog would be good for reading the pcap file but i am not sure where to go with the code to get it to save in record format to mysql.
So correct me if im not on the right track but this is what I was working with!
#!/usr/bin/perl
use Net::TcpDumpLog;
my $log = Net::TcpDumpLog->new();
$log->read("C:\Documents and Settings\jordant\My Documents\pcap\m1.pcap");
I still get an error with the above but wont that read my m1.pcap file? How do i get it to mysql format?
Any help is appreciated!