How to filter/sniff out web pages according to dat

2019-05-30 02:57发布

I am looking for information useful for my little project that allows me to sniff web page received from a web server and before it appear in the browser I will test the content (text),then according to this test,my program blocks(or redirects) the page in case the test is false...

I found a very complete library is scapy, he can sniff and forge all the traffic including http replies..

I found someone looking to do similar things , but the response suggested to develop a proxy..

my question is: Is what it takes make a proxy? or just scapy

1条回答
在下西门庆
2楼-- · 2019-05-30 03:52

Smarty,

To answer your question yes you can do this with scapy but essentially you will be creating a proxy in the process.

As a matter of fact your request is practically the definition of a web proxy server.

dc

查看更多
登录 后发表回答