如何使用 WinPcap 通过 C# 发送 ARP 数据包
我想通过C#发送“ARP中毒路由”的ARP数据包。我正在使用 SharpPcap(用于使用 winpcap)。如何使用 SharpPcap 或不使用 SparpPcap(使用其他库)执行此操作?
I want to send ARP packet for "ARP Poison Routing" through C#. I am use SharpPcap(for use the winpcap). How to do this with SharpPcap or without SparpPcap (with other library) ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

如果您需要 SharpPcap 的替代品,可以使用 Pcap.Net。
您需要做的就是构建一个EthernetLayer、ArpLayer 并使用PacketBuilder 构建数据包并发送它。
它简单、直接、容易做。
If you need an alternative for SharpPcap, you can use Pcap.Net.
All you need to do is build an EthernetLayer, ArpLayer and use the PacketBuilder to build a packet and send it.
It's simple, straight forward and easy to do.