go-adblock

码农软件 · 软件分类 · 常用工具包 · 2019-08-15 22:28:35

软件介绍

AdBlockPlus parser,匹配和透明的HTTP/ HTTPS代理

abpcheck:一个命令行实用程序验证AdBlockPlus规则,运行:
$ abpcheck easylist.txt
打印不能由 adblock package 进行解析的任何规则。

adblock:实现解析器和匹配的AdBlockPlus规则。

adstop:广告拦截透明的HTTP/ HTTPS代理。

它被设计为低功耗,低内存的ARM设备上运行,和服务几个客户,大多是老的智能手机不能运行广告拦截器本身。

使用前,必须配置您的设备和网络,使之作为一个透明代理访问。实现这一目标的方法之一是安装在服务器端VPN,而且所有HTTP/ HTTPS流量重定向到与路由规则的代理。然后,让通过VPN客户端浏览。

HTTPS过滤要求代理拦截设备流量和解密。为实现这一点,你必须生成一个证书,并将其添加到您的设备。

您还需要生成一个证书

$ adstop -http localhost:1080 \
	-https localhost:1081     \
	-cache .adstop			  \
	-max-age 24h			  \
	-ca-cert /path/to/ca.cert \
	-ca-key /path/to/ca.key   \ https://easylist-downloads.adblockplus.org/easylist.txt \
	some_local_list.txt

启动代理并使它监听HTTP端口1080,HTTPS端口1081,获取并从easylist和本地文件,缓存easylist在.adstop/目录下加载规则和每24小时刷新规则。

安装:

cd =/opt

git clone https://github.com/pmezard/adblock

export GOPATH=/opt/adblock/adstop

cd $GOPATH

go get

go build

目录下已经生成adstop应用程序

关于生成abpcheck步骤不再说明,参考上面的步骤,并重新更改GOPATH。

本文地址:https://codercto.com/soft/d/12454.html

Where Wizards Stay Up Late

Where Wizards Stay Up Late

Katie Hafner / Simon & Schuster / 1998-1-21 / USD 16.00

Twenty five years ago, it didn't exist. Today, twenty million people worldwide are surfing the Net. "Where Wizards Stay Up Late" is the exciting story of the pioneers responsible for creating the most......一起来看看 《Where Wizards Stay Up Late》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

SHA 加密
SHA 加密

SHA 加密工具

html转js在线工具
html转js在线工具

html转js在线工具