Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想捕获我的计算机正在发送的数据包,修改并发送它。我不能使用嗅探,因为它给了我一个数据包的副本。数据包本身被发送。我想停止发送数据包,对其进行更改,然后将其转发 - 中间人攻击。
我怎样才能使用 scapy 呢?
你需要的听起来更像是一个代理。您尝试注入哪种协议?如果它是 HTTP,那将很容易——带走任何 HTTP 代理和 mitm。
或者你可以使用类似 socksify 的东西,但我不知道在 Windows 上有什么工作。或者你需要一些可以作为网络驱动程序的东西。
如果数据包来自您的计算机,您无法使用 scapy 轻松实现此目的。scapy-arp-mitm 的示例是在其他计算机通信上执行 mitm。