So the same results can be achieved for less than a hundred bucks without the risk of spending the rest of your life in jail?
s = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.getprotobyname("icmp"))
for address in addresses:
s.sendto(pkt, (address, 1))
s.close()
At the same time, I had tcpdump running, i.e. "tcpdump -i en1 icmp[icmptype] == icmp-echoreply" to capture the replies.