如何根据包含的数据(文本)过滤/嗅探网页? [英] How to filter/sniff out web pages according to data(text) contained?

查看:71
本文介绍了如何根据包含的数据(文本)过滤/嗅探网页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找对我的小项目有用的信息,该信息使我可以嗅探从Web服务器接收到的网页,并且在它出现在浏览器中之前,我将测试内容(文本),然后根据此测试,我的程序块(或重定向)页面,以防测试为假...

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...

我发现一个非常完整的库是 scapy ,他可以嗅探并伪造包括http回复在内的所有流量.

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

推荐答案

聪明,

要回答您的问题,可以用scapy做到这一点,但实际上您将在此过程中创建代理.

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

事实上,您的请求实际上是Web代理服务器的定义.

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

dc

这篇关于如何根据包含的数据(文本)过滤/嗅探网页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆