Help for this page

Select Code to Download


  1. or download this
    
    #!/usr/bin/perl
    ...
    $sniffer->run('alc0'); # uses the "best" default device
    
  2. or download this
    use Net::RawIP;
    
    ...
      $n->ethnew("alc0");
      $n->ethset(source => "$src_host", dest => "dst_host" );    
      $n->ethsend;