in reply to transmit udp packets
To hack your MAC address, depending on platform, you may need to use Net::Pcap and the send methods. I'm thinking something similar to Python's scapy (http://www.secdev.org/projects/scapy/).
Fortunately, I wrote something based on the Net::Frame modules. You can find it here:
EDIT (20170918): fixed old links, now point to GitHub
https://github.com/vinsworldcom/PPCUPDATE:
Simple as:
VinsWorldcomC:\Users\VinsWorldcom\tmp\ppc> ppc -i "Wireless Network Co +nnection" Welcome to Perl Packet Crafter (PPC) Version: 1.02 Wireless Network Connection ppc> $r = srp (packet (ETHER(dst=>'00:11:22:33:44:55'), IPv4, UDP)); Sent => [Receive Timeout] ppc>
Receive timeout due to there being no 00:11:22:33:44:55 MAC address on my network.
In Section
Seekers of Perl Wisdom