Help for this page

Select Code to Download


  1. or download this
    use File::Which qw(which);
    $tshark_binary = which('tshark');
    $tshark_binary =~ s/\\/\\\\/g if $tshark_binary =~ /\\/;
    
  2. or download this
    system("\"$tshark_binary\" -r $pcap -e frame.number -e  frame.time_epo
    +ch -e ip.src -e ip.id -T text -T fields -E separator=, > $temp_file")
    +;