File: eth-send.pl

package info (click to toggle)
libnet-libdnet-perl 0.990-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 404 kB
  • sloc: perl: 987; ansic: 311; makefile: 9
file content (8 lines) | stat: -rw-r--r-- 155 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
#!/usr/bin/perl
use strict; use warnings;

use Net::Libdnet::Eth;

my $h = Net::Libdnet::Eth->new(device => 'eth1');
print $h->get."\n";
$h->send('G'x60);