Python - 中间人

时间:2015-06-30 11:37:26

标签: python scapy man-in-the-middle

我想抓住计算机发送的数据包,修改并发送。我无法使用嗅探器,因为它会给我一份数据包副本。数据包本身已发送。 我想停止发送数据包,改变它然后发送它 - MitM攻击。

我怎么能用scapy来做?

1 个答案:

答案 0 :(得分:2)

What you need sounds more like a proxy. What kind of protocol you try to inject into? If it was HTTP it would be easy - take any HTTP proxy and mitm away.

Or you can use something like socksify, but I am not aware of anything working on Windows. Or you need something that works as a network driver.

You cannot easily achieve this with scapy if packets originate from YOUR computer. Example with scapy-arp-mitm is performing mitm on other computer communication.