如何动态编辑任何tcp数据包然后重新发送?

时间:2014-04-28 17:18:10

标签: c# networking tcp packets

Client Application     ====>               Server Application
                   Natural TCP Packets
Local Machine          ====>               Remote Machine 




Client Application     ====> INTERCEPTOR PACKETS   ===>        Server Application
                          Edited TCP Packets
Local Machine          ====> INTERCEPTOR PACKETS   ===>            Remote Machine 

我听说过分层服务提供商,但我不知道有什么要点开始

我的意思是编辑任何类型的数据包(http / https / rtmp / smtp / ....)

还是有任何工具可以做到这一点? 或者任何使用pcap库的C#? 或者使用TcpListener类?

这是我的记忆研究项目,任何帮助都将非常感谢!

1 个答案:

答案 0 :(得分:6)

我知道我的问题被好用户访问了13次,并且知道一些答案,所以这也适用于谁在搜索:

有很多工具可以解决这个问题但不幸的是unix operation system

1- Hex2Inject http://hexinject.sourceforge.net/

2 - ProxyShark http://code.google.com/p/proxyshark/

3- Scapy www.secdev.org/projects/scapy/

4 - mallory https://github.com/intrepidusgroup/mallory

5- netsed http://silicone.homelinux.org/projects/netsed/

所有这些工具都能够modify(编辑)packetprotocol fly re send on the wire的所有MAN IN THE MIDDLEhttp/https这是{{1}}

注意: {{1}} fiddler应该是http / https流量的最佳调试工具http://fiddler2.com

相关问题