因为我可以实时拦截TCP数据包?

时间:2015-11-02 22:39:52

标签: c# sockets tcp packet

您好,我需要您的帮助 我碰巧拦截了通过过滤我的团队发送的所有TCP数据包,我想修改一个包含主机" example.com"并替换" localhost"。

他们知道C#中的任何例子吗?谢谢

例如以下标题

GET / tutorials / other / top-20-mysql-best-practices / HTTP / 1.1
Host: www.example.com
User-Agent: App 2.0
Accept: text / html, application / xhtml + xml, application / xml; q = 0.9, * / *; q = 0.8
Accept-Language: en-us, en; q = 0.5
Accept-Encoding: gzip, deflate

替换为:

GET / tutorials / other / top-20-mysql-best-practices / HTTP / 1.1
Host: localhost
User-Agent: App 2.0
Accept: text / html, application / xhtml + xml, application / xml; q = 0.9, * / *; q = 0.8
Accept-Language: en-us, en; q = 0.5
Accept-Encoding: gzip, deflate

0 个答案:

没有答案