nf-cat - Net::Frame Cat tool
# printf "AAAAAAAAAAA" |nf-cat.pl -i eth0 -2R # printf "ffffffffffff00000000000088641100000100000021" | \ nf-cat.pl -i eth0 -2L ETH -v ETH: dst:ff:ff:ff:ff:ff:ff src:00:00:00:00:00:00 type:0x8864 PPPoES: version:1 type:1 code:0x00 sessionId:0x0001 PPPoES: payloadLength:0 pppProtocol:0x0021
This tool is like well-known netcat, but works at various layers. For example, you may send a raw string at layer 2, like in the first example SYNOPSIS.
You may also send fully crafted frames, like in the second example, where we inject an Ethernet frame which encapsulate a PPPoES layer.
Patrice <GomoR> Auffret
Copyright (c) 2006-2015, Patrice <GomoR> Auffret
You may distribute this module under the terms of the Artistic license. See LICENSE.Artistic file in the source distribution archive.
To install Net::Frame::Tools, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Frame::Tools
CPAN shell
perl -MCPAN -e shell install Net::Frame::Tools
For more information on module installation, please visit the detailed CPAN module installation guide.