diff --git a/scripts/lib/black_domain_list.enc.php b/scripts/lib/black_domain_list.enc.php new file mode 100644 index 00000000..8cf182fb Binary files /dev/null and b/scripts/lib/black_domain_list.enc.php differ diff --git a/scripts/lib/black_domain_list.php b/scripts/lib/black_domain_list.php index c0148590..dad330e6 100644 --- a/scripts/lib/black_domain_list.php +++ b/scripts/lib/black_domain_list.php @@ -1,1611 +1,2 @@ array('openvpn.f2pool.com'), - 'gepush.com' => array('gepush.com'), - 'cnzz.com' => array('cnzz.com'), - 'cnzz.net' => array('cnzz.net'), - 'cnzz.cn' => array('cnzz.cn'), - 'inmobi.cn' => array('inmobi.cn'), - 'aliapp.org' => array('aliapp.org'), - 'snssdk.com' => array( - 'bds.snssdk.com', - 'xlog.snssdk.com', - ), - '51togic.com' => array( - 'customstat.video.51togic.com', - 'ad.video.51togic.com', - 'backup.customstat.video.51togic.com', - - ), - 'amazonaws.com' => array( - 'checkip.amazonaws.com', //获取真实外网ip接口 - ), - 'irs03.com' => array( - 'irs03.com', - ), - 'bcelive.com' => array( - 'httpdns.bcelive.com', //一个不支持https的httpdns服务,并不能反制运营商劫持 - ), - 'tencentmusic.com' => array( - 'ad.tencentmusic.com', - ), - 'qq.com' => array( - 'bugly.qq.com', - 'openmsf.3g.qq.com', - 'mtrace.qq.com', - 'btrace.qq.com', - 'mark.l.qq.com', - 'report.qq.com', - 'rcgi.video.qq.com', - 'rlog.video.qq.com', - - ), - 'openstorage.cn' => array( - 'iflyad.bjb.openstorage.cn' - ), - 'cmpassport.com' => array( - 'log1.cmpassport.com', - 'log.cmpassport.com', - ), - 'analysys.cn' => array('analysys.cn'), - 'mob.com' => array('mob.com'), - 'szy.cn' => array('dtlog.szy.cn'), - 'adview.cn' => array('adview.cn'), - 'wrating.com' => array('wrating.com'), - 'umengcloud.com' => array('umengcloud.com', 'ulogs.umengcloud.com'), - 'umeng.com' => array('umeng.com', 'alogs.umeng.com'), - 'umeng.co' => array('umeng.co'), - 'dftoutiao.com' => array('dftoutiao.com'), - 'miaozhen.com' => array('miaozhen.com'), - 'rubiconproject.com' => array('rubiconproject.com'), - 'adsame.com' => array('adsame.com'), - 'hexun.com' => array('hxsame.hexun.com'), - '2345.com' => array('2345.com'), - '51.la' => array('51.la'), - '55.la' => array('55.la'), - 'ddns.name' => array('ddns.name'), - '7clink.com' => array('7clink.com'), - '88shu.cn' => array('88shu.cn'), - '51yes.com' => array('51yes.com'), - '3393.com' => array('3393.com'), - 'zedo.com' => array('zedo.com'), - 'admaster.com.cn' => array('admaster.com.cn'), - 'adpush.cn' => array('adpush.cn'), - 'adsage.com' => array('adsage.com'), - 'allyes.cn' => array('allyes.cn'), - 'allyes.com' => array('allyes.com'), - 'allyes.com.cn' => array('allyes.com.cn'), - 'baifendian.com' => array('baifendian.com'), - 'banmamedia.com' => array('banmamedia.com'), - 'behe.com' => array('behe.com'), - 'dnset.com' => array('dnset.com'), - 'yiqifa.com' => array('yiqifa.com'), - 'kankan.com' => array('cpm.cm.kankan.com', 'float.kankan.com', 'stat.kankan.com'), - 'oadz.com' => array('oadz.com'), - 'dopa.com' => array('dopa.com'), - 'dopa.com.cn' => array('dopa.com.cn'), - 'ok365.com' => array('ok365.com'), - 'adwo.com' => array('adwo.com'), - 'doubleclick.net' => array('doubleclick.net'), - 'youmi.net' => array('youmi.net'), - 'openxt.cn' => array('openxt.cn'), - 'adk2x.com' => array('adk2x.com'), - 'inmobi.com' => array('inmobi.com'), - 'alimama.cn' => array('alimama.cn'), - 'alimama.com' => array('alimama.com'), - 'appjiagu.com' => array('appjiagu.com'), - 'amazon-adsystem.com' => array('amazon-adsystem.com'), - 'adnxs.com' => array('adnxs.com'), - 'linezing.com' => array('linezing.com'), - 'atdmt.com' => array('atdmt.com'), - 'flurry.com' => array('flurry.com'), - 'adfuture.cn' => array('adfuture.cn'), - 'icast.cn' => array('icast.cn'), - 'cooguo.com' => array('cooguo.com'), - 'adsmogo.com' => array('adsmogo.com'), - 'wooboo.com.cn' => array('wooboo.com.cn'), - 'domob.cn' => array('domob.cn'), - 'advertising.com' => array('advertising.com'), - 'admob.com' => array('admob.com'), - 'appsflyer.com' => array('appsflyer.com'), - 'authedmine.com' => array('authedmine.com'), - 'coin-hive.com' => array('coin-hive.com'), - 'coinhive.com' => array('coinhive.com'), - 'igexin.com' => array('igexin.com'), - 'tanx.com' => array('tanx.com'), - 'smartadserver.com' => array('smartadserver.com'), - 'imrworldwide.com' => array('imrworldwide.com'), - 'fastclick.net' => array('fastclick.net'), - 'tourstogo.us' => array('tourstogo.us'), - 'barginginfrance.net' => array('barginginfrance.net'), - 'butlerelectricsupply.com' => array('butlerelectricsupply.com'), - 'cruisingsmallship.com' => array('cruisingsmallship.com'), - 'frost-electric-supply.com' => array('frost-electric-supply.com'), - 'iptvdeals.com' => array('iptvdeals.com'), - 'baidu.com' => array( - 'tuisong.baidu.com', - 'usp1.baidu.com', - 'sync.mobojoy.baidu.com', - 'api.mobojoy.baidu.com', - 'js.mobojoy.baidu.com', - 'plugin.mobopay.baidu.com', - 'dj1.baidu.com', - 'isite.baidu.com', - 'sjh.baidu.com', #367 - ), - 'youdao.com' => array('corp.youdao.com'), - 'crsspxl.com' => array('crsspxl.com'), - 'talkingdata.net' => array('talkingdata.net'), - 'kejet.net' => array('kejet.net'), - 'moad.cn' => array('moad.cn'), - 'images9999.com' => array('images9999.com'), - 'histats.com' => array('histats.com'), - '51maiwanju.com' => array('51maiwanju.com'), - 'xiaomi.com' => array( - 'data.mistat.intl.xiaomi.com', - 'data.mistat.xiaomi.com', - 'ad.intl.xiaomi.com', - 'ad.xiaomi.com', - 'admob.xiaomi.com', - ), - 'zhihu.com' => array( - 'lc-push.zhihu.com', - 'sugar.zhihu.com', - 'appcloud2.in.zhihu.com', - 'appcloud2.zhihu.com', - 'zhihu-web-analytics.zhihu.com', - 'event.zhihu.com', - 'udd1i5.zhihu.com', #395 - ), - 'crashlytics.com' => array( - 'crashlytics.com' - ), - 'musical.ly' => array( - 'log2.musical.ly', - 'log.musical.ly', - 'applog.musical.ly', - ), - 'adjust.com' => array( - 'adjust.com' - ), - 'kuyun.com' => array( - 'kuyun.com' - ), - 'shareinstall.com.cn' => array( - 'shareinstall.com.cn' //移动广告商 - ), - 'apple.com' => array( - 'iadsdk.apple.com', - 'banners.itunes.apple.com', - 'iad.apple.com', - ), - '51y5.net' => array( - '51y5.net', //wifi万能钥匙的推广 - ), - 'com.com' => array( - 'com.com', //来自ublock的规则,恶意域名 https://isc.sans.edu/diary/.COM.COM+Used+For+Malicious+Typo+Squatting/20019 - ), - 'consensu.org' => array( - 'consensu.org', //广告网址,例如:https://vendorlist.consensu.org/vendorlist.json - ), - 'dnvod.tv' => array( - 'dnvod.tv', //官网显示 此域名已停止服务 游戏业务暂停运营 - ), - 'gentags.net' => array( - 'gentags.net', //第三方监测,例如:clk.gentags.net - ), - 'mydas.mobi' => array( - 'mydas.mobi', //移动广告商 - ), - 'soarfi.cn' => array( - 'soarfi.cn', - ), - 'starwave.com' => array( - 'starwave.com', - ), - 'tradetracker.net' => array( - 'tradetracker.net', //广告联盟 - ), - 'uol.com.br' => array( - 'uol.com.br', - ), - 'rambler.ru' => array( - 'rambler.ru' - ), - 'zhanzhang.net' => array( - 'zhanzhang.net', //网络推广 - ), - 'adroll.com' => array( - 'adroll.com', //广告商 - ), - 'cnbanbao.com' => array( - 'cnbanbao.com', //网络推广 - ), - '4u.pl' => array( - '4u.pl', //访问统计 - ), - 'minisplat.cn' => array( - 'minisplat.cn', - ), - 'bdurl.net' => array( - 'dig.bdurl.net', //数据收集 - ), - 'id1.cn' => array( - 'id1.cn', //钓鱼网站 - ), - 'ts166.net' => array( - 'ts166.net', //广告联盟 - ), - 'unity3d.com' => array(//u3d广告平台 - 'unityads.unity3d.com', - 'cdp.cloud.unity3d.com', - 'data-optout-service.uca.cloud.unity3d.com', - 'thind-gke-euw.prd.data.corp.unity3d.com', - ), - - 'miui.com' => array( - 'hot.browser.intl.miui.com', - 'activity.browser.intl.miui.com', - 'adv.sec.intl.miui.com', - 'adv.sec.miui.com', - 'api.brs.intl.miui.com', - 'api.newsfeed.intl.miui.com', - 'huangye.miui.com', - 'browser.miui.com', - - ), - 'jd.com' => array( - 'mercury.jd.com', //大数据收集,用户行为埋点上报 - 'wl.jd.com', - 'blackhole.m.jd.com', // #428 - 'firevent.jd.com', // #428 - ), - 'ixigua.com' => array( - 'v3-ad.ixigua.com', //移动广告 - ), - 'huan.tv' => array( - 'ads.huan.tv', //广告 - ), - - 'kingsoft-office-service.com' => array( - 'abroad-ad.kingsoft-office-service.com', - ), - 'amap.com' => array('logs.amap.com','dualstack-logs.amap.com'), - 'tt114.net' => array('tt114.net'), //例如http://www.tt114.net/html/tlink.html - 'taobao.com' => array( - 'ip.taobao.com', - 'fourier.taobao.com', - 'accscdn.m.taobao.com', - 'acs.m.taobao.com', - 'acs.wapa.taobao.com', - 'openjmacs.m.taobao.com', - ), - 'aiclk.com' => array('aiclk.com'), - '5ubei.com' => array('5ubei.com'), //统计类例如http://dnm.5ubei.com:7098/hlink.html - 'jpush.cn' => array('jpush.cn'), - 'jpush.io' => array('jpush.io'), - 'jiguang.cn' => array('jiguang.cn'), - 'easytomessage.com' => array('easytomessage.com'), //极光SDK - 'getui.com' => array('getui.com'), - 'getui.net' => array('getui.net'), - 'jumei.com' => array('adxapi.jumei.com', 'sd.int.jumei.com', 'sd.jumei.com'), - '92caijing.com' => array('92caijing.com'), //广告联盟 - 'mm100.com' => array('mm100.com'), //广告联盟 - 'juyoufan.net' => array('juyoufan.net'), //博彩类 - 'hpplay.cn' => array( - 'imdns.hpplay.cn', - 'vipauth.hpplay.cn', - 'sl.hpplay.cn', - 'hotupgrade.hpplay.cn', - 'tvapp.hpplay.cn', - 'image.hpplay.cn', - 'gslb.hpplay.cn', - 'adeng.hpplay.cn', - 'conf.hpplay.cn', - 'adcdn.hpplay.cn', - 'pin.hpplay.cn', - 'rp.hpplay.cn', - ), //广告下发 #306 - 'hpplay.com.cn' => array( #306 - 'h5.hpplay.com.cn', - 'cdn.hpplay.com.cn', - ), - 'cibn.cc' => array( #306 - 'hpplay.cdn.cibn.cc', - ), - 'supersonic.com' => array('logs.supersonic.com'), //交叉推广平台 - 'advmob.cn' => array('advmob.cn'), //交叉推广平台 - 'adnexus.mobi' => array('adnexus.mobi'), //广告平台 - 'mobileapptracking.com' => array('mobileapptracking.com'), //广告追踪 - '360in.com' => array('360in.com'), //广告追踪 - 'ad4.com.cn' => array('ad4.com.cn'), //广告商 - 'adform.com' => array('adform.com'), //广告商 - 'adgoji.com' => array('adgoji.com'), //广告商 - 'adups.com' => array('adups.com'), //大数据收集 - 'crasheye.cn' => array('crasheye.cn'), //大数据收集 - 'adcome.cn' => array('adcome.cn'), //广告服务 - 'adsunflower.cn' => array('adsunflower.cn'), //广告服务 - 'bsclink.cn' => array('sdk.appadhoc.com.bsclink.cn'), //统计数据 - 'diditaxi.com.cn' => array('static.diditaxi.com.cn'), //统计数据 - 'dotui.cn' => array('dotui.cn'), //推送广告 - 'droid4x.cn' => array('log.droid4x.cn', 'mtlog.droid4x.cn', 'nlog.droid4x.cn'), //日志收集 - 'fmobi.cn' => array('api.sdk.fmobi.cn'), //广告sdk - 'ht55.cn' => array('ht55.cn'), //赌博恶意网址 - 'huidakms.com.cn' => array('huidakms.com.cn'), //恶意网址 - 'immob.cn' => array('immob.cn'), //恶意网址 - 'inmobicdn.cn' => array('inmobicdn.cn'), //广告商 - 'inmobicdn.com' => array('inmobicdn.com'), //广告商 - 'inmobicdn.net' => array('inmobicdn.net'), //广告商 - 'intely.cn' => array('intely.cn'), //营销服务商 - 'lomark.cn' => array('lomark.cn'), //营销服务商 - 'p0y.cn' => array('p0y.cn'), //大数据服务商 - 'superads.cn' => array('superads.cn'), //广告商 - 'tv2phone.cn' => array('appwall.tv2phone.cn'), - 'vivo.com.cn' => array( - 'adlog.vivo.com.cn', - 'adreq.vivo.com.cn', - 'adsdk.vivo.com.cn', - 'adsstatic.vivo.com.cn', - 'adxlog.vivo.com.cn', - 'stnetsdk.appstore.vivo.com.cn', - 'monitor-stsdk.vivo.com.cn', - 'onrt-stsdk.vivo.com.cn', - 'ort-stsdk.vivo.com.cn', - 'pnrt-stsdk.vivo.com.cn', - 'prt-stsdk.vivo.com.cn', - 'stnetsdk.vivo.com.cn', - 'stsdk.vivo.com.cn', - 'vcardsdkservice.vivo.com.cn', - ), - 'vnet.cn' => array('vnet.cn'), //互联星空 - 'wannaplay.cn' => array('h5.wannaplay.cn'), //游戏广告 - 'waps.cn' => array('waps.cn'), //广告商 - 'yomob.com.cn' => array('yomob.com.cn'), //移动视频广告 - 'kochava.com' => array('kochava.com'), //移动大数据收集 - 'supersonicads.com' => array('supersonicads.com'), //广告聚合平台 - 'voodoo-ads.io' => array('voodoo-ads.io'), //广告平台 - 'voodoo-analytics.io' => array('voodoo-analytics.io'), //数据收集 - 'voodoo.io' => array('crosspromo.voodoo.io'), //交叉推广 - 'inner-active.mobi' => array('inner-active.mobi'), //广告追踪 - 'adtilt.com' => array('adtilt.com'), //隐私收集 - 'nextmedia.com' => array( - 'imp.nextmedia.com', //行为追踪 - 'dev.imp.nextmedia.com', - 'dev-imp.nextmedia.com', - ), - 'sdo.com' => array( - 'aa.sdo.com',//行为追踪 - 'dfp.aa.sdo.com', - 'snyu.sdo.com', - ), - 'wasu.cn' => array( - 'acsystem.wasu.cn', //广告系统 - ), - 'sandai.net' => array( - 'cpm.cm.sandai.net', //cpm广告 - ), - 'cdndm.com' => array( - 'by.tel.cdndm.com', //行为收集 - ), - 'zol.com.cn' => array( - 'p.zol.com.cn', //统计脚本 - ), - 'adm668.com' => array( //不良投注网站 - 'adm668.com', - 'www.adm668.com' - ), - 'jiguangzhuisu.com' => array( - 'jiguangzhuisu.com', //怀疑是恶意网站,例如https://etc.jiguangzhuisu.com/701f41a599cdbf67cea081ed9abda6ee.js - //例如 https://etc.jiguangzhuisu.com/act.html - 'etc.jiguangzhuisu.com', - ), - 'aliyuncs.com' => array( - 'sspmiaoshuo.cn-hangzhou.log.aliyuncs.com', //日志收集 - 'arms-retcode.aliyuncs.com', - ), - - '186078.com' => array( - 'api.186078.com', - '186078.com', //行为追踪,在https://etc.jiguangzhuisu.com/701f41a599cdbf67cea081ed9abda6ee.js - ), - - 'iask.cn' => array( - 'iask.cn', //广告服务商 - 'pic.iask.cn', - ), - - 'iask.com.cn' => array( - 'iask.com.cn', //广告服务商 - 'dw.iask.com.cn', - ), - - 'dushu.io' => array( - 'advertising.dushu.io', //广告域名 - ), - - 'unitychina.cn' => array( - 'config.unityads.unitychina.cn', - 'unityads.unitychina.cn', - ), - - 'upltv.com' => array( - 'ads-sdk-cn.upltv.com', - 'a-sta-cn.upltv.com', - 'ads-sdk.upltv.com', - 'report-ads-sdk.upltv.com', - 'c-sta-cn.upltv.com', - ), - - //上传分享wifi密码 - 'ggsafe.com' => array( - 'ggsafe.com', - 'wifi.ggsafe.com', - ), - '2345.cn' => array( - '2345.cn', //广告联盟 - 'dl.2345.cn', - 'download.2345.cn', - 'houtai.2345.cn', - 'jifen.2345.cn', - 'jifendownload.2345.cn', - 'minipage.2345.cn', - 'wan.2345.cn', - 'zhushou.2345.cn', - ), - '19869.com' => array( - '19869.com', - 'a.19869.com', - 'b.19869.com', - ), - '1drj.com' => array( //第三方劫持 - '1drj.com', - 'md.1drj.com', - 'xs.1drj.com', - ), - - - //一窝恶意劫持搞推广的域名 - 'duoroumao.cn' => array( - 's.duoroumao.cn', //广告分发,例如https://s.duoroumao.cn/yxs191.js - 'duoroumao.cn', - ), - 'geakr.com' => array( - 'geakr.com', //广告 例如:https://www.geakr.com/tkl/cp.js?channel_id=3 - 'www.geakr.com', - ), - 'qichetiemo.info' => array( - 'qichetiemo.info', - 'about.qichetiemo.info', //广告,例如 https://about.qichetiemo.info/apf/mkdjJSjcs113 ,此页面有js加密代码,应属于恶意网站 - ), - 'bbhyqp.com' => array( - 'bbhyqp.com', //“澳门真金”。。推广页面 例如 https://bbhyqp.com/mifiqp/index.html - ), - 'sntzq.com' => array( - 'sntzq.com', //https://c.sntzq.com/init/proxy.html?v=1.2 - 'c.sntzq.com', - ), - '35kds.com' => array( - '35kds.com', - 'n.35kds.com', //https://n.35kds.com/Exposead/index/?re= - ), - 'mobaders.com' => array( - 'mobaders.com', //行为统计,例如http://d1.mobaders.com/cnzzA/1260857752 - 'd1.mobaders.com', - 'd2.mobaders.com', - 'd3.mobaders.com', - 'd4.mobaders.com', - 'd5.mobaders.com', - 'd6.mobaders.com', - 'd7.mobaders.com', - 'd8.mobaders.com', - 'd9.mobaders.com', - ), - '61677.com' => array( //澳门新葡京 - '61677.com', - 'www.61677.com', - ), - '111ol.com' => array( - '111ol.com', - 'www.111ol.com', - '111ol.111ol.com', - ), - '61677c.com' => array( - '61677c.com', - ), - 'www-61677.com' => array( - 'www-61677.com' - ), - '11599jgj.com' => array( - '11599jgj.com', - 'www.11599jgj.com' - ), - 'duote.com' => array( //https://zhuanlan.zhihu.com/p/111435102 - 'duote.com', - 'www.duote.com', - ), - 'zzb6.cn' => array( - 'zzb6.cn', - 'download.zzb6.cn', - 'i.zzb6.cn', - ), - 'xp666.com' => array( - 'xp666.com', - 'download.xp666.com', - ), - 'dh810.com' => array( - 'dh810.com', - ), - 'dh820.com' => array( - 'dh820.com', - ), - 'bsrkt.com' => array(//http://www.bsrkt.com/diy/b/commander/tips/index.html - 'bsrkt.com', - 'www.bsrkt.com' - ), - 'zjsyawqj.cn' => array(//http://js.zjsyawqj.cn/diy/b/commander/tips/default.js - 'zjsyawqj.cn', - 'www.zjsyawqj.cn', - 'js.zjsyawqj.cn', - 'download.zjsyawqj.cn', - ), - 'v4dwkcv.com' => array(// http://c.v4dwkcv.com/html/click/23421_5605.html - 'v4dwkcv.com', - 'c.v4dwkcv.com', - ), - 'he2d.com' => array(// 相关http://c.v4dwkcv.com/html/click/23421_5605.html - 'ss2.he2d.com', - 'he2d.com' - ), - 'sdqoi2d.com' => array(// 统计 http://j.sdqoi2d.com/click/ffb.php - 'j.sdqoi2d.com', - 'sdqoi2d.com' - ), - 'youhuiguan.com' => array(// 神药? http://cr.youhuiguan.com/attachments/201908/28/20/3658-5lmj04.jpg - 'youhuiguan.com', - 'cr.youhuiguan.com' - ), - 'doumaibiji.cn' => array(// http://diy.doumaibiji.cn/diy/js/b.js - 'doumaibiji.cn', - 'diy.doumaibiji.cn', - ), - 'oneplus.net' => array( - 'open.oneplus.net', - ), - 'live.com' => array( - 'nexusrules.officeapps.live.com', - 'nexus.officeapps.live.com', - ), - 'twitter.com' => array( - 'p.twitter.com', - ), - 'nsimg.net' => array( - 'm2.nsimg.net' - ), - 'microsoft.com' => array( - 'mobile.pipe.aria.microsoft.com', - ), - 'leixjun.com' => array(//恶意诱导下载app - 'leixjun.com', - 'zq2.leixjun.com', - ), - 'xi9p.com' => array(//诈骗网址 - 'xi9p.com' - ), - - 'doukekan.cn' => array(//广告平台 - 'doukekan.cn', - 'y3.doukekan.cn', - ), - 'dzdkw9.cn' => array(//恶意推广 #65 - 'dzdkw9.cn', - 'm.dzdkw9.cn', - ), - - 'feeddsp.cn' => array( - '1.feeddsp.cn', //游戏推广落地页 - ), - 'huya.com' => array( - 'ylog.huya.com', // #86 - ), - - 'grammarly.io' => array( - 'f-log-extension.grammarly.io', - 'f-log-mobile-ios.grammarly.io', - 'f-log-at.grammarly.io', - ), - 'ximalaya.com' => array( - 'adse.wsa.ximalaya.com', - 'linkeye.ximalaya.com', - 'location.ximalaya.com', - ), - 'googleapis.com' => array( - 'footprints-pa.googleapis.com', - ), - 'ebjvu.cn' => array( - 'ebjvu.cn', - ), - 'nvidia.com' => array( - 'events.gfe.nvidia.com' - ), - 'axbxgg.com' => array( // 恶意推广app下载 - 'axbxgg.com', - '2ydl.axbxgg.com', - ), - 'rayjump.com' => array( // 广告域名 #98 - 'rayjump.com', - 'adx-tk.rayjump.com', - ), - 'baicizhan.org' => array( // 百词斩 - 'advertise.baicizhan.org', - ), - 'baicizhan.com' => array( // 百词斩 - 'advertise.baicizhan.com', - ), - 'yiche.com' => array( // 易车ad - 'adx.yiche.com', - 'log.ycapp.yiche.com', - ), - 'csheaven.com' => array( // 总结到主域名上 - 'csheaven.com', - ), - 'bckrono.cn' => array( // 恶意跳转下载app - 'bckrono.cn', - 'js.bckrono.cn', - ), - 'yemnn.cn' => array( // 恶意跳转下载app - 'yemnn.cn', - ), - 'familytaste.cn' => array( // 恶意跳转下载app - 'familytaste.cn', - 's350.familytaste.cn', - ), - 'iyfsearch.com' => array( - 'iyfsearch.com', - ), - 'click.com.cn' => array( - 'click.com.cn', - ), - 'yl89.cn' => array( - 'yl89.cn', - 'cdnqq.yl89.cn', - ), - 'sgbbc.cn' => array( // #187 - 'sgbbc.cn', - '7202019monday.sgbbc.cn', - ), - 'shgansheng.cn' => array( // #187 - 'shgansheng.cn', - 'aa.shgansheng.cn', // https://aa.shgansheng.cn/safe/pot/iui/index.html?6101595245409&pkg=31 - ), - 'guiheng.wang' => array( - 'guiheng.wang', - 's.guiheng.wang', - ), - 'whbmy.com' => array( - 'whbmy.com', - 'a-llq.whbmy.com', - ), - 'bd-gl.com' => array( - 'bd-gl.com', - 'api.bd-gl.com', // /www/nodejs/暗刷api/node_modules/ - ), - 'zbwowo.com' => array( - 'zbwowo.com', - 'cdn-7n-pt.zbwowo.com', // https://cdn-7n-pt.zbwowo.com/pjs/as/apias0.js?c=12 - ), - 'ijinshan.com' => array( - 'mobad.ijinshan.com', - 'union.ijinshan.com', - 'tj.ijinshan.com', - ), - 'ifeng.com' => array( - 'iaclick.ifeng.com', - 'avideo.ifengcdn.com', - 'cx.ifengbi.com', - ), - 'shllhz.net' => array( // #204 - 'shllhz.net', - 'p.shllhz.net', - ), - 'pubghio.fun' => array( - 'pubghio.fun', // #212, https://pubghio.fun/login?agency=200 - ), - 'xladapi.izuiyou.com' => array( // 手机迅雷广告 - 'xladapi.izuiyou.com', - 'xlstat.izuiyou.com', - ), - 'idmchina.net' => array( // 假冒官网 - 'www.idmchina.net', - 'idmchina.net', - ), - - 'cntingyun.com' => array( // #234 - 'www.cntingyun.com', - 'cntingyun.com', - ), - 'networkbench.com' => array( // #234 - 'networkbench.com', - 'www.networkbench.com', - ), - 'tingyun.com' => array( // #234 - 'tingyun.com', - 'www.tingyun.com', - ), - 'appsmall.mobi' => array( // #234 - 'appsmall.mobi', - 'www.appsmall.mobi', - ), - 'babybubble.cn' => array( // #234 - 'www.babybubble.cn', - 'babybubble.cn', - ), - 'babymoment.net' => array( // #234 - 'www.babymoment.net', - 'babymoment.net', - ), - 'coolppa.cn' => array( // #234 - 'coolppa.cn', - 'www.coolppa.cn', - ), - 'effirst.cn' => array( // #234 - 'www.effirst.cn', - 'effirst.cn', - ), - 'effirst.com' => array( // #234 - 'www.effirst.com', - 'effirst.com', - ), - 'hdyzx.cn' => array( // #234 - 'hdyzx.cn', - 'www.hdyzx.cn', - ), - 'minippa.cn' => array( // #234 - 'www.minippa.cn', - 'minippa.cn', - ), - 'open-uc.cn' => array( // #234 - 'open-uc.cn', - 'www.open-uc.cn', - ), - - 'tinya1.cn' => array( // #234 - 'tinya1.cn', - 'www.tinya1.cn', - ), - 'tinyap2.cn' => array( // #234 - 'tinyap2.cn', - 'www.tinyap2.cn', - ), - 'tinypap.cn' => array( // #234 - 'tinypap.cn', - 'www.tinypap.cn', - ), - 'tinyppa.cn' => array( // #234 - 'tinyppa.cn', - 'www.tinyppa.cn', - ), - 'u-mob.cn' => array( // #234 - 'u-mob.cn', - 'www.u-mob.cn', - ), - 'ubibibi.com' => array( // #234 - 'ubibibi.com', - 'www.ubibibi.com', - ), - 'uc123.com' => array( // #234 - 'uc123.com', - 'www.uc123.com', - ), - 'ucdesk.cn' => array( // #234 - 'ucdesk.cn', - 'www.ucdesk.cn', - ), - 'ucfly.com' => array( // #234 - 'ucfly.com', - 'www.ucfly.com', - ), - 'ucweb.cn' => array( // #234 - 'ucweb.cn', - 'www.ucweb.cn', - ), - 'uflowx.com' => array( // #234 - 'uflowx.com', - 'www.uflowx.com', - ), - 'xiaomengquan.cn' => array( // #234 - 'xiaomengquan.cn', - 'www.xiaomengquan.cn', - ), - 'xmq123.cn' => array( // #234 - 'xmq123.cn', - 'www.xmq123.cn', - ), - 'dabaicai.cn' => array( // #240 - 'dabaicai.cn', - 'www.dabaicai.cn', - ), - 'diannaodian.com' => array( // #240 - 'diannaodian.com', - 'www.diannaodian.com', - ), - 'laomaotao.com' => array( // #240 - 'laomaotao.com', - 'www.laomaotao.com', - ), - 'myfeng.cn' => array( // #240 - 'myfeng.cn', - 'www.myfeng.cn', - ), - 'laomaotao.net' => array( // #240 - 'laomaotao.net', - 'www.laomaotao.net', - ), - 'winbaicai.com' => array( // #240 - 'winbaicai.com', - 'www.winbaicai.com', - ), - 'dabaicai.com' => array( // #240 - 'dabaicai.com', - 'www.dabaicai.com', - ), - 'fancydsp.com' => array( // fancyapi.com同备案号 - 'fancydsp.com', - 'www.fancydsp.com', - ), - 'fancydigital.com.cn' => array( // fancyapi.com同备案号 - 'fancydigital.com.cn', - 'www.fancydigital.com.cn', - ), - 'fancydmp.com' => array( // fancyapi.com同备案号 - 'fancydmp.com', - 'www.fancydmp.com', - ), - 'adfancy.com.cn' => array( // fancyapi.com同备案号 - 'adfancy.com.cn', - 'www.adfancy.com.cn', - ), - 'fancysmp.com' => array( // fancyapi.com同备案号 - 'fancysmp.com', - 'www.fancysmp.com', - ), - 'fancysocialtalk.com' => array( // fancyapi.com同备案号 - 'fancysocialtalk.com', - 'www.fancysocialtalk.com', - ), - '188api.com' => array( // fancyapi.com同备案号 - '188api.com', - 'www.188api.com', - ), - 'rdtk.io' => array( // #253 - 'rdtk.io', - 'jtuzd.rdtk.io', - ), - 'c4frc.info' => array( // #253 - 'c4frc.info', - ), - '163.com' => array( - 'crash.163.com', - ), - '360.cn' => array( - 'mclean.f.360.cn', - 'vconf.f.360.cn', - ), - 'gsgsr.xyz' => array( - 'gsgsr.xyz', - 'www.gsgsr.xyz', - 'gdp.gsgsr.xyz', - ), - 'zmzfile.com' => array( #299 - 'zmzfile.com', - ), - 'playcvn.com' => array( #299 - 'playcvn.com', - ), - 'mgtv.com' => array( #306 - 'da.mgtv.com', - 'video.da.mgtv.com', - ), - 'wwads.cn' => array( #323 - 'wwads.cn', - 'www.wwads.cn', - ), - 'pigvideo.com.cn' => array( #372 - 'pigvideo.com.cn', - 'www.pigvideo.com.cn', - ), - 'pigvideo.cn' => array( #372 - 'pigvideo.cn', - 'www.pigvideo.cn', - ), - 'xiaozhuvideo.cn' => array( #372 - 'xiaozhuvideo.cn', - 'www.xiaozhuvideo.cn', - ), - 'wikawika.xyz' => array( #375 - 'ad-display.wikawika.xyz', - 'ad-channel.wikawika.xyz', - ), - 'shujupie.com' => array( #379 - 'shujupie.com', - 'umini.shujupie.com', - ), - 'pcidata.cn' => array( #379 - 'pcidata.cn', - 'spi.pcidata.cn', - ), - '3.cn' => array( #392 - 'atom-log.3.cn', - ), - 'gz-data.com' => array( #402 - 'gz-data.com', - 'www.gz-data.com', - ), - 'gzads.com' => array( #402 - 'gzads.com', - 'www.gzads.com', - ), - 'gozendata.com' => array( #402 - 'gozendata.com', - 'www.gozendata.com', - ), - 'zhuangjizhuli.net' => array( #400 - 'www.zhuangjizhuli.net', - 'zhuangjizhuli.net', - ), - 'coumie.top' => array( #400 - 'coumie.top', - 'softdown.coumie.top', - ), - 'avbdf.com' => array( #400 - 'avbdf.com', - 'hs.avbdf.com', - ), - 'sxyunyou.cn' => array( #400 - 'sxyunyou.cn', - 'hs.sxyunyou.cn', - ), - 'sxdanke.cn' => array( #400 - 'sxdanke.cn', - 'hbs.sxdanke.cn', - ), - 'o7h.net' => array( #400 - 'o7h.net', - 'www.o7h.net', - ), - 'uzhuangji.cn' => array( #400 - 'xiazai.uzhuangji.cn', - 'uzhuangji.cn', - ), - 'sdxitong.com' => array( #400 - 'www.sdxitong.com', - 'sdxitong.com', - ), - 'haozhuangji.com' => array( #400 - 'www.haozhuangji.com', - 'haozhuangji.com', - ), - 'lao9123.com' => array( #400 - 'www.lao9123.com', - 'lao9123.com', - ), - 'pe8.com' => array( #400 - 'www.pe8.com', - 'pe8.com', - ), - 'ycxjtd.com' => array( #400 - 'cdn.ycxjtd.com', - 'www.ycxjtd.com', - 'ycxjtd.com', - ), - 'pkkjxs.cn' => array( #400 - 'pkkjxs.cn', - 'dbc.pkkjxs.cn', - 'www.pkkjxs.cn', - 'windows.pkkjxs.cn', - ), - 'telegram-cn.org' => array( #431 - 'telegram-cn.org', - 'www.telegram-cn.org', - ), - 'telegram-vip.com' => array( #431 - 'telegram-vip.com', - 'www.telegram-vip.com', - ), - 'telegramcn.org' => array( #431 - 'telegramcn.org', - 'www.telegramcn.org', - ), - 'telegrcn.org' => array( #431 - 'telegrcn.org', - 'www.telegrcn.org', - ), - 'telegramsvip.com' => array( #431 - 'telegramsvip.com', - 'www.telegramsvip.com', - ), - - - - - // 批量添加域名 - '0202.com.tw' =>array('0202.com.tw', 'www.0202.com.tw'), - '0757kd.cn' =>array('0757kd.cn', 'www.0757kd.cn'), - '07634.com' =>array('07634.com', 'www.07634.com'), - '0pengl.com' =>array('0pengl.com', 'www.0pengl.com'), - '1001movies.com' =>array('1001movies.com', 'www.1001movies.com'), - '1008691.com' =>array('1008691.com', 'www.1008691.com'), - '123counters.com' =>array('123counters.com', 'www.123counters.com'), - 'crash.163.com' =>array('crash.163.com', 'www.crash.163.com'), - '166f.com' =>array('166f.com', 'www.166f.com'), - '17chezhan.com' =>array('17chezhan.com', 'www.17chezhan.com'), - '17youzi.com' =>array('17youzi.com', 'www.17youzi.com'), - '91756.cn' =>array('91756.cn', 'www.91756.cn'), - 'adups.cn' =>array('adups.cn', 'www.adups.cn'), - - // 一批运营商劫持域名 - '17gouwuba.com' => array('17gouwuba.com', 'www.17gouwuba.com'), - '189zj.cn' => array('189zj.cn', 'www.189zj.cn'), - '285680.com' => array('285680.com', 'www.285680.com'), - '51chumoping.com' => array('51chumoping.com', 'www.51chumoping.com'), - '51mld.cn' => array('51mld.cn', 'www.51mld.cn'), - '51mypc.cn' => array('51mypc.cn', 'www.51mypc.cn'), - '58mingtian.cn' => array('58mingtian.cn', 'www.58mingtian.cn'), - '6d63d3.com' => array('6d63d3.com', 'www.6d63d3.com'), - 'q1qfc323.com' => array('q1qfc323.com', 'www.q1qfc323.com'), - '91veg.com' => array('91veg.com', 'www.91veg.com'), - '9s6q.cn' => array('9s6q.cn', 'www.9s6q.cn'), - 'adsensor.org' => array('adsensor.org', 'www.adsensor.org'), - 'appcpi.net' => array('appcpi.net', 'www.appcpi.net'), - 'baiwanchuangyi.com' => array('baiwanchuangyi.com', 'www.baiwanchuangyi.com'), - 'beilamusi.com' => array('beilamusi.com', 'www.beilamusi.com'), - 'biteti.com' => array('biteti.com', 'www.biteti.com'), - 'bulldogcpi.com' => array('bulldogcpi.com', 'www.bulldogcpi.com'), - 'cishantao.com' => array('cishantao.com', 'www.cishantao.com'), - 'clotfun.mobi' => array('clotfun.mobi', 'www.clotfun.mobi'), - 'clotfun.online' => array('clotfun.online', 'www.clotfun.online'), - 'cszlks.com' => array('cszlks.com', 'www.cszlks.com'), - 'cudaojia.com' => array('cudaojia.com', 'www.cudaojia.com'), - 'dugesheying.com' => array('dugesheying.com', 'www.dugesheying.com'), - 'fan-yong.com' => array('fan-yong.com', 'www.fan-yong.com'), - 'feih.com.cn' => array('feih.com.cn', 'www.feih.com.cn'), - 'fkku194.com' => array('fkku194.com', 'www.fkku194.com'), - 'freedrive.cn' => array('freedrive.cn', 'www.freedrive.cn'), - 'go2cloud.org' => array('go2cloud.org', 'www.go2cloud.org'), - 'gouwubang.com' => array('gouwubang.com', 'www.gouwubang.com'), - 'gzxnlk.com' => array('gzxnlk.com', 'www.gzxnlk.com'), - 'haloapps.com' => array('haloapps.com', 'www.haloapps.com'), - 'haoshengtoys.com' => array('haoshengtoys.com', 'www.haoshengtoys.com'), - 'hyunke.com' => array('hyunke.com', 'www.hyunke.com'), - 'ichaosheng.com' => array('ichaosheng.com', 'www.ichaosheng.com'), - 'idealads.net' => array('idealads.net', 'www.idealads.net'), - 'ishop789.com' => array('ishop789.com', 'www.ishop789.com'), - 'jsncke.com' => array('jsncke.com', 'www.jsncke.com'), - 'jwg365.cn' => array('jwg365.cn', 'www.jwg365.cn'), - 'kawo77.com' => array('kawo77.com', 'www.kawo77.com'), - 'kumihua.com' => array('kumihua.com', 'www.kumihua.com'), - 'maipinshangmao.com' => array('maipinshangmao.com', 'www.maipinshangmao.com'), - 'mdfull.com' => array('mdfull.com', 'www.mdfull.com'), - 'mlnbike.com' => array('mlnbike.com', 'www.mlnbike.com'), - 'mobjump.com' => array('mobjump.com', 'www.mobjump.com'), - 'newapi.com' => array('newapi.com', 'www.newapi.com'), - 'outbrain.com' => array('outbrain.com', 'www.outbrain.com'), - 'pinzhitmall.com' => array('pinzhitmall.com', 'www.pinzhitmall.com'), - 'qichexin.com' => array('qichexin.com', 'www.qichexin.com'), - 'qutaobi.com' => array('qutaobi.com', 'www.qutaobi.com'), - 'sdkclick.com' => array('sdkclick.com', 'www.sdkclick.com'), - 'smgru.net' => array('smgru.net', 'www.smgru.net'), - 'taoggou.com' => array('taoggou.com', 'www.taoggou.com'), - 'tcxshop.com' => array('tcxshop.com', 'www.tcxshop.com'), - 'tiaolianbao.com' => array('tiaolianbao.com', 'www.tiaolianbao.com'), - 'topitme.com' => array('topitme.com', 'www.topitme.com'), - 'tuipenguin.com' => array('tuipenguin.com', 'www.tuipenguin.com'), - 'tuitiger.com' => array('tuitiger.com', 'www.tuitiger.com'), - 'websd8.com' => array('websd8.com', 'www.websd8.com'), - 'wx16999.com' => array('wx16999.com', 'www.wx16999.com'), - 'xchmai.com' => array('xchmai.com', 'www.xchmai.com'), - 'ygyzx.cn' => array('ygyzx.cn', 'www.ygyzx.cn'), - 'yinmong.com' => array('yinmong.com', 'www.yinmong.com'), - 'yitaopt.com' => array('yitaopt.com', 'www.yitaopt.com'), - 'yjqiqi.com' => array('yjqiqi.com', 'www.yjqiqi.com'), - 'yukhj.com' => array('yukhj.com', 'www.yukhj.com'), - 'yumimobi.com' => array('yumimobi.com', 'www.yumimobi.com'), - 'zlne800.com' => array('zlne800.com', 'www.zlne800.com'), - 'zzd6.com' => array('zzd6.com', 'www.zzd6.com'), - - - // 一批广告公司和大数据公司域名 #223 - 'appadhoc.com' => array('appadhoc.com', 'www.appadhoc.com'), - 'appadhoc.net' => array('appadhoc.net', 'www.appadhoc.net'), - 'dratio.com' => array('dratio.com', 'www.dratio.com'), - 'um0.cn' => array('um0.cn', 'www.um0.cn'), - 'um1.cn' => array('um1.cn', 'www.um1.cn'), - 'umsns.com' => array('umsns.com', 'www.umsns.com'), - 'umtrack.com' => array('umtrack.com', 'www.umtrack.com'), - 'umtrack0.com' => array('umtrack0.com', 'www.umtrack0.com'), - 'umtrack1.com' => array('umtrack1.com', 'www.umtrack1.com'), - 'umtrack2.com' => array('umtrack2.com', 'www.umtrack2.com'), - 'umv0.com' => array('umv0.com', 'www.umv0.com'), - 'umv5.com' => array('umv5.com', 'www.umv5.com'), - 'cnadid.cn' => array('cnadid.cn', 'www.cnadid.cn'), - 'cnadid.com' => array('cnadid.com', 'www.cnadid.com'), - 'digitalunion.cn' => array('digitalunion.cn', 'www.digitalunion.cn'), - 'kxid.cn' => array('kxid.cn', 'www.kxid.cn'), - 'mobid.cn' => array('mobid.cn', 'www.mobid.cn'), - 'shuzhundsj.cn' => array('shuzhundsj.cn', 'www.shuzhundsj.cn'), - 'shuzilm.cn' => array('shuzilm.cn', 'www.shuzilm.cn'), - 'shuzilm.com' => array('shuzilm.com', 'www.shuzilm.com'), - '3edc.cn' => array('3edc.cn', 'www.3edc.cn'), - 'appcpa.net' => array('appcpa.net', 'www.appcpa.net'), - 'cpatrk.net' => array('cpatrk.net', 'www.cpatrk.net'), - 'doudouknot.com' => array('doudouknot.com', 'www.doudouknot.com'), - 'edutalkingdata.cn' => array('edutalkingdata.cn', 'www.edutalkingdata.cn'), - 'edutalkingdata.com' => array('edutalkingdata.com', 'www.edutalkingdata.com'), - 'jielou.net' => array('jielou.net', 'www.jielou.net'), - 'lnk0.com' => array('lnk0.com', 'www.lnk0.com'), - 'lnk8.cn' => array('lnk8.cn', 'www.lnk8.cn'), - 'mpush.cn' => array('mpush.cn', 'www.mpush.cn'), - 'myzhongguojie.cn' => array('myzhongguojie.cn', 'www.myzhongguojie.cn'), - 'talkingdata.cn' => array('talkingdata.cn', 'www.talkingdata.cn'), - 'talkingdata.com' => array('talkingdata.com', 'www.talkingdata.com'), - 'talkingdata.com.cn' => array('talkingdata.com.cn', 'www.talkingdata.com.cn'), - 'talkinggame.com' => array('talkinggame.com', 'www.talkinggame.com'), - 'talkingnews.net' => array('talkingnews.net', 'www.talkingnews.net'), - 'tddmp.com' => array('tddmp.com', 'www.tddmp.com'), - 'tendcloud.cn' => array('tendcloud.cn', 'www.tendcloud.cn'), - 'tendcloud.com' => array('tendcloud.com', 'www.tendcloud.com'), - 'tenddata.cn' => array('tenddata.cn', 'www.tenddata.cn'), - 'tenddata.com' => array('tenddata.com', 'www.tenddata.com'), - 'tenddata.com.cn' => array('tenddata.com.cn', 'www.tenddata.com.cn'), - 'tenddata.net' => array('tenddata.net', 'www.tenddata.net'), - 'tengyuncloud.cn' => array('tengyuncloud.cn', 'www.tengyuncloud.cn'), - 'tendata.cn' => array('tendata.cn', 'www.tendata.cn'), - 'tendata.net' => array('tendata.net', 'www.tendata.net'), - 'tendata.com' => array('tendata.com', 'www.tendata.com'), - 'talkingdata.net' => array('talkingdata.net', 'www.talkingdata.net'), - 'appcpa.co' => array('appcpa.co', 'www.appcpa.co'), - - 'udrig.com' => array('udrig.com', 'www.udrig.com'), - 'xdrig.com' => array('xdrig.com', 'www.xdrig.com'), - 'xuefenxi.com' => array('xuefenxi.com', 'www.xuefenxi.com'), - 'datayi.cn' => array('datayi.cn', 'www.datayi.cn'), - 'gio.ren' => array('gio.ren', 'www.gio.ren'), - 'giocdn.com' => array('giocdn.com', 'www.giocdn.com'), - 'growin.cn' => array('growin.cn', 'www.growin.cn'), - 'growingio.cn' => array('growingio.cn', 'www.growingio.cn'), - 'growingio.com' => array('growingio.com', 'www.growingio.com'), - 'gz51la.com' => array('gz51la.com', 'www.gz51la.com'), - 'appgo.cn' => array('appgo.cn', 'www.appgo.cn'), - 'sharesdk.cn' => array('sharesdk.cn', 'www.sharesdk.cn'), - '42r.cn' => array('42r.cn', 'www.42r.cn'), - '47r.cn' => array('47r.cn', 'www.47r.cn'), - '5566ua.com' => array('5566ua.com', 'www.5566ua.com'), - 'a0x.cn' => array('a0x.cn', 'www.a0x.cn'), - 'aurorapush.cn' => array('aurorapush.cn', 'www.aurorapush.cn'), - 'aurorapush.com' => array('aurorapush.com', 'www.aurorapush.com'), - 'ausaas.cn' => array('ausaas.cn', 'www.ausaas.cn'), - 'e0n.cn' => array('e0n.cn', 'www.e0n.cn'), - 'japps.cn' => array('japps.cn', 'www.japps.cn'), - 'jglinks.cn' => array('jglinks.cn', 'www.jglinks.cn'), - 'jgmlink.cn' => array('jgmlink.cn', 'www.jgmlink.cn'), - 'jgshare.cn' => array('jgshare.cn', 'www.jgshare.cn'), - 'jmlinks.cn' => array('jmlinks.cn', 'www.jmlinks.cn'), - 'jmlk.co' => array('jmlk.co', 'www.jmlk.co'), - 'jpushoa.com' => array('jpushoa.com', 'www.jpushoa.com'), - 'jsurvey.cn' => array('jsurvey.cn', 'www.jsurvey.cn'), - 'jvoice.cn' => array('jvoice.cn', 'www.jvoice.cn'), - 'kc9.cn' => array('kc9.cn', 'www.kc9.cn'), - 'linkjg.cn' => array('linkjg.cn', 'www.linkjg.cn'), - 'linksjg.cn' => array('linksjg.cn', 'www.linksjg.cn'), - 'mlinkj.cn' => array('mlinkj.cn', 'www.mlinkj.cn'), - 'mlinkjg.cn' => array('mlinkjg.cn', 'www.mlinkjg.cn'), - 'n0q.cn' => array('n0q.cn', 'www.n0q.cn'), - 'pushcfg.com' => array('pushcfg.com', 'www.pushcfg.com'), - 's0n.cn' => array('s0n.cn', 'www.s0n.cn'), - 'thering.cn' => array('thering.cn', 'www.thering.cn'), - 'xuanhk.com' => array('xuanhk.com', 'www.xuanhk.com'), - '12322app.com' => array('12322app.com', 'www.12322app.com'), - 'abeacon.cn' => array('abeacon.cn', 'www.abeacon.cn'), - 'abeacon.com' => array('abeacon.com', 'www.abeacon.com'), - 'acloud.com' => array('acloud.com', 'www.acloud.com'), - 'applk.cn' => array('applk.cn', 'www.applk.cn'), - 'baywest.ac' => array('baywest.ac', 'www.baywest.ac'), - 'cooltui.com' => array('cooltui.com', 'www.cooltui.com'), - 'fangyi.cn' => array('fangyi.cn', 'www.fangyi.cn'), - 'ge.cn' => array('ge.cn', 'www.ge.cn'), - 'geatmap.com' => array('geatmap.com', 'www.geatmap.com'), - 'geindex.com' => array('geindex.com', 'www.geindex.com'), - 'gl.ink' => array('gl.ink', 'www.gl.ink'), - 'huadan.in' => array('huadan.in', 'www.huadan.in'), - 'igehuo.com' => array('igehuo.com', 'www.igehuo.com'), - 'igetui.com' => array('igetui.com', 'www.igetui.com'), - 'pusure.com' => array('pusure.com', 'www.pusure.com'), - 'viyouhui.com' => array('viyouhui.com', 'www.viyouhui.com'), - - - //一些电视盒子相关的屏蔽列表 - 'tuiapple.com' => array('activity.tuiapple.com'), - 'tudou.com' => array('ad.api.3g.tudou.com'), - 'youku.com' => array('ad.api.3g.youku.com', 'ad.api.mobile.youku.com'), - 'sohu.com' => array('agn.aty.sohu.com'), - 'gitv.tv' => array('api.cupid.ptqy.gitv.tv'), - 'tatagou.com.cn' => array('api.tatagou.com.cn'), - 'shandjj.com' => array('app.shandjj.com'), - 'koudaitong.com' => array('tj.koudaitong.com'), - - '011211.cn' => array('011211.cn'), - '013572.cn' => array('013572.cn'), - '020wujin.cn' => array('020wujin.cn'), - '0512pifa.com.cn' => array('0512pifa.com.cn'), - '0591jiajiao.com.cn' => array('0591jiajiao.com.cn'), - '1357902.cn' => array('1357902.cn'), - '1haows.cn' => array('1haows.cn'), - '4008813318.com.cn' => array('4008813318.com.cn'), - '431.red' => array('431.red'), - '43gw.cn' => array('43gw.cn'), - '467.red' => array('467.red'), - '51juejinjie.com.cn' => array('51juejinjie.com.cn'), - '555vps.cn' => array('555vps.cn'), - '58xiao.cn' => array('58xiao.cn'), - '77av.cn' => array('77av.cn'), - '77tianxu.cn' => array('77tianxu.cn'), - '77vip.wang' => array('77vip.wang'), - '7ssw.cn' => array('7ssw.cn'), - '7x-star.info' => array('7x-star.info'), - '8020home.com.cn' => array('8020home.com.cn'), - '805.red' => array('805.red'), - '815ss.cn' => array('815ss.cn'), - '8pay.wang' => array('8pay.wang'), - '964ka.cn' => array('964ka.cn'), - '98hx.cn' => array('98hx.cn'), - 'aaayc.cn' => array('aaayc.cn'), - 'abtao.wang' => array('abtao.wang'), - 'ahksqc.com.cn' => array('ahksqc.com.cn'), - 'ahxhny.cn' => array('ahxhny.cn'), - 'aibantian.cn' => array('aibantian.cn'), - 'aiia.xin' => array('aiia.xin'), - 'aiks.wang' => array('aiks.wang'), - 'aipu.mobi' => array('aipu.mobi'), - 'aivento.cn' => array('aivento.cn'), - 'aiwenyisheng.mobi' => array('aiwenyisheng.mobi'), - 'aixintou.com.cn' => array('aixintou.com.cn'), - 'amao.mobi' => array('amao.mobi'), - 'aup.mobi' => array('aup.mobi'), - 'baichuanbi.wang' => array('baichuanbi.wang'), - 'barrister.org.cn' => array('barrister.org.cn'), - 'baseniao.com.cn' => array('baseniao.com.cn'), - 'baxt.mobi' => array('baxt.mobi'), - 'beiyu.xin' => array('beiyu.xin'), - 'benniuluntai.cn' => array('benniuluntai.cn'), - 'bjhjw.com.cn' => array('bjhjw.com.cn'), - 'blood23.cn' => array('blood23.cn'), - 'bsmakeup.com.cn' => array('bsmakeup.com.cn'), - 'bzcjy.cn' => array('bzcjy.cn'), - 'calarm.info' => array('calarm.info'), - 'callmewx.cn' => array('callmewx.cn'), - 'cangshu.info' => array('cangshu.info'), - 'canwi.mobi' => array('canwi.mobi'), - 'cdshusen.cn' => array('cdshusen.cn'), - 'cdxjt.mobi' => array('cdxjt.mobi'), - 'chaoxianleather.ltd' => array('chaoxianleather.ltd'), - 'chengjie168.com.cn' => array('chengjie168.com.cn'), - 'chenyayun.com.cn' => array('chenyayun.com.cn'), - 'china-oxygen.cn' => array('china-oxygen.cn'), - 'china99315.cn' => array('china99315.cn'), - 'chinae.mobi' => array('chinae.mobi'), - 'chinapsj.com.cn' => array('chinapsj.com.cn'), - 'chinapulverizer.com.cn' => array('chinapulverizer.com.cn'), - 'chinaqirun.cn' => array('chinaqirun.cn'), - 'chinaso.red' => array('chinaso.red'), - 'chinaxiedu.cn' => array('chinaxiedu.cn'), - 'chuanmen.mobi' => array('chuanmen.mobi'), - 'codetips.wang' => array('codetips.wang'), - 'cqmjjx.cn' => array('cqmjjx.cn'), - 'crystalmart.cn' => array('crystalmart.cn'), - 'cs-bailing.com.cn' => array('cs-bailing.com.cn'), - 'cstmedia.com.cn' => array('cstmedia.com.cn'), - 'curtainsky.wang' => array('curtainsky.wang'), - 'cxlm.net.cn' => array('cxlm.net.cn'), - 'cyp889.cn' => array('cyp889.cn'), - 'cz4444.cn' => array('cz4444.cn'), - 'dashantechan.cn' => array('dashantechan.cn'), - 'dat.red' => array('dat.red'), - 'dhouse.mobi' => array('dhouse.mobi'), - 'diaoguoshi.mobi' => array('diaoguoshi.mobi'), - 'dinuojixie.com.cn' => array('dinuojixie.com.cn'), - 'dnjj.mobi' => array('dnjj.mobi'), - 'dspack.com.cn' => array('dspack.com.cn'), - 'dzhss.cn' => array('dzhss.cn'), - 'edmontonlife.info' => array('edmontonlife.info'), - 'eduace.com.cn' => array('eduace.com.cn'), - 'eyewand.cn' => array('eyewand.cn'), - 'fadian.xin' => array('fadian.xin'), - 'fanjis.cn' => array('fanjis.cn'), - 'fashion-hat.cn' => array('fashion-hat.cn'), - 'fdkjt.cn' => array('fdkjt.cn'), - 'feiyun.info' => array('feiyun.info'), - 'fhfg.net.cn' => array('fhfg.net.cn'), - 'fjs043.cn' => array('fjs043.cn'), - 'fjs056.cn' => array('fjs056.cn'), - 'forgot.mobi' => array('forgot.mobi'), - 'freestudio.info' => array('freestudio.info'), - 'fy6x8o.cn' => array('fy6x8o.cn'), - 'fzojq.info' => array('fzojq.info'), - 'getmos.cn' => array('getmos.cn'), - 'gjh111.cn' => array('gjh111.cn'), - 'glnvdc.cn' => array('glnvdc.cn'), - 'gpscard.cn' => array('gpscard.cn'), - 'greenprints.org.cn' => array('greenprints.org.cn'), - 'gsgqwl.wang' => array('gsgqwl.wang'), - 'gtlp.net.cn' => array('gtlp.net.cn'), - 'gzjtfzs.cn' => array('gzjtfzs.cn'), - 'gzmcjt.cn' => array('gzmcjt.cn'), - 'gzqczl.cn' => array('gzqczl.cn'), - 'gzsadlmy.cn' => array('gzsadlmy.cn'), - 'hanhooo.cn' => array('hanhooo.cn'), - 'haoduoyi1688.cn' => array('haoduoyi1688.cn'), - 'haoeat.info' => array('haoeat.info'), - 'haoyangmao.ltd' => array('haoyangmao.ltd'), - 'haoyoushuo.cn' => array('haoyoushuo.cn'), - 'hbyinzhibao.cn' => array('hbyinzhibao.cn'), - 'hccwwz.cn' => array('hccwwz.cn'), - 'heimi.red' => array('heimi.red'), - 'helove.xyz' => array('helove.xyz'), - 'hihufu.cn' => array('hihufu.cn'), - 'hktedu.site' => array('hktedu.site'), - 'hnwlyy.com.cn' => array('hnwlyy.com.cn'), - 'hongze.info' => array('hongze.info'), - 'hot-stories.cn' => array('hot-stories.cn'), - 'hskj88.cn' => array('hskj88.cn'), - 'htnote.info' => array('htnote.info'), - 'huanbao110.com.cn' => array('huanbao110.com.cn'), - 'huanbaoxiangmu.xyz' => array('huanbaoxiangmu.xyz'), - 'huangdao.info' => array('huangdao.info'), - 'huaqikonggu.com.cn' => array('huaqikonggu.com.cn'), - 'huaqiss.cn' => array('huaqiss.cn'), - 'huayiav.cn' => array('huayiav.cn'), - 'huha.ink' => array('huha.ink'), - 'huilian.info' => array('huilian.info'), - 'hundun.mobi' => array('hundun.mobi'), - 'hupuzhibo.cn' => array('hupuzhibo.cn'), - 'hygqtz.cn' => array('hygqtz.cn'), - 'hzdhr.cn' => array('hzdhr.cn'), - 'ib00.cn' => array('ib00.cn'), - 'imzhide.net.cn' => array('imzhide.net.cn'), - 'iqyewu.cn' => array('iqyewu.cn'), - 'iyumiao.com.cn' => array('iyumiao.com.cn'), - 'japheth.com.cn' => array('japheth.com.cn'), - 'jbcbio.cn' => array('jbcbio.cn'), - 'jhbsq.cn' => array('jhbsq.cn'), - 'jiaxinkang.cn' => array('jiaxinkang.cn'), - 'jingyixueyuan.cn' => array('jingyixueyuan.cn'), - 'jinlanqiangyi.cn' => array('jinlanqiangyi.cn'), - 'jiuaixianzhi.mobi' => array('jiuaixianzhi.mobi'), - 'jmait.cn' => array('jmait.cn'), - 'jmogo.cn' => array('jmogo.cn'), - 'jnykjgs.cn' => array('jnykjgs.cn'), - 'jpuv.cn' => array('jpuv.cn'), - 'jqki.cn' => array('jqki.cn'), - 'jsjs.pro' => array('jsjs.pro'), - 'judantech.site' => array('judantech.site'), - 'jxqfu.cn' => array('jxqfu.cn'), - 'jxss88.mobi' => array('jxss88.mobi'), - 'jyzmsy.com.cn' => array('jyzmsy.com.cn'), - 'kcvc.com.cn' => array('kcvc.com.cn'), - 'kedeng.xin' => array('kedeng.xin'), - 'king-oak.cn' => array('king-oak.cn'), - 'kocom.mobi' => array('kocom.mobi'), - 'kuaica.info' => array('kuaica.info'), - 'kuaidifeng.cn' => array('kuaidifeng.cn'), - 'l520.ltd' => array('l520.ltd'), - 'lafontainedessenterue.cn' => array('lafontainedessenterue.cn'), - 'lcr.kim' => array('lcr.kim'), - 'lcyt.info' => array('lcyt.info'), - 'ledian.pro' => array('ledian.pro'), - 'lightblue.red' => array('lightblue.red'), - 'lilangdianqi.cn' => array('lilangdianqi.cn'), - 'limkokwing-edu.cn' => array('limkokwing-edu.cn'), - 'lindawei.cn' => array('lindawei.cn'), - 'littlebee.site' => array('littlebee.site'), - 'liuguoyu.wang' => array('liuguoyu.wang'), - 'lixincxy.cn' => array('lixincxy.cn'), - 'llanotextiles.cn' => array('llanotextiles.cn'), - 'lningcity.com.cn' => array('lningcity.com.cn'), - 'lnjseq.info' => array('lnjseq.info'), - 'lnsbhzy.cn' => array('lnsbhzy.cn'), - 'lovecar.net.cn' => array('lovecar.net.cn'), - 'lulumao.com.cn' => array('lulumao.com.cn'), - 'lumeo.cn' => array('lumeo.cn'), - 'luomanzhubao.cn' => array('luomanzhubao.cn'), - 'lvxingxian.cn' => array('lvxingxian.cn'), - 'lwfw88.cn' => array('lwfw88.cn'), - 'lygnasa.cn' => array('lygnasa.cn'), - 'lytrjx.cn' => array('lytrjx.cn'), - 'lyzon.com.cn' => array('lyzon.com.cn'), - 'meigeer.com.cn' => array('meigeer.com.cn'), - 'menghuanzhilv.cn' => array('menghuanzhilv.cn'), - 'mifun.mobi' => array('mifun.mobi'), - 'murroliving.com.cn' => array('murroliving.com.cn'), - 'myzhuanghe.cn' => array('myzhuanghe.cn'), - 'nankuan.xin' => array('nankuan.xin'), - 'newweb.top' => array('newweb.top'), - 'newwiesdom.com.cn' => array('newwiesdom.com.cn'), - 'newzheng.cn' => array('newzheng.cn'), - 'ngtraveler.com.cn' => array('ngtraveler.com.cn'), - 'opai.red' => array('opai.red'), - 'opto-22.com.cn' => array('opto-22.com.cn'), - 'oxi23.cn' => array('oxi23.cn'), - 'pdiinfo.com.cn' => array('pdiinfo.com.cn'), - 'pdsxp.cn' => array('pdsxp.cn'), - 'penglei.info' => array('penglei.info'), - 'phjml.cn' => array('phjml.cn'), - 'pilipala.info' => array('pilipala.info'), - 'pszs388.cn' => array('pszs388.cn'), - 'qhsyg.top' => array('qhsyg.top'), - 'qianwei.wang' => array('qianwei.wang'), - 'qianyilamian.cn' => array('qianyilamian.cn'), - 'qichacha.ink' => array('qichacha.ink'), - 'qincai.info' => array('qincai.info'), - 'qishituan.top' => array('qishituan.top'), - 'qiyeit.com.cn' => array('qiyeit.com.cn'), - 'qkxlyg.cn' => array('qkxlyg.cn'), - 'qmin.xin' => array('qmin.xin'), - 'qnvljz.info' => array('qnvljz.info'), - 'qqwlfm.cn' => array('qqwlfm.cn'), - 'qrtjwa.cn' => array('qrtjwa.cn'), - 'samevay.com.cn' => array('samevay.com.cn'), - 'sapwells.info' => array('sapwells.info'), - 'scdcd333.cn' => array('scdcd333.cn'), - 'scfans.cn' => array('scfans.cn'), - 'scfw.wang' => array('scfw.wang'), - 'scifc.mobi' => array('scifc.mobi'), - 'sdlzmm.cn' => array('sdlzmm.cn'), - 'sdyongyan.com.cn' => array('sdyongyan.com.cn'), - 'shanyi.info' => array('shanyi.info'), - 'shinedaily.cn' => array('shinedaily.cn'), - 'shkunjia.com.cn' => array('shkunjia.com.cn'), - 'shoujiawang.cn' => array('shoujiawang.cn'), - 'shouyili.mobi' => array('shouyili.mobi'), - 'sjdjcn.cn' => array('sjdjcn.cn'), - 'smart-way2.com.cn' => array('smart-way2.com.cn'), - 'smmx3.cn' => array('smmx3.cn'), - 'sobin.wang' => array('sobin.wang'), - 'spreadable.com.cn' => array('spreadable.com.cn'), - 'sscjchina.com.cn' => array('sscjchina.com.cn'), - 'steeltrader.com.cn' => array('steeltrader.com.cn'), - 'sunderport.com.cn' => array('sunderport.com.cn'), - 'suntechauto.com.cn' => array('suntechauto.com.cn'), - 'sxjcjdc.cn' => array('sxjcjdc.cn'), - 'sxltfj.cn' => array('sxltfj.cn'), - 'szmpc.cn' => array('szmpc.cn'), - 'taihe2002.cn' => array('taihe2002.cn'), - 'tanzhen.info' => array('tanzhen.info'), - 'taogou.site' => array('taogou.site'), - 'tastevision.cn' => array('tastevision.cn'), - 'techkey.com.cn' => array('techkey.com.cn'), - 'tianhuicun.com.cn' => array('tianhuicun.com.cn'), - 'titan-solar.cn' => array('titan-solar.cn'), - 'tkmly.cn' => array('tkmly.cn'), - 'todayjiaxiang.cn' => array('todayjiaxiang.cn'), - 'tradesoul.cn' => array('tradesoul.cn'), - 'tuoens.cn' => array('tuoens.cn'), - 'txtxz.org.cn' => array('txtxz.org.cn'), - 'udr26c.cn' => array('udr26c.cn'), - 'uk8866.cn' => array('uk8866.cn'), - 'vaniok.cn' => array('vaniok.cn'), - 'vpkq.cn' => array('vpkq.cn'), - 'wangjinhu.wang' => array('wangjinhu.wang'), - 'wangzhichao.info' => array('wangzhichao.info'), - 'weilang.site' => array('weilang.site'), - 'wimaxnetworks.cn' => array('wimaxnetworks.cn'), - 'wojiacanting.info' => array('wojiacanting.info'), - 'wpe.red' => array('wpe.red'), - 'wtorain.red' => array('wtorain.red'), - 'wucheng.info' => array('wucheng.info'), - 'wzfjsh.cn' => array('wzfjsh.cn'), - 'wzhagc.cn' => array('wzhagc.cn'), - 'x1ka.cn' => array('x1ka.cn'), - 'xcvf.info' => array('xcvf.info'), - 'xiaocai-rookie.info' => array('xiaocai-rookie.info'), - 'xiaomeihq.info' => array('xiaomeihq.info'), - 'xinshengchuanmei.cn' => array('xinshengchuanmei.cn'), - 'xinyikeji.red' => array('xinyikeji.red'), - 'xmglass.cn' => array('xmglass.cn'), - 'xuexingkeji.cn' => array('xuexingkeji.cn'), - 'xxdlg.cn' => array('xxdlg.cn'), - 'xz518.cn' => array('xz518.cn'), - 'xztyzs.cn' => array('xztyzs.cn'), - 'yanhao.red' => array('yanhao.red'), - 'yaxujiancai.cn' => array('yaxujiancai.cn'), - 'ych168.cn' => array('ych168.cn'), - 'ycreateam.cn' => array('ycreateam.cn'), - 'ycx.kim' => array('ycx.kim'), - 'yglhcn.cn' => array('yglhcn.cn'), - 'ygpd.wang' => array('ygpd.wang'), - 'yimingxiang.com.cn' => array('yimingxiang.com.cn'), - 'yiqifaxian.wang' => array('yiqifaxian.wang'), - 'yiqiu.mobi' => array('yiqiu.mobi'), - 'yisheng120.info' => array('yisheng120.info'), - 'yizhongyi.info' => array('yizhongyi.info'), - 'ynyfcz.cn' => array('ynyfcz.cn'), - 'yppw666.cn' => array('yppw666.cn'), - 'yucefa.cn' => array('yucefa.cn'), - 'yw78.cn' => array('yw78.cn'), - 'yybeast.mobi' => array('yybeast.mobi'), - 'zghs.net.cn' => array('zghs.net.cn'), - 'zgjckgys.com.cn' => array('zgjckgys.com.cn'), - 'zhaowaibao.mobi' => array('zhaowaibao.mobi'), - 'zhougong.info' => array('zhougong.info'), - 'zhuren.site' => array('zhuren.site'), - 'zioe.com.cn' => array('zioe.com.cn'), - 'ziyouxiaoyuan.cn' => array('ziyouxiaoyuan.cn'), - 'zq-hk.cn' => array('zq-hk.cn'), - 'zsdzcpw.mobi' => array('zsdzcpw.mobi'), - 'zswhcsfww.mobi' => array('zswhcsfww.mobi'), - 'zszgjiejuw.mobi' => array('zszgjiejuw.mobi'), - 'zzasj.cn' => array('zzasj.cn'), - 'zzhssy.cn' => array('zzhssy.cn'), - '158aq.com' => array('158aq.com'), - '166br.com' => array('166br.com'), - '2yt.cn' => array('2yt.cn'), - '322927.com' => array('322927.com'), - '559gp.com' => array('559gp.com'), - 'adszui.com' => array('adszui.com'), - 'baimuyuan.com.cn' => array('baimuyuan.com.cn'), - 'bibi100.com' => array('bibi100.com'), - 'bjsncykyjctsbjxzx.cn' => array('bjsncykyjctsbjxzx.cn'), - 'bontech-zh.com' => array('bontech-zh.com'), - 'bxg68.com' => array('bxg68.com'), - 'd9ad.com' => array('d9ad.com'), - 'dapaogg.xyz' => array('dapaogg.xyz'), - 'dreamine.com' => array('dreamine.com'), - 'duoduo.net' => array('duoduo.net'), - 'eeeqi.cn' => array('eeeqi.cn'), - 'fxsqsng.com' => array('fxsqsng.com'), - 'lee789.com' => array('lee789.com'), - 'loupan99.com' => array('loupan99.com'), - 'lrswl.com' => array('lrswl.com'), - 'myhard.com' => array('myhard.com'), - 'pagechoice.com' => array('pagechoice.com'), - 'pee.cn' => array('pee.cn'), - 'tenoad.com' => array('tenoad.com'), - 'itruni.com' => array('itruni.com'), - 'ucoz.com' => array('ucoz.com'), - 'union001.com' => array('union001.com'), - 'xiankandy.com' => array('xiankandy.com'), - 'xifatime.com' => array('xifatime.com'), - 'yjkyj.cn' => array('yjkyj.cn'), - 'zamar.cn' => array('zamar.cn'), - - 'actonservice.com' => array( #精简域名 - 'actonservice.com', - ), - 'daraz.com' => array( # 精简域名,太长了,似乎是个电商平台 - 'daraz.com', - ), - 'llnw.net' => array( # 精简域名,这是个cdn服务商,可能误杀 - 'llnw.net', - ), - 'windows.com' => array( #精简域名,这个是windows推送服务? - 'wns.windows.com', - ), - 'uc.cn' => array( // dns日志提取 - 'coral-task.uc.cn', - 'applogios.uc.cn', // uc log - ), - 'sm.cn' => array( // dns日志提取 - 'huichuan-mc.sm.cn', - 'huichuan.sm.cn', - ), - 'alibaba.com' => array( // dns日志提取 - 'fourier.alibaba.com', - ), - 'jj.cn' => array( // dns日志提取 - 'stat.m.jj.cn', - ), - -); +return array(); \ No newline at end of file diff --git a/scripts/lib/white_domain_list.enc.php b/scripts/lib/white_domain_list.enc.php new file mode 100644 index 00000000..de9a305a Binary files /dev/null and b/scripts/lib/white_domain_list.enc.php differ diff --git a/scripts/lib/white_domain_list.php b/scripts/lib/white_domain_list.php index 4289a0f2..d266508b 100644 --- a/scripts/lib/white_domain_list.php +++ b/scripts/lib/white_domain_list.php @@ -1,331 +1,2 @@ 0, - 'bce.baidu.com' => 0, - 'b.bdstatic.com' => 0, - 'gss0.bdstatic.com' => 0, //百度贴吧头像 - 'googleadapis.l.google.com' => 0, //解决google字体下载异常 - 'gstaticadssl.l.google.com' => 0, //解决google字体下载异常 - 'gvt2.com' => 1, //gvt2,安卓系统相关 - 'wangbase.com' => 1, //阮一峰同志的博客图片显示 - 'l.qq.com' => 0, //解决腾讯视频无法播放 - 'dldir1.qq.com' => 0, //qq下载安装包路径 - 'cgi.connect.qq.com' => 0, //qq互联 - 'stdl.qq.com' => 0, //qq浏览器 - 'wup.imtt.qq.com' => 0, //qq浏览器书签 - 'pacaio.match.qq.com' => 0, //腾讯网qq登录 - 'gia.jd.com' => 0, //京东滑动验证码 - 'edge.yunjiasu.com' => 0, //百度云加速javascript快速加载功能 - 'cd.bendibao.com' => 0, //成都本地宝 - 'm.qpic.cn' => 0, // qq,微信,QQ空间等用到的静态资源域名 - 'ipify.org' => 1, // 获得公网 IP - 'pass.1688.com' => 0, // 阿里巴巴网站访问不正常 - 'cedexis.net' => 0, // windowsupdate CNAME - 'y0.cn' => 0, // 短网址服务,涉及本次丁香医生实时疫情页面 http://y0.cn/sari - 'click.taobao.com' => 0, //淘宝粉丝福利购 - 't1.baidu.com' => 0, //百度图片自有平台 - 't2.baidu.com' => 0, //百度图片自有平台 - 't3.baidu.com' => 0, //百度图片自有平台 - 't4.baidu.com' => 0, //百度图片自有平台 - 't5.baidu.com' => 0, //百度图片自有平台 - 't6.baidu.com' => 0, //百度图片自有平台 - 't7.baidu.com' => 0, //百度图片自有平台 - 't8.baidu.com' => 0, //百度图片自有平台 - 't9.baidu.com' => 0, //百度图片自有平台 - 't10.baidu.com' => 0, //百度图片自有平台 - 't11.baidu.com' => 0, //百度图片自有平台 - 't12.baidu.com' => 0, //百度图片自有平台 - 'bytedance.com' => 0, //字节跳动 - 'tbskip.taobao.com' => 1, //淘宝订单搜索相关 - 'wl.jd.com' => 0, //修复京东pc首页加载异常 - 'tanx.com' => 0, //饿了么店铺异常 - 'promotion.aliyun.com' => 0, //阿里云控制台 - 'rarbg.to' => 0, //BT站 - 'rarbgprx.org' => 0, //BT站 - 'rarbgmirror.org' => 0, //BT站 - 'rarbgmirror.com' => 0, //BT站 - 'rarbgmirrored.org' => 0, //BT站 - 'rarbgaccess.org' => 0, //BT站 - 'rarbgp2p.org' => 0, //BT站 - 'rarbgproxied.org' => 0, //BT站 - 'rarbgproxy.org' => 0, //BT站 - 'rarbgto.org' => 0, //BT站 - 'rarbgway.org' => 0, //BT站 - 'rarbg2019.org' => 0, //BT站 - 'rarbg2020.org' => 0, //BT站 - 'rarbg2021.org' => 0, //BT站 - 'gsp0.baidu.com' => 0, //百度贴吧相关 - 'gsp1.baidu.com' => 0, //百度贴吧相关 - 'gsp2.baidu.com' => 0, //百度贴吧相关 - 'gsp3.baidu.com' => 0, //百度贴吧相关 - 'sp0.baidu.com' => 0, //百度翻译资源 - 'sp1.baidu.com' => 0, //百度翻译资源 - 'sp2.baidu.com' => 0, //百度翻译资源 - 'c0.ifengimg.com' => 0, //凤凰网视频异常 - '7moor.com' => 0, //山姆会员客服异常 - 'v.smtcdns.net' => 0, //影响部分B站直播 - 'gameone.com' => 0, //影响部分B站直播 - 'ultraiso.net' => 1, //软碟通官网 - 'mmstat.com' => 0, //修复优酷视频显示禁用了cookie - 'log.mmstat.com' => 0, //修复优酷视频显示禁用了cookie - 'adm.10jqka.com.cn' => 0, //修复同花顺的tips异常 - 'cps.kaola.com' => 0, //考拉的cps,放行 - 'iteye.com' => 0, //某编程网站 - 'dl.360safe.com' => 0, //360驱动下载 - 'resolver.msg.xiaomi.net' => 0, //小爱音箱语音识别 - 'api.sec.miui.com' => 0, //miui自带骚扰拦截相关 - 'iface2.iqiyi.com' => 0, //爱奇艺 相关视频推荐 - 'apm3.music.163.com' => 0, //网易云音乐 - 'mbd.baidu.com' => 0, //百度百家号 - 'suo.im' => 0, //短网址服务 - 'hinet.net' => 0, - 'hubpd.com' => 0, //党媒平台网址 - 'i.niupic.com' => 0, //免费图床地址 - 'api-game.meizu.com' => 0, //魅族商店更新游戏 - 'image.uczzd.cn' => 0, //uc头条的图片 #67 - 'dg.k.jd.com' => 0, //京东不能跳转app - 'orbit.jd.com' => 0, //京东不能跳转app - 'kepler.jd.com' => 0, //京东不能跳转app - 'widget.weibo.com' => 0, //微博误杀 - 'sailthru.com' => 0, //误杀epicgame.com,因CNAME #73 - 't1.58cdn.com.cn' => 0, // 58同城cdn #75 - 't2.58cdn.com.cn' => 0, // 58同城cdn #75 - 't3.58cdn.com.cn' => 0, // 58同城cdn #75 - 'ddns.net' => 0, // #76 - 'pushbullet.com' => 0, // #77 - 'now.sh' => 0, // #78 - 'zimuku.la' => 0, // #84 - 'qihucdn.com' => 0, // #89 - 'sqimg.qq.com' => 0, // #90 - 'haohuo.snssdk.com' => 0, // 抖音订单列表 - 'acs.m.taobao.com' => 0, // #92 - 'perfops.net' => 0, // #96 - 'msg.video.qiyi.com' => 0, // #93 - 'img.zuoyebang.cc' => 0, // 作业帮拍照搜题 - 'data.video.iqiyi.com' => 0, // 爱奇艺电视投屏 - 'cp81.ott.cibntv.net' => 0, // CIBN云视听异常 #107 - 'sj.uukanshu.com' => 0, // 误杀 #110 - 'e.shifen.com' => 0, // 百度的某个cname域名,误杀严重 - 'gvt1.com' => 0, // google play #117 - 'apiwz.midukanshu.com' => 0, // #120 - 'api.jr.mi.com' => 0, // #121 - 'graph.facebook.com' => 0, - 'image.box.xiaomi.com' => 0, // #124 - 'niuza.com' => 1, // #124 - 'sourl.cn' => 0, // #123 - 'pp.ua' => 0, // #131 - 'search.video.iqiyi.com' => 0, // #132 - 'wanproxy.127.net' => 0, // #137 - 'shouji.360.cn' => 0, // #136 - 'ae01.alicdn.com' => 0, // #142 - // 'pingjs.qq.com' => 0, // #143 - 'shifen.com' => 0, // 百度的cname - 'f10.baidu.com' => 0, // 百度公众号图片 - 'f11.baidu.com' => 0, // 百度公众号图片 - 'f12.baidu.com' => 0, // 百度公众号图片 - 'bj.bcebos.com' => 0, // 百度云产品 - 'kingsoft.com' => 0, // 金山软件 - 'top.baidu.com' => 0, // 百度风云榜 - 'aiseet.atianqi.com' => 0, // #147 - 'data.bilibili.com' => 0, // #148 - 'get3.adobe.com' => 0, // #152 - 'ex.qq.com' => 0, // #153 - '1sapp.com' => 0, // #156 - 'dyn.ithome.com' => 0, // #157 - 'sf6-ttcdn-tos.pstatp.com' => 0, // #159 - 'api.tv.sohu.com' => 0, // 搜狐视频win app版不能使用 - 'ip2location.com' => 0, // #163 - 'livere.com' => 0, // #170 - 'ucan.25pp.com' => 0, // #171 - 'privateinternetaccess.com' => 0, // #174 - 'shopify.com' => 0, // #179 - 'co.in' => 0, //https://github.com/nextdns/metadata/issues/364 - '91mobiles.com' => 0, // #215 - 'm.1234567.com.cn' => 0, // #213 - 'woniu.com' => 0, // #227 - 'du.163.com' => 0, // #229 - 'zaloapp.com' => 0, // #230 - 'manhuachi.com' => 0, // #238 - 'push2.eastmoney.com' => 0, // #239 - 'slashdot.org' => 0, // #242 - 'iwx.mail.qq.com' => 0, // #243 - 'ename.net' => 0, // #246 - 'api.iplay.163.com' => 0, // #247 - 'minorshort.weixin.qq.com' => 0, // 微信滑动验证码 - 'pusher.com' => 0, // #248 - 'bluehost.com' => 0, // #249 - 'hosting24.com' => 0, // #252 - 'pdc.micloud.xiaomi.net' => 0, // #256 - 'valf.atm.cp31.ott.cibntv.net' => 0, // #257 - 'sf1-ttcdn-tos.pstatp.com' => 0, // #258 - 'sf3-ttcdn-tos.pstatp.com' => 0, // #258 - 'upload.cc' => 0, // #262 - 'yql.yahoo.com' => 0, // #263 - 'naifei.shop' => 0, // #267 - 'tagtic.cn' => 0, // #266 - 'settings-win.data.microsoft.com' => 0, // #268 - 'db5-eap.settings-win.data.microsoft.com.akadns.net' => 0, // #268 - 'db5.settings-win.data.microsoft.com.akadns.net' => 0, // #268 - 'geo.settings-win.data.microsoft.com.akadns.net' => 0, // #268 - 'printfriendly.com' => 0, // #272 - 'cnnic.cn' => 0, #274 - 'ss.cnnic.cn' => 0, #274 - 'www.cnnic.cn' => 0, #274 - 'cnnic.net' => 0, #274 - 'www.cnnic.net' => 0, #274 - 'cnnic.net.cn' => 0, #274 - 'www.cnnic.net.cn' => 0, #274 - 'c.gj.qq.com' => 0, #273 - 'isee.weishi.qq.com' => 0, #270 - 'direct.wap.zol.com.cn' => 0, #275 - 'imop.com' => 0, #283 - 'mobilelog.kugou.com' => 0, #286 - 'bssdlbig.kugou.com' => 0, #286 - 'tvzhe.com' => 0, #290 - 'stats.gc.apple.com' => 0, #296 - 'img1.sj.qq.com' => 0, #294 - 'live.simcitybuildit.com' => 0, #303 - 'subscription.iqiyi.com' => 0, #306 - 'azureedge.net' => 0, #309 - 'surge.sh' => 0, // qq group, @frank - 'ccclub.cmbchina.com' => 0, // #313 - 'adv.ccb.com' => 0, // #316 - 'conac.cn' => 0, // #317 - 'mix.sina.com.cn' => 0, // #320 - 'jwpcdn.com' => 0, // #322 - 'retcode.taobao.com' => 0, // #312 - '3975.com' => 0, // #326 - 'air.1688.com' => 0, // #331 - 'continuum.dds.microsoft.com' => 0, // #335 - 'sec.resource.xiaomi.net' => 0, // #328 - 'api.cortana.ai' => 0, // #338 - 'mazu.3g.qq.com' => 0, // #340 - 'umiwi.com' => 0, // #341 - 'xmpush.xiaomi.com' => 0, // #343 - 'doublecklick.net' => 1, // 拼写错误的域名,https://github.com/privacy-protection-tools/anti-AD/pull/347/files - 'issuecdn.baidupcs.com' => 0, // #350 - 'duiba.com.cn' => 0, // #352 - 'trib.al' => 0, // #357 - 'ccmp.eu' => 0, // #365 - 'alissl.ucdl.pp.uc.cn' => 0, // #370 - 'c3pool.com' => 0, // #371 - 'wtradv.market.xiaomi.com' => 0, // #377 - 'update.avlyun.sec.miui.com' => 0, // #387 - 'sugar.zhihu.com' => 0, // #380 - 'chtbl.com' => 0, // #390 - 'huoying666.com' => 0, // #405 - 'u.huoying666.com' => 0, // #405 - 'hsforms.com' => 0, // #420 - 'hsforms.net' => 0, // #420 - 'jx.cn' => 0, // #423 - 'qualtrics.com' => 0, // #434 - 'assets.ckjr001.com' => 0, // #433 - 'kpstaticbj.wx.ckjr001.com' => 0, // #433 - - - - - - - - - - - - - - - - - - - - - 'iflow.uczzd.cn' => 0, // uc搞笑段子 - 'm.uczzd.cn' => 0, // uc搞笑段子 - 'puds.ucweb.com' => 0, // uc小游戏 - 'image.zzd.sm.cn' => 0, // uc浏览器 - 'herokuapp.com' => -1, - 'netlify.com' => -1, - 'vidoza.net' => -1, - 'nahnoji.cz' => 1, - 'cloudfront.net' => -1, - 'amazonaws.com' => -1, - 'github.io' => -1, - 'blogspot.com' => -1, - 'cdn77.org' => -1, - 'cloudflare.net' => -1, - 'appspot.com' => -1, - 'cpm.cm.kankan.com' => -1, //-1 失效本条规则,保持现状,即不加白本域名 - 'deliver.ifeng.com' => -1, //保留的dead-hosts,为了缩减其子域名 - 'ad.xiaomi.com' => -1, //保留的dead-hosts,为了缩减其子域名 - - /**notracking 提议加白的一批域名 start**/ - 'scribol.com' => 0, - 'tracking.epicgames.com' => 0, - 'logrocket.com' => 0, - 'loggly.com' => 0, - 'om.cbsi.com' => 0, - 'ipinfo.io' => 0, - 'v.shopify.com' => 0, - 'adobedtm.com' => 0, - 'c.evidon.com' => 0, - 'ereg.wip3.adobe.com' => 0, - 'csi.gstatic.com' => 0, - 'g.msn.com' => 0, - 'sascdn.com' => 0, - 'duckdns.org' => 0, - 'prf.hn' => 0, - 'placehold.it' => 0, - 'digg.com' => 0, - 'feedburner.com' => 0, - 'rambler.ru' => 1, - 'jiathis.com' => 0, - 'rs6.net' => 0, - 'com.com' => 0, - 's0.2mdn.net' => 0, - 'pr0gramm.com' => 0, - 'consent.cmp.oath.com' => 0, - 's.youtube.com' => 0, - 'purch.com' => 0, - 'fpdownload.macromedia.com' => 0, - 'dynatrace.com' => 0, - 'auditude.com' => 0, - 'app.link' => 0, - /**notracking 提议加白的一批域名 end**/ - - 'activate.adobe.com' => 0, - 'ereg.adobe.com' => 0, - 'hlrcv.stage.adobe.com' => 0, - 'lmlicenses.wip4.adobe.com' => 0, - 'na1r.services.adobe.com' => 0, - 'licenses.adobe.com' => 1, - 'alcohol-soft.com' => 1, - 'licenses.ashampoo.com' => 0, - 'bluesoleil.com' => 1, - 'activation.phaseone.com' => 0, - 'corel.com' => 1, - 'dbregistration.cuteftp.com' => 0, - 'cyberlink.com' => 1, - 'activation.easeus.com' => 0, - 'upd.faronicslabs.com' => 0, - 'lumion3d.com' => 1, - 'lumion3d.net' => 1, - 'act2.mediafour.com' => 0, - 'sams.nikonimaging.com' => 0, - 'license.piriform.com' => 0, - 'www.bitsumactivationserver.com' => 0, - 'licensing.tableausoftware.com' => 0, - 'techsmith.com' => 1, - 'binaryage.com' => 1, - 'wisecleaner.com' => 1, -); +return array(); diff --git a/scripts/tools/adguard-extend.enc.php b/scripts/tools/adguard-extend.enc.php new file mode 100644 index 00000000..2f8fcd64 Binary files /dev/null and b/scripts/tools/adguard-extend.enc.php differ diff --git a/scripts/tools/adguard-extend.php b/scripts/tools/adguard-extend.php index 35f12eea..67e479c3 100644 --- a/scripts/tools/adguard-extend.php +++ b/scripts/tools/adguard-extend.php @@ -1,703 +1,2 @@ null, - '*.mgr.consensu.org' => null, - 'vs*.gzcu.u3.ucweb.com' => null, - 'ad*.goforandroid.com' => null, - 'bs*.9669.cn' => null, - '*serror*.wo.com.cn' => ['m' => '$dnstype=A|CNAME'], - '*mistat*.xiaomi.com' => null, - 'affrh20*.com' => null, - 'assoc-amazon.*' => null, - 'clkservice*.youdao.com' => null, - 'dsp*.youdao.com' => null, - 'pussl*.com' => null, - 'putrr*.com' => null, - 't*.a.market.xiaomi.com' => null, - 'ad*.bigmir.net' => null, - 'log*.molitv.cn' => null, - 'adm*.autoimg.cn' => null, - 'cloudservice*.kingsoft-office-service.com' => null, - 'gg*.51cto.com' => null, - 'log.*.hunantv.com' => null, - 'iflyad.*.openstorage.cn' => null, - '*customstat*.51togic.com' => null, -// 'appcloud*.zhihu.com' => null, // #344 - 'ad*.molitv.cn' => null, - 'ads*-adnow.com' => null, - 'aeros*.tk' => null, - 'analyzer*.fc2.com' => null, - 'admicro*.vcmedia.vn' => null, - 'xn--xhq9mt12cf5v.*' => null, - 'freecontent.*' => null, - 'hostingcloud.*' => null, - 'jshosting.*' => null, - 'flightzy.*' => null, - 'sunnimiq*.cf' => null, - 'admob.*' => null, - '*log.droid4x.cn' => null, - '*tsdk.vivo.com.cn' => null, - '*.mmstat.com' => null, -// 'sf*-ttcdn-tos.pstatp.com' => null, - 'f-log*.grammarly.io' => null, - '24log.*' => null, - '24smi.*' => null, - 'ad-*.wikawika.xyz' => null, - 'ablen*.tk' => null, - 'darking*.tk' => null, - 'doubleclick*.xyz' => null, - 'thepiratebay.*' => null, - 'adserver.*' => null, - 'clientlog*.music.163.com' => null, - 'brucelead*.com' => null, - 'gostats.*' => null, - 'gralfusnzpo*.top' => null, - 'oiwjcsh*.top' => null, - '*-analytics*.huami.com' => null, - 'count*.pconline.com.cn' => null, - 'qchannel*.cn' => null, - 'sda*.xyz' => null, - 'ad-*.com' => null, - 'ad-*.net' => null, - 'webads.*' => null, - 'web-stat.*' => null, - 'waframedia*.*' => null, - 'wafmedia*.*' => null, - 'voluumtrk*.com' => null, - 'vmm-satellite*.com' => null, - 'vente-unique.*' => null, - 'vegaoo*.*' => null, - 'umtrack*.com' => null, - 'grjs0*.com' => null, - 'imglnk*.com' => null, - 'admarvel*.*' => null, - 'admaster*.*' => null, - 'adsage*.*' => null, - 'adsensor*.*' => null, - 'adservice*.*' => null, - 'adsh*.*' => null, - 'adsmogo*.*' => null, - 'adsrvmedia*.*' => null, - 'adsserving*.*' => null, - 'adsystem*.*' => null, - 'adwords*.*' => null, - 'analysis*.*' => null, - 'applovin*.*' => null, - 'appsflyer*.*' => null, - 'domob*.*' => null, - 'duomeng*.*' => null, - 'dwtrack*.*' => null, - 'guanggao*.*' => null, - 'lianmeng*.*' => null, - //'monitor*.*' => null, - 'omgmta*.*' => null, - 'omniture*.*' => null, - 'openx*.*' => null, - 'partnerad*.*' => null, - 'pingfore*.*' => null, - 'socdm*.*' => null, - 'supersonicads*.*' => null, - 'tracking*.*' => null, - 'usage*.*' => null, - 'wlmonitor*.*' => null, - 'zjtoolbar*.*' => null, - 'engage.3m*' => null, - '*.actonservice.com' => null, - '*-cor0*.api.p001.1drv.com' => null, - '*33*-*.1drv.com' => null, - '2cnjuh34j*.com' => null, - 'ssc.southpark*' => null, - 'tr.*.espmp-*fr.net' => null, - 'tdep.vacansoleil.*' => null, - 'da.hornbach.*' => null, - '*us*watcab*.blob.core.windows.net' => null, - 'xn--wxtr9fwyxk9c.*' => null, -); - -$ARR_REGEX_LIST = array( - -); - -//对通配符匹配或正则匹配增加的额外赦免规则 -$ARR_WHITE_RULE_LIST = array( - '@@||tongji.*kuwo.cn^' => 0, - '@@||tracking.epicgames.com^' => 0, - '@@||tracker.eu.org^' => 1, //强制加白,BT tracker,有形如2.tracker.eu.org的域 - '@@||stats.uptimerobot.com^' => 1, //uptimerobot监测相关 #38 - '@@||track.sendcloud.org^' => 0, //邮件退订域名 - '@@||log.mmstat.com^' => 0, //修复优酷视频显示禁用了cookie - '@@||adm.10jqka.com.cn^' => 0, //同花顺 - '@@||center-h5api.m.taobao.com^' => 1, //h5页面 - '@@||app.adjust.com^' => 1, //https://github.com/AdguardTeam/AdGuardSDNSFilter/pull/186 - '@@||widget.weibo.com^' => 0, //微博外链 - '@@||uland.taobao.com^' => 1, //淘宝coupon #83 - '@@||advertisement.taobao.com^' => 1, //CNAME 被杀,导致s.click.taobao.com等服务异常 - '@@||baozhang.baidu.com^' => 1, //CNAME e.shifen.com - '@@||tongji.edu.cn^' => 1, // 同济大学 - '@@||tongji.cn^' => 1, // 同济大学 #281 - '@@||ad.siemens.com.cn^' => 1, // 西门子下载中心 - '@@||sdkapi.sms.mob.com^' => 1, // 短信验证码 #127 - '@@||stats.gov.cn^' => 1, // 国家统计局 #144 - '@@||tj.gov.cn^' => 1, - '@@||sax.sina.com.cn^' => 1, // #155 - '@@||api.ad-gone.com^' => 1, // #207 - '@@||news-app.abumedia.yql.yahoo.com^' => 1, // #206 - '@@||meizu.coapi.moji.com^' => 1, // #217 - '@@||track.cpau.info^' => 1, // #251 - '@@||passport.bobo.com^' => 1, // #265 - '@@||stat.jseea.cn^' => 1, // #279 - '@@||widget.intercom.io^' => 1, // #280 - '@@||track.toggl.com^' => 1, // #307 - '@@||www.msftconnecttest.com^' => 1, // #327 - '@@||storage.live.com^' => 1, // #333 - '@@||skyapi.onedrive.live.com^' => 1, // #333 - '@@||counter-strike.net^' => 1, // #332 - '@@||ftp.bmp.ovh^' => 1, // #353 - '@@||profile*.se.360.cn^' => 1, // #381 - '@@||pic.iask.cn^' => 1, // #397 - '@@||ad.jp^' => 1, // #399 - '@@||ad.azure.com^' => 1, // #399 - '@@||ad.cityu.edu.hk^' => 1, // #398 - '@@||edge-enterprise.activity.windows.com^' => 1, // #401 - '@@||edge.activity.windows.com^' => 1, // #401 - '@@||tracking-protection.cdn.mozilla.net^' => 1, // #407 - '@@||skydrivesync.policies.live.net^' => 1, // #409 - '@@||dxcloud.episerver.net^' => 1, // #418 - '@@||static3.iask.cn^' => 1, // #429 - '@@||login-ishare.iask.com.cn^' => 1, // #429 - '@@||wechat.ishare.iask.com.cn^' => 1, // #429 - '@@||dw.iask.com.cn^' => 1, // #429 - '@@||settings-win.data.microsoft.com^' => 1, // #426 - '@@||insideruser.microsoft.com^' => 1, // #426 -); - -//针对上游赦免规则anti-AD不予赦免的规则,即赦免名单的黑名单 -$ARR_WHITE_RULE_BLK_LIST = array( - '@@||github.com^' => null, - '@@||github.io^' => null, - '@@||ads.nipr.ac.jp^' => null, - '@@||10010.com^' => null, - '@@||10086.cn^' => null, - '@@||17173im.allyes.com^' => null, - '@@||199it.com^' => null, - '@@||1point3acres.com^' => null, - '@@||3dpchip.com^' => null, - '@@||4horlover.com^' => null, - '@@||51job.com^' => null, - '@@||520call.me^' => null, - '@@||5278.cool^' => null, - '@@||58b.tv^' => null, - '@@||5qidgde.com^' => null, - '@@||85po.com^' => null, - '@@||85porn.net^' => null, - '@@||99wbwc.com^' => null, - '@@||99ybcc.com^' => null, - '@@||9zvip.net^' => null, - '@@||abril.com.br^' => null, - '@@||ad.10010.com^' => null, - '@@||ad.abchina.com^' => null, - '@@||ad.alimama.com^' => null, - '@@||ad.kazakinfo.com^' => null, - '@@||ad.ourgame.com^' => null, - '@@||ad2.uoocuniversity.com^' => null, - '@@||adf.ly^' => null, - '@@||adfox.ru^' => null, - '@@||adjs.8591.com.tw^' => null, - '@@||admin.mgid.com^' => null, - '@@||ads.askgamblers.com^' => null, - '@@||ads.com^' => null, - '@@||adsense.woso.cn^' => null, - '@@||adv.blogupp.com^' => null, - '@@||adv.cr^' => null, - '@@||adv.gg^' => null, - '@@||adv.welaika.com^' => null, - '@@||advert.kf5.com^' => null, - '@@||aetv.com^' => null, - '@@||affyun.com^' => null, - '@@||ak77now.pixnet.net^' => null, - '@@||analytics.amplitude.com^' => null, - '@@||annhe.net^' => null, - '@@||anyknew.com^' => null, - '@@||api-merchants.skimlinks.com^' => null, - '@@||api.ad-gone.com^' => null, - '@@||api.ads.tvb.com^' => null, - '@@||api.nyda.pro^' => null, - '@@||api.recaptcha.net^' => null, - '@@||apk.tw^' => null, - '@@||app-advertise.zhihuishu.com^' => null, - '@@||app.adroll.com^' => null, - '@@||archiveteam.org^' => null, - '@@||arstechnica.com^' => null, - '@@||aternos.org^' => null, - '@@||bde4.cc^' => null, - '@@||beta.bugly.qq.com^' => null, - '@@||bingfeng.tw^' => null, - '@@||blackmod.net^' => null, - '@@||blog.ztjal.info^' => null, - '@@||brighteon.com^' => null, - '@@||browser.cloud.ucweb.com^' => null, - '@@||btsax.info^' => null, - '@@||buyad.bi-xenon.cn^' => null, - '@@||captcha.su.baidu.com^' => null, - '@@||ccllaa.com^' => null, - '@@||centro.co.il^' => null, - '@@||changyou.com^' => null, - '@@||chinamobile.com^' => null, - '@@||chinatelecom.com.cn^' => null, - '@@||chuangkit.com^' => null, - '@@||cloud.mail.ru^' => null, - '@@||club.tgfcer.com^' => null, - '@@||cmechina.net^' => null, - '@@||cnprint.org^' => null, - '@@||cocomanhua.com^' => null, - '@@||colatour.com.tw^' => null, - '@@||consent-pref.trustarc.com^' => null, - '@@||consent.trustarc.com^' => null, - '@@||cookielawinfo.com^' => null, - '@@||coolinet.com^' => null, - '@@||cwtv.com^' => null, - '@@||cy.com^' => null, - '@@||d1-dm.com^' => null, - '@@||dailymail.co.uk^' => null, - '@@||dashboard.idealmedia.com^' => null, - '@@||dashboard.lentainform.com^' => null, - '@@||dashboard.marketgid.com^' => null, - '@@||dashboard.mgid.com^' => null, - '@@||dashboard.tovarro.com^' => null, - '@@||destinationamerica.com^' => null, - '@@||digit77.com^' => null, - '@@||dilidili.one^' => null, - '@@||displayad.naver.com^' => null, - '@@||dizhi99.com^' => null, - '@@||dlkoo.cc^' => null, - '@@||dlkoo.com^' => null, - '@@||dmhy.b168.net^' => null, - '@@||doubibackup.com^' => null, - '@@||download.jumpw.com^' => null, - '@@||download.mokeedev.com^' => null, - '@@||e9china.net^' => null, - '@@||easylife.tw^' => null, - '@@||ecitic.com^' => null, - '@@||edmondpoon.com^' => null, - '@@||elife-cloud.blogspot.com^' => null, - '@@||eolinker.com^' => null, - '@@||eucookiedirective.com^' => null, - '@@||experienceleague.adobe.com^' => null, - '@@||experienceleague.corp.adobe.com^' => null, - '@@||ez3c.tw^' => null, - '@@||fangcloud.com^' => null, - '@@||feed.mix.sina.com.cn^' => null, - '@@||fharr.com^' => null, - '@@||flattr.com^' => null, - '@@||fontawesome.com^' => null, - '@@||front-go.lemall.com^' => null, - '@@||fullmatchesandshows.com^' => null, - '@@||game735.com^' => null, - '@@||games.pch.com^' => null, - '@@||gaus.ee^' => null, - '@@||gaybeeg.info^' => null, - '@@||gelbooru.com^' => null, - '@@||getrelax.cc^' => null, - '@@||ggg50.pw^' => null, - '@@||golangnote.com^' => null, - '@@||gooogle.how^' => null, - '@@||hanjubaike.com^' => null, - '@@||hanjuwang.com^' => null, - '@@||hanjuwang.net^' => null, - '@@||healthyadvertising.es^' => null, - '@@||hh010.com^' => null, - '@@||history.com^' => null, - '@@||ibf.tw^' => null, - '@@||identity.mparticle.com^' => null, - '@@||img.ads.tvb.com^' => null, - '@@||informer.com^' => null, - '@@||inoreader.com^' => null, - '@@||ipfs-lab.com^' => null, - '@@||jetzt.de^' => null, - '@@||jin10.com^' => null, - '@@||jinyongci.com^' => null, - '@@||jjkmn.com^' => null, - '@@||jlthjy.com^' => null, - '@@||joyk.com^' => null, - '@@||jsfiddle.net^' => null, - '@@||jsjiami.com^' => null, - '@@||kissjav.com^' => null, - '@@||kk665403.pixnet.net^' => null, - '@@||laotiesao.vip^' => null, - '@@||ldxinyong.com^' => null, - '@@||league-funny.com^' => null, - '@@||leagueofmovie.com^' => null, - '@@||lemon.baidu.com^' => null, - '@@||liumingye.cn^' => null, - '@@||lnk2.cc^' => null, - '@@||login.mos.ru^' => null, - '@@||ltzn.9377.com^' => null, - '@@||mcbar.cn^' => null, - '@@||mccc11.com^' => null, - '@@||mccm88.com^' => null, - '@@||media-cache*.pinimg.com^' => null, - '@@||megaup.net^' => null, - '@@||metrics.torproject.org^' => null, - '@@||mi.cn^' => null, - '@@||milfzr.com^' => null, - '@@||minigame.qq.com^' => null, - '@@||mmaa99.xyz^' => null, - '@@||mmee04.com^' => null, - '@@||mmff30.com^' => null, - '@@||mmgd.xyz^' => null, - '@@||mmuu22.link^' => null, - '@@||mnighthk.net^' => null, - '@@||monnsutogatya.com^' => null, - '@@||moviesunusa.net^' => null, - '@@||ms332.com^' => null, - '@@||msn.com^' => null, - '@@||msn.wrating.com^' => null, - '@@||muzlan.top^' => null, - '@@||myqqjd.com^' => null, - '@@||namechk.com^' => null, - '@@||netflav.com^' => null, - '@@||newad.mail.wo.cn^' => null, - '@@||niotv.com^' => null, - '@@||nobugin.com^' => null, - '@@||nodkey.xyz^' => null, - '@@||oiihk.com^' => null, - '@@||olgame.tw^' => null, - '@@||ondemand.sas.com^' => null, - '@@||optout.networkadvertising.org^' => null, - '@@||panjiachen.github.io^' => null, - '@@||pass.1688.com^' => null, - '@@||passets-cdn.pinterest.com^' => null, - '@@||passiontimes.hk^' => null, - '@@||payload.cargocollective.com^' => null, - '@@||pg-wuming.com^' => null, - '@@||phs.tanx.com^' => null, - '@@||pingjs.qq.com^' => null, - '@@||pixelexperience.org^' => null, - '@@||player.sundaysky.com^' => null, - '@@||plugins.matomo.org^' => null, - '@@||poedb.tw^' => null, - '@@||pornbraze.com^' => null, - '@@||premiumleecher.com^' => null, - '@@||profile.getyounity.com^' => null, - '@@||publisher.adservice.com^' => null, - '@@||qqdie.com^' => null, - '@@||r3sub.com^' => null, - '@@||receive-a-sms.com^' => null, - '@@||redditarchive.com^' => null, - '@@||restream.io^' => null, - '@@||reuters.com^' => null, - '@@||rojadirecta.me^' => null, - '@@||rule34hentai.net^' => null, -// '@@||s-media*.pinimg.com^' => null, - '@@||sakai-hk.com^' => null, - '@@||sc2casts.com^' => null, - '@@||sciencechannel.com^' => null, - '@@||scyts.com^' => null, - '@@||sdc.pingan.com^' => null, - '@@||searchad.naver.com^' => null, - '@@||seedingup.com^' => null, - '@@||seedingup.de^' => null, - '@@||seedingup.es^' => null, - '@@||seedingup.fr^' => null, - '@@||seedingup.it^' => null, - '@@||serve.netsh.org^' => null, - '@@||services.pornhub.com^' => null, - '@@||seselah.com^' => null, - '@@||sexylove.club^' => null, - '@@||seyise8.com^' => null, - '@@||seyy66.space^' => null, - '@@||share1223.com^' => null, - '@@||shopback.com.tw^' => null, - '@@||slack.com^' => null, - '@@||smallseotools.com^' => null, - '@@||smtcaw.com^' => null, - '@@||social.krunker.io^' => null, - '@@||socialmedia.by^' => null, - '@@||softwarebrother.com^' => null, - '@@||sourcepoint.telegraph.co.uk^' => null, - '@@||spanishdict.com^' => null, - '@@||speedtest.net^' => null, - '@@||spiegel.de^' => null, - '@@||sssbozh.com^' => null, - '@@||stream4free.live^' => null, - '@@||swiso.org^' => null, - '@@||switching.software^' => null, - '@@||swjoy.com^' => null, - '@@||szhr.com.cn^' => null, - '@@||szhr.com^' => null, - '@@||technews.tw^' => null, - '@@||television-envivo.com^' => null, - '@@||teliad.com^' => null, - '@@||teliad.de^' => null, - '@@||teliad.es^' => null, - '@@||teliad.fr^' => null, - '@@||teliad.it^' => null, - '@@||th-sjy.com^' => null, - '@@||thefreedictionary.com^' => null, - '@@||thimble.mozilla.org^' => null, - '@@||thisav.com^' => null, - '@@||tiktok.com^' => null, - '@@||tlc.com^' => null, - '@@||tomshardware.co.uk^' => null, - '@@||tomshardware.com^' => null, - '@@||transferwise.com^' => null, - '@@||trip.cmbchina.com^' => null, - '@@||ttkdex.com^' => null, - '@@||tuhu.cn^' => null, - '@@||tui.click^' => null, - '@@||tweaktown.com^' => null, - '@@||twofactorauth.org^' => null, - '@@||udp2p.com^' => null, - '@@||upload.tube8.com^' => null, - '@@||uptostream.com^' => null, - '@@||upxin.net^' => null, - '@@||urlgalleries.net^' => null, - '@@||v2rayssr.com^' => null, - '@@||vd.l.qq.com^' => null, - '@@||viu.tv^' => null, - '@@||ware.shop.jd.com^' => null, - '@@||wavebox.io^' => null, - '@@||web.archive.org^' => null, - '@@||websetnet.com^' => null, - '@@||weithenn.org^' => null, - '@@||wenxuecity.com^' => null, - '@@||wgun.net^' => null, - '@@||wholehk.com^' => null, - '@@||widget.myrentacar.me^' => null, - '@@||wikia.nocookie.net^' => null, - '@@||wikibooks.org^' => null, - '@@||wikidata.org^' => null, - '@@||wikinews.org^' => null, - '@@||wikipedia.org^' => null, - '@@||wikiquote.org^' => null, - '@@||wikiversity.org^' => null, - '@@||wiktionary.org^' => null, - '@@||ws.webcaster.pro^' => null, - '@@||www.gsxt.gov.cn^' => null, - '@@||xia1ge.com^' => null, - '@@||xianzhenyuan.cn^' => null, - '@@||xidian.edu.cn^' => null, - '@@||xilinjie.com^' => null, - '@@||xiuren.org^' => null, - '@@||xmpp-chat.pornhub.com^' => null, - '@@||xmxing.net^' => null, - '@@||yellowbridge.com^' => null, - '@@||yesiget.i234.me^' => null, - '@@||yibada.com^' => null, - '@@||ymso.cc^' => null, - '@@||yygsz.com^' => null, - '@@||zbj.com^' => null, - '@@||zeplin.io^' => null, - '@@||zippyshare.com^' => null, -); - -//针对上游通配符规则中anti-AD不予采信的规则,即通配符黑名单 -$ARR_WILD_BLK_LIST = array( - 'cnt*rambler.ru' => null, - 'um*.com' => null, -); - -if(PHP_SAPI != 'cli'){ - die('nothing.'); -} - -$src_file = ''; -try{ - $file = $argv[1]; - $src_file = ROOT_DIR . $file; -}catch(Exception $e){ - echo "get args failed.", $e->getMessage(), "\n"; - die(0); -} - -if(empty($src_file) || !is_file($src_file)){ - echo 'src_file:', $src_file, ' is not found.'; - die(0); -} - -if(!is_file(WILDCARD_SRC) || !is_file(WHITERULE_SRC)){ - echo 'key file is not found.'; - die(0); -} - -$wild_fp = fopen(WILDCARD_SRC, 'r'); -$arr_wild_src = array(); - -while(!feof($wild_fp)){ - $wild_row = fgets($wild_fp, 512); - if(empty($wild_row)){ - continue; - } - if(!preg_match('/^\|\|?([\w\-\.\*]+?)\^(\$([^=]+?,)?(image|third-party|script)(,[^=]+)?)?$/', $wild_row, $matches)){ - continue; - } - - if(array_key_exists($matches[1], $ARR_WILD_BLK_LIST)){ - continue; - } - - $matched = false; - // TODO 此处匹配似乎还不够完美,需再次斟酌 - foreach($ARR_REGEX_LIST as $regex_str => $regex_row){ - if(preg_match($regex_str, str_replace('*', '', $matches[1]))){ - $matched = true; - break; - } - } - if($matched){ - continue; - } - $arr_wild_src[$matches[1]] = []; -} -fclose($wild_fp); - -$arr_wild_src = array_merge($arr_wild_src, $ARR_MERGED_WILD_LIST); - -$written_size = $line_count = 0; - -$src_content = file_get_contents($src_file); -$attached_content = ''; -$tmp_replaced_content = ''; - -//按需写入白名单规则 -$whiterule = file(WHITERULE_SRC, FILE_SKIP_EMPTY_LINES | FILE_IGNORE_NEW_LINES); -$whiterule = array_fill_keys($whiterule, 0); -$ARR_WHITE_RULE_LIST = array_merge($whiterule, $ARR_WHITE_RULE_LIST); -$wrote_whitelist = []; -$remained_white_rule = []; -foreach($ARR_WHITE_RULE_LIST as $row => $v){ - if(empty($row) || substr($row, 0, 1) !== '@' || substr($row, 1, 1) !== '@'){ - continue; - } - $matches = array(); - if(!preg_match('/^@@\|\|([0-9a-z\.\-\*]+?)\^/', $row, $matches)){ - continue; - } - - if(array_key_exists("@@||${matches[1]}^", $ARR_WHITE_RULE_BLK_LIST)){ - continue; - } - - if(array_key_exists($matches[1], $wrote_whitelist)){ - continue; - } - - if($v === 1){ - $wrote_whitelist[$matches[1]] = null; - $attached_content .= "@@||${matches[1]}^\n"; - $line_count++; - continue; - } - - $origin_white_rule = $matches[1]; - $wrote_whitelist[$origin_white_rule] = null; - $matches[1] = str_replace('*', '.abc.', $matches[1]); - $matches[1] = str_replace('..', '.', $matches[1]); - $extract_domain = addressMaker::extract_main_domain($matches[1]); - if(!$extract_domain){ - $extract_domain = $matches[1]; - } - - // TODO 3级或以上域名加白2级域名的情况未纳入 - if(strpos($src_content, '|' . $extract_domain) === false){ - $remained_white_rule[$origin_white_rule] = 1; - continue; - } - - $attached_content .= "@@||${origin_white_rule}^\n"; - $line_count++; -} - -unset($wrote_whitelist); - -// 清洗正则表达式匹配 -foreach($ARR_REGEX_LIST as $regex_str => $regex_row){ - $php_regex = str_replace(array('/^', '$/'), array('/^\|\|', '\^'), $regex_str); - $php_regex = preg_replace('/(.+?[^$])\/$/', '\1.*\^', $php_regex); - $php_regex .= "\n/m"; - - $tmp_replaced_content = preg_replace($php_regex, '', $src_content); - if($tmp_replaced_content === $src_content){ - continue; - } - $src_content = $tmp_replaced_content; - $tmp_replaced_content = ''; - $attached_content .= $regex_str; - if($regex_row && is_array($regex_row) && $regex_row['m']){ - $attached_content .= $regex_row['m']; - } - $attached_content .= "\n"; - $line_count++; - - foreach($remained_white_rule as $rmk => $rmv){ - if(preg_match($php_regex, '||' . str_replace('*', '123', $rmk) . "^\n\n")){ - $attached_content .= '@@||' . $rmk . "^\n"; - $line_count++; - unset($remained_white_rule[$rmk]); - } - } -} - -// 清洗*号模糊匹配 -$wrote_wild_list = array(); -foreach($arr_wild_src as $wild_rule => $wild_value){ - - if(array_key_exists($wild_rule, $wrote_wild_list)){ - continue; - } - - $php_regex = '/^\|\|(\S+\.)?' . str_replace(array('.', '*', '-'), array('\\.', '.*', '\\-'), $wild_rule) . "\^\n/m"; - $tmp_replaced_content = preg_replace($php_regex, '', $src_content); - if($tmp_replaced_content == $src_content){ - continue; - } - - $wrote_wild_list[$wild_rule] = 1; - - $src_content = $tmp_replaced_content; - $tmp_replaced_content = ''; - $attached_content .= '||' . $wild_rule; - if($wild_value && is_array($wild_value) && $wild_value['m']){ - $attached_content .= '^' . $wild_value['m'] . "\n"; - }else{ - $attached_content .= "^\n"; - } - - $line_count++; - - foreach($remained_white_rule as $rmk => $rmv){ - if(preg_match($php_regex, '||' . str_replace('*', '123', $rmk) . "^\n\n")){ - $attached_content .= '@@||' . $rmk . "^\n"; - $line_count++; - unset($remained_white_rule[$rmk]); - } - } -} - -$line_count += substr_count($src_content, "\n"); -$src_content = str_replace("!Total lines: 00000\n", '!Total lines: ' . ($line_count - 4) . "\n" . $attached_content, $src_content); - -file_put_contents($src_file, $src_content); -file_put_contents($src_file . '.md5', md5_file($src_file)); -echo 'Time cost:', microtime(true) - START_TIME, "s, at ", date('m-d H:i:s'), "\n"; +die('anti-AD'); diff --git a/scripts/tools/easylist-extend.enc.php b/scripts/tools/easylist-extend.enc.php new file mode 100644 index 00000000..3cc722e9 Binary files /dev/null and b/scripts/tools/easylist-extend.enc.php differ diff --git a/scripts/tools/easylist-extend.php b/scripts/tools/easylist-extend.php index 5f97b941..67e479c3 100644 --- a/scripts/tools/easylist-extend.php +++ b/scripts/tools/easylist-extend.php @@ -1,744 +1,2 @@ null, - '*.mgr.consensu.org' => null, - 'vs*.gzcu.u3.ucweb.com' => null, - 'ad*.goforandroid.com' => null, - 'bs*.9669.cn' => null, - '*serror*.wo.com.cn' => ['m' => '$dnstype=A|CNAME'], - '*mistat*.xiaomi.com' => null, - 'affrh20*.com' => null, - 'assoc-amazon.*' => null, - 'clkservice*.youdao.com' => null, - 'dsp*.youdao.com' => null, - 'pussl*.com' => null, - 'putrr*.com' => null, - 't*.a.market.xiaomi.com' => null, - 'ad*.bigmir.net' => null, - 'log*.molitv.cn' => null, - 'adm*.autoimg.cn' => null, - 'cloudservice*.kingsoft-office-service.com' => null, - 'gg*.51cto.com' => null, - 'log.*.hunantv.com' => null, - 'iflyad.*.openstorage.cn' => null, - '*customstat*.51togic.com' => null, -// 'appcloud*.zhihu.com' => null, // #344 - 'ad*.molitv.cn' => null, - 'ads*-adnow.com' => null, - 'aeros*.tk' => null, - 'analyzer*.fc2.com' => null, - 'admicro*.vcmedia.vn' => null, - 'xn--xhq9mt12cf5v.*' => null, - 'freecontent.*' => null, - 'hostingcloud.*' => null, - 'jshosting.*' => null, - 'flightzy.*' => null, - 'sunnimiq*.cf' => null, - 'admob.*' => null, - '*log.droid4x.cn' => null, - '*tsdk.vivo.com.cn' => null, - '*.mmstat.com' => null, -// 'sf*-ttcdn-tos.pstatp.com' => null, - 'f-log*.grammarly.io' => null, - '24log.*' => null, - '24smi.*' => null, - 'ad-*.wikawika.xyz' => null, - 'ablen*.tk' => null, - 'darking*.tk' => null, - 'doubleclick*.xyz' => null, - 'thepiratebay.*' => null, - 'adserver.*' => null, - 'clientlog*.music.163.com' => null, - 'brucelead*.com' => null, - 'gostats.*' => null, - 'gralfusnzpo*.top' => null, - 'oiwjcsh*.top' => null, - '*-analytics*.huami.com' => null, - 'count*.pconline.com.cn' => null, - 'qchannel*.cn' => null, - 'sda*.xyz' => null, - 'ad-*.com' => null, - 'ad-*.net' => null, - 'webads.*' => null, - 'web-stat.*' => null, - 'waframedia*.*' => null, - 'wafmedia*.*' => null, - 'voluumtrk*.com' => null, - 'vmm-satellite*.com' => null, - 'vente-unique.*' => null, - 'vegaoo*.*' => null, - 'umtrack*.com' => null, - 'grjs0*.com' => null, - 'imglnk*.com' => null, - 'admarvel*.*' => null, - 'admaster*.*' => null, - 'adsage*.*' => null, - 'adsensor*.*' => null, - 'adservice*.*' => null, - 'adsh*.*' => null, - 'adsmogo*.*' => null, - 'adsrvmedia*.*' => null, - 'adsserving*.*' => null, - 'adsystem*.*' => null, - 'adwords*.*' => null, - 'analysis*.*' => null, - 'applovin*.*' => null, - 'appsflyer*.*' => null, - 'domob*.*' => null, - 'duomeng*.*' => null, - 'dwtrack*.*' => null, - 'guanggao*.*' => null, - 'lianmeng*.*' => null, - //'monitor*.*' => null, - 'omgmta*.*' => null, - 'omniture*.*' => null, - 'openx*.*' => null, - 'partnerad*.*' => null, - 'pingfore*.*' => null, - 'socdm*.*' => null, - 'supersonicads*.*' => null, - 'tracking*.*' => null, - 'usage*.*' => null, - 'wlmonitor*.*' => null, - 'zjtoolbar*.*' => null, - 'engage.3m*' => null, - '*.actonservice.com' => null, - '*-cor0*.api.p001.1drv.com' => null, - '*33*-*.1drv.com' => null, - '2cnjuh34j*.com' => null, - 'ssc.southpark*' => null, - 'tr.*.espmp-*fr.net' => null, - 'tdep.vacansoleil.*' => null, - 'da.hornbach.*' => null, - '*us*watcab*.blob.core.windows.net' => null, - 'xn--wxtr9fwyxk9c.*' => null, -); - -$ARR_REGEX_LIST = array( - '/^(\S+\.)?9377[a-z0-9]{2}\.com$/' => ['m' => '$dnstype=A'], - '/^(\S+\.)?ad(s?[\d]+|m|s)?\./' => null, - '/^(\S+\.)?advert/' => ['m' => '$denyallow=alibabacorp.com|alibabadns.com|sm.cn|tanx.com|alibaba-inc.com'], - '/^(\S+\.)?affiliat(es?[0-9a-z]*?|ion[0-9\-a-z]*?|ly[0-9a-z\-]*?)\./' => null, // fixed #406 - '/^(\S+\.)?s?metrics\./' => null, // TODO 覆盖面很大 - '/^(\S+\.)?afgr[\d]{1,2}\.com$/' => null, - '/^(\S+\.)?analytics(\-|\.)/' => null, - '/^(\S+\.)?counter(\-|\.)/' => null, - '/^(\S+\.)?pixels?\./' => null, - '/^(\S+\.)?syma[a-z]\.cn$/' => null, - '/^(\S+\.)?widgets?\./' => null, - '/^(\S+\.)?(webstats?|swebstats?|mywebstats?)\./' => null, - // '/^(\S+\.)?stat\..+?\.(com|cn|ru|it|de|cz|net|kr|ai|pl|th|fi|fr|jp|hu|bz|sk|se)$/' => null, - '/^(\S+\.)?track(ing)?\./' => null, - '/^(\S+\.)?tongji\./' => null, - '/^(\S+\.)?toolbar\./' => null, - '/^(\S+\.)?adservice\.google\./' => null, - '/^(\S+\.)?d[\d]+\.sina(img)?(\.com)?\.cn/' => null, - '/^(\S+\.)?sax[\dns]?\.sina\.com\.cn/' => null, - '/^(\S+\.)?delivery([\d]{2}|dom|modo).com$/' => null, - '/^(\S+\.)?[c-s]ads(abs|abz|ans|anz|ats|atz|del|ecs|ecz|ims|imz|ips|ipz|kis|kiz|oks|okz|one|pms|pmz)\.com/' => null, - '/^(\S+\.)?[0-9a-z\-]{26,}\.(com|net|cn)(\.cn)?$/' => null, //超长域名 - '/^(\S+\.)?11599[\da-z]{2,20}\.com$/' => null, //"澳门新葡京"系列 - '/^(\S+\.)?61677[\da-z]{0,20}\.com$/' => null, //"澳门新葡京"系列 - '/^(\S+\.)?[0-9a-f]{15,}\.com$/' => null, //15个字符以上的16进制域名 - '/^(\S+\.)?[0-9a-z]{16,}\.xyz$/' => null, //16个字符以上的.xyz域名 - '/^(\S+\.)?6699[0-9]\.top$/' => null, //连号 - '/^(\S+\.)?abie[0-9]+\.top$/' => null, //连号 - '/^(\S+\.)?ad[0-9]{3,}m.com$/' => null, //连号 - '/^(\S+\.)?aj[0-9]{4,}.online$/' => null, //连号 - '/^(\S+\.)?xpj[0-9]\.net$/' => null, //连号 - '/^(\S+\.)?ylx-[0-9].com$/' => null, //连号 - '/^(\S+\.)?ali2[a-z]\.xyz$/' => null, //连号 - '/^(\S+\.)?777\-?partners?\.(net|com)$/' => null, //组合 - '/^(\S+\.)?voyage-prive\.[a-z]+(\.uk)?$/' => null, //组合 - '/^(\S+\.)?e7[0-9]{2,4}\.(net|com)?$/' => null, //组合 - '/^(\S+\.)?g[1-4][0-9]{8,9}\.com?$/' => null, //批量组合 - '/^(\S+\.)?hg[0-9]{4,5}\.com?$/' => null, //批量组合 - '/^(\S+\.)?333[1-9]{2}[0-9]{2}\.com?$/' => null, //批量组合 - '/^(\S+\.)?5551[0-9]{3}\.com?$/' => null, //批量组合 - - // '/^(\S+\.)?(?=.*[a-f].*\.com$)(?=.*\d.*\.com$)[a-f0-9]{15,}\.com$/' => null, -); - -//对通配符匹配或正则匹配增加的额外赦免规则 -$ARR_WHITE_RULE_LIST = array( - '@@||tongji.*kuwo.cn^' => 0, - '@@||tracking.epicgames.com^' => 0, - '@@||tracker.eu.org^' => 1, //强制加白,BT tracker,有形如2.tracker.eu.org的域 - '@@||stats.uptimerobot.com^' => 1, //uptimerobot监测相关 #38 - '@@||track.sendcloud.org^' => 0, //邮件退订域名 - '@@||log.mmstat.com^' => 0, //修复优酷视频显示禁用了cookie - '@@||adm.10jqka.com.cn^' => 0, //同花顺 - '@@||center-h5api.m.taobao.com^' => 1, //h5页面 - '@@||app.adjust.com^' => 1, //https://github.com/AdguardTeam/AdGuardSDNSFilter/pull/186 - '@@||widget.weibo.com^' => 0, //微博外链 - '@@||uland.taobao.com^' => 1, //淘宝coupon #83 - '@@||advertisement.taobao.com^' => 1, //CNAME 被杀,导致s.click.taobao.com等服务异常 - '@@||baozhang.baidu.com^' => 1, //CNAME e.shifen.com - '@@||tongji.edu.cn^' => 1, // 同济大学 - '@@||tongji.cn^' => 1, // 同济大学 #281 - '@@||ad.siemens.com.cn^' => 1, // 西门子下载中心 - '@@||sdkapi.sms.mob.com^' => 1, // 短信验证码 #127 - '@@||stats.gov.cn^' => 1, // 国家统计局 #144 - '@@||tj.gov.cn^' => 1, - '@@||sax.sina.com.cn^' => 1, // #155 - '@@||api.ad-gone.com^' => 1, // #207 - '@@||news-app.abumedia.yql.yahoo.com^' => 1, // #206 - '@@||meizu.coapi.moji.com^' => 1, // #217 - '@@||track.cpau.info^' => 1, // #251 - '@@||passport.bobo.com^' => 1, // #265 - '@@||stat.jseea.cn^' => 1, // #279 - '@@||widget.intercom.io^' => 1, // #280 - '@@||track.toggl.com^' => 1, // #307 - '@@||www.msftconnecttest.com^' => 1, // #327 - '@@||storage.live.com^' => 1, // #333 - '@@||skyapi.onedrive.live.com^' => 1, // #333 - '@@||counter-strike.net^' => 1, // #332 - '@@||ftp.bmp.ovh^' => 1, // #353 - '@@||profile*.se.360.cn^' => 1, // #381 - '@@||pic.iask.cn^' => 1, // #397 - '@@||ad.jp^' => 1, // #399 - '@@||ad.azure.com^' => 1, // #399 - '@@||ad.cityu.edu.hk^' => 1, // #398 - '@@||edge-enterprise.activity.windows.com^' => 1, // #401 - '@@||edge.activity.windows.com^' => 1, // #401 - '@@||tracking-protection.cdn.mozilla.net^' => 1, // #407 - '@@||skydrivesync.policies.live.net^' => 1, // #409 - '@@||dxcloud.episerver.net^' => 1, // #418 - '@@||static3.iask.cn^' => 1, // #429 - '@@||login-ishare.iask.com.cn^' => 1, // #429 - '@@||wechat.ishare.iask.com.cn^' => 1, // #429 - '@@||dw.iask.com.cn^' => 1, // #429 - '@@||settings-win.data.microsoft.com^' => 1, // #426 - '@@||insideruser.microsoft.com^' => 1, // #426 -); - -//针对上游赦免规则anti-AD不予赦免的规则,即赦免名单的黑名单 -$ARR_WHITE_RULE_BLK_LIST = array( - '@@||github.com^' => null, - '@@||github.io^' => null, - '@@||ads.nipr.ac.jp^' => null, - '@@||10010.com^' => null, - '@@||10086.cn^' => null, - '@@||17173im.allyes.com^' => null, - '@@||199it.com^' => null, - '@@||1point3acres.com^' => null, - '@@||3dpchip.com^' => null, - '@@||4horlover.com^' => null, - '@@||51job.com^' => null, - '@@||520call.me^' => null, - '@@||5278.cool^' => null, - '@@||58b.tv^' => null, - '@@||5qidgde.com^' => null, - '@@||85po.com^' => null, - '@@||85porn.net^' => null, - '@@||99wbwc.com^' => null, - '@@||99ybcc.com^' => null, - '@@||9zvip.net^' => null, - '@@||abril.com.br^' => null, - '@@||ad.10010.com^' => null, - '@@||ad.abchina.com^' => null, - '@@||ad.alimama.com^' => null, - '@@||ad.kazakinfo.com^' => null, - '@@||ad.ourgame.com^' => null, - '@@||ad2.uoocuniversity.com^' => null, - '@@||adf.ly^' => null, - '@@||adfox.ru^' => null, - '@@||adjs.8591.com.tw^' => null, - '@@||admin.mgid.com^' => null, - '@@||ads.askgamblers.com^' => null, - '@@||ads.com^' => null, - '@@||adsense.woso.cn^' => null, - '@@||adv.blogupp.com^' => null, - '@@||adv.cr^' => null, - '@@||adv.gg^' => null, - '@@||adv.welaika.com^' => null, - '@@||advert.kf5.com^' => null, - '@@||aetv.com^' => null, - '@@||affyun.com^' => null, - '@@||ak77now.pixnet.net^' => null, - '@@||analytics.amplitude.com^' => null, - '@@||annhe.net^' => null, - '@@||anyknew.com^' => null, - '@@||api-merchants.skimlinks.com^' => null, - '@@||api.ad-gone.com^' => null, - '@@||api.ads.tvb.com^' => null, - '@@||api.nyda.pro^' => null, - '@@||api.recaptcha.net^' => null, - '@@||apk.tw^' => null, - '@@||app-advertise.zhihuishu.com^' => null, - '@@||app.adroll.com^' => null, - '@@||archiveteam.org^' => null, - '@@||arstechnica.com^' => null, - '@@||aternos.org^' => null, - '@@||bde4.cc^' => null, - '@@||beta.bugly.qq.com^' => null, - '@@||bingfeng.tw^' => null, - '@@||blackmod.net^' => null, - '@@||blog.ztjal.info^' => null, - '@@||brighteon.com^' => null, - '@@||browser.cloud.ucweb.com^' => null, - '@@||btsax.info^' => null, - '@@||buyad.bi-xenon.cn^' => null, - '@@||captcha.su.baidu.com^' => null, - '@@||ccllaa.com^' => null, - '@@||centro.co.il^' => null, - '@@||changyou.com^' => null, - '@@||chinamobile.com^' => null, - '@@||chinatelecom.com.cn^' => null, - '@@||chuangkit.com^' => null, - '@@||cloud.mail.ru^' => null, - '@@||club.tgfcer.com^' => null, - '@@||cmechina.net^' => null, - '@@||cnprint.org^' => null, - '@@||cocomanhua.com^' => null, - '@@||colatour.com.tw^' => null, - '@@||consent-pref.trustarc.com^' => null, - '@@||consent.trustarc.com^' => null, - '@@||cookielawinfo.com^' => null, - '@@||coolinet.com^' => null, - '@@||cwtv.com^' => null, - '@@||cy.com^' => null, - '@@||d1-dm.com^' => null, - '@@||dailymail.co.uk^' => null, - '@@||dashboard.idealmedia.com^' => null, - '@@||dashboard.lentainform.com^' => null, - '@@||dashboard.marketgid.com^' => null, - '@@||dashboard.mgid.com^' => null, - '@@||dashboard.tovarro.com^' => null, - '@@||destinationamerica.com^' => null, - '@@||digit77.com^' => null, - '@@||dilidili.one^' => null, - '@@||displayad.naver.com^' => null, - '@@||dizhi99.com^' => null, - '@@||dlkoo.cc^' => null, - '@@||dlkoo.com^' => null, - '@@||dmhy.b168.net^' => null, - '@@||doubibackup.com^' => null, - '@@||download.jumpw.com^' => null, - '@@||download.mokeedev.com^' => null, - '@@||e9china.net^' => null, - '@@||easylife.tw^' => null, - '@@||ecitic.com^' => null, - '@@||edmondpoon.com^' => null, - '@@||elife-cloud.blogspot.com^' => null, - '@@||eolinker.com^' => null, - '@@||eucookiedirective.com^' => null, - '@@||experienceleague.adobe.com^' => null, - '@@||experienceleague.corp.adobe.com^' => null, - '@@||ez3c.tw^' => null, - '@@||fangcloud.com^' => null, - '@@||feed.mix.sina.com.cn^' => null, - '@@||fharr.com^' => null, - '@@||flattr.com^' => null, - '@@||fontawesome.com^' => null, - '@@||front-go.lemall.com^' => null, - '@@||fullmatchesandshows.com^' => null, - '@@||game735.com^' => null, - '@@||games.pch.com^' => null, - '@@||gaus.ee^' => null, - '@@||gaybeeg.info^' => null, - '@@||gelbooru.com^' => null, - '@@||getrelax.cc^' => null, - '@@||ggg50.pw^' => null, - '@@||golangnote.com^' => null, - '@@||gooogle.how^' => null, - '@@||hanjubaike.com^' => null, - '@@||hanjuwang.com^' => null, - '@@||hanjuwang.net^' => null, - '@@||healthyadvertising.es^' => null, - '@@||hh010.com^' => null, - '@@||history.com^' => null, - '@@||ibf.tw^' => null, - '@@||identity.mparticle.com^' => null, - '@@||img.ads.tvb.com^' => null, - '@@||informer.com^' => null, - '@@||inoreader.com^' => null, - '@@||ipfs-lab.com^' => null, - '@@||jetzt.de^' => null, - '@@||jin10.com^' => null, - '@@||jinyongci.com^' => null, - '@@||jjkmn.com^' => null, - '@@||jlthjy.com^' => null, - '@@||joyk.com^' => null, - '@@||jsfiddle.net^' => null, - '@@||jsjiami.com^' => null, - '@@||kissjav.com^' => null, - '@@||kk665403.pixnet.net^' => null, - '@@||laotiesao.vip^' => null, - '@@||ldxinyong.com^' => null, - '@@||league-funny.com^' => null, - '@@||leagueofmovie.com^' => null, - '@@||lemon.baidu.com^' => null, - '@@||liumingye.cn^' => null, - '@@||lnk2.cc^' => null, - '@@||login.mos.ru^' => null, - '@@||ltzn.9377.com^' => null, - '@@||mcbar.cn^' => null, - '@@||mccc11.com^' => null, - '@@||mccm88.com^' => null, - '@@||media-cache*.pinimg.com^' => null, - '@@||megaup.net^' => null, - '@@||metrics.torproject.org^' => null, - '@@||mi.cn^' => null, - '@@||milfzr.com^' => null, - '@@||minigame.qq.com^' => null, - '@@||mmaa99.xyz^' => null, - '@@||mmee04.com^' => null, - '@@||mmff30.com^' => null, - '@@||mmgd.xyz^' => null, - '@@||mmuu22.link^' => null, - '@@||mnighthk.net^' => null, - '@@||monnsutogatya.com^' => null, - '@@||moviesunusa.net^' => null, - '@@||ms332.com^' => null, - '@@||msn.com^' => null, - '@@||msn.wrating.com^' => null, - '@@||muzlan.top^' => null, - '@@||myqqjd.com^' => null, - '@@||namechk.com^' => null, - '@@||netflav.com^' => null, - '@@||newad.mail.wo.cn^' => null, - '@@||niotv.com^' => null, - '@@||nobugin.com^' => null, - '@@||nodkey.xyz^' => null, - '@@||oiihk.com^' => null, - '@@||olgame.tw^' => null, - '@@||ondemand.sas.com^' => null, - '@@||optout.networkadvertising.org^' => null, - '@@||panjiachen.github.io^' => null, - '@@||pass.1688.com^' => null, - '@@||passets-cdn.pinterest.com^' => null, - '@@||passiontimes.hk^' => null, - '@@||payload.cargocollective.com^' => null, - '@@||pg-wuming.com^' => null, - '@@||phs.tanx.com^' => null, - '@@||pingjs.qq.com^' => null, - '@@||pixelexperience.org^' => null, - '@@||player.sundaysky.com^' => null, - '@@||plugins.matomo.org^' => null, - '@@||poedb.tw^' => null, - '@@||pornbraze.com^' => null, - '@@||premiumleecher.com^' => null, - '@@||profile.getyounity.com^' => null, - '@@||publisher.adservice.com^' => null, - '@@||qqdie.com^' => null, - '@@||r3sub.com^' => null, - '@@||receive-a-sms.com^' => null, - '@@||redditarchive.com^' => null, - '@@||restream.io^' => null, - '@@||reuters.com^' => null, - '@@||rojadirecta.me^' => null, - '@@||rule34hentai.net^' => null, -// '@@||s-media*.pinimg.com^' => null, - '@@||sakai-hk.com^' => null, - '@@||sc2casts.com^' => null, - '@@||sciencechannel.com^' => null, - '@@||scyts.com^' => null, - '@@||sdc.pingan.com^' => null, - '@@||searchad.naver.com^' => null, - '@@||seedingup.com^' => null, - '@@||seedingup.de^' => null, - '@@||seedingup.es^' => null, - '@@||seedingup.fr^' => null, - '@@||seedingup.it^' => null, - '@@||serve.netsh.org^' => null, - '@@||services.pornhub.com^' => null, - '@@||seselah.com^' => null, - '@@||sexylove.club^' => null, - '@@||seyise8.com^' => null, - '@@||seyy66.space^' => null, - '@@||share1223.com^' => null, - '@@||shopback.com.tw^' => null, - '@@||slack.com^' => null, - '@@||smallseotools.com^' => null, - '@@||smtcaw.com^' => null, - '@@||social.krunker.io^' => null, - '@@||socialmedia.by^' => null, - '@@||softwarebrother.com^' => null, - '@@||sourcepoint.telegraph.co.uk^' => null, - '@@||spanishdict.com^' => null, - '@@||speedtest.net^' => null, - '@@||spiegel.de^' => null, - '@@||sssbozh.com^' => null, - '@@||stream4free.live^' => null, - '@@||swiso.org^' => null, - '@@||switching.software^' => null, - '@@||swjoy.com^' => null, - '@@||szhr.com.cn^' => null, - '@@||szhr.com^' => null, - '@@||technews.tw^' => null, - '@@||television-envivo.com^' => null, - '@@||teliad.com^' => null, - '@@||teliad.de^' => null, - '@@||teliad.es^' => null, - '@@||teliad.fr^' => null, - '@@||teliad.it^' => null, - '@@||th-sjy.com^' => null, - '@@||thefreedictionary.com^' => null, - '@@||thimble.mozilla.org^' => null, - '@@||thisav.com^' => null, - '@@||tiktok.com^' => null, - '@@||tlc.com^' => null, - '@@||tomshardware.co.uk^' => null, - '@@||tomshardware.com^' => null, - '@@||transferwise.com^' => null, - '@@||trip.cmbchina.com^' => null, - '@@||ttkdex.com^' => null, - '@@||tuhu.cn^' => null, - '@@||tui.click^' => null, - '@@||tweaktown.com^' => null, - '@@||twofactorauth.org^' => null, - '@@||udp2p.com^' => null, - '@@||upload.tube8.com^' => null, - '@@||uptostream.com^' => null, - '@@||upxin.net^' => null, - '@@||urlgalleries.net^' => null, - '@@||v2rayssr.com^' => null, - '@@||vd.l.qq.com^' => null, - '@@||viu.tv^' => null, - '@@||ware.shop.jd.com^' => null, - '@@||wavebox.io^' => null, - '@@||web.archive.org^' => null, - '@@||websetnet.com^' => null, - '@@||weithenn.org^' => null, - '@@||wenxuecity.com^' => null, - '@@||wgun.net^' => null, - '@@||wholehk.com^' => null, - '@@||widget.myrentacar.me^' => null, - '@@||wikia.nocookie.net^' => null, - '@@||wikibooks.org^' => null, - '@@||wikidata.org^' => null, - '@@||wikinews.org^' => null, - '@@||wikipedia.org^' => null, - '@@||wikiquote.org^' => null, - '@@||wikiversity.org^' => null, - '@@||wiktionary.org^' => null, - '@@||ws.webcaster.pro^' => null, - '@@||www.gsxt.gov.cn^' => null, - '@@||xia1ge.com^' => null, - '@@||xianzhenyuan.cn^' => null, - '@@||xidian.edu.cn^' => null, - '@@||xilinjie.com^' => null, - '@@||xiuren.org^' => null, - '@@||xmpp-chat.pornhub.com^' => null, - '@@||xmxing.net^' => null, - '@@||yellowbridge.com^' => null, - '@@||yesiget.i234.me^' => null, - '@@||yibada.com^' => null, - '@@||ymso.cc^' => null, - '@@||yygsz.com^' => null, - '@@||zbj.com^' => null, - '@@||zeplin.io^' => null, - '@@||zippyshare.com^' => null, -); - -//针对上游通配符规则中anti-AD不予采信的规则,即通配符黑名单 -$ARR_WILD_BLK_LIST = array( - 'cnt*rambler.ru' => null, - 'um*.com' => null, -); - -if(PHP_SAPI != 'cli'){ - die('nothing.'); -} - -$src_file = ''; -try{ - $file = $argv[1]; - $src_file = ROOT_DIR . $file; -}catch(Exception $e){ - echo "get args failed.", $e->getMessage(), "\n"; - die(0); -} - -if(empty($src_file) || !is_file($src_file)){ - echo 'src_file:', $src_file, ' is not found.'; - die(0); -} - -if(!is_file(WILDCARD_SRC) || !is_file(WHITERULE_SRC)){ - echo 'key file is not found.'; - die(0); -} - -$wild_fp = fopen(WILDCARD_SRC, 'r'); -$arr_wild_src = array(); - -while(!feof($wild_fp)){ - $wild_row = fgets($wild_fp, 512); - if(empty($wild_row)){ - continue; - } - if(!preg_match('/^\|\|?([\w\-\.\*]+?)\^(\$([^=]+?,)?(image|third-party|script)(,[^=]+)?)?$/', $wild_row, $matches)){ - continue; - } - - if(array_key_exists($matches[1], $ARR_WILD_BLK_LIST)){ - continue; - } - - $matched = false; - // TODO 此处匹配似乎还不够完美,需再次斟酌 - foreach($ARR_REGEX_LIST as $regex_str => $regex_row){ - if(preg_match($regex_str, str_replace('*', '', $matches[1]))){ - $matched = true; - break; - } - } - if($matched){ - continue; - } - $arr_wild_src[$matches[1]] = []; -} -fclose($wild_fp); - -$arr_wild_src = array_merge($arr_wild_src, $ARR_MERGED_WILD_LIST); - -$written_size = $line_count = 0; - -$src_content = file_get_contents($src_file); -$attached_content = ''; -$tmp_replaced_content = ''; - -//按需写入白名单规则 -$whiterule = file(WHITERULE_SRC, FILE_SKIP_EMPTY_LINES | FILE_IGNORE_NEW_LINES); -$whiterule = array_fill_keys($whiterule, 0); -$ARR_WHITE_RULE_LIST = array_merge($whiterule, $ARR_WHITE_RULE_LIST); -$wrote_whitelist = []; -$remained_white_rule = []; -foreach($ARR_WHITE_RULE_LIST as $row => $v){ - if(empty($row) || substr($row, 0, 1) !== '@' || substr($row, 1, 1) !== '@'){ - continue; - } - $matches = array(); - if(!preg_match('/^@@\|\|([0-9a-z\.\-\*]+?)\^/', $row, $matches)){ - continue; - } - - if(array_key_exists("@@||${matches[1]}^", $ARR_WHITE_RULE_BLK_LIST)){ - continue; - } - - if(array_key_exists($matches[1], $wrote_whitelist)){ - continue; - } - - if($v === 1){ - $wrote_whitelist[$matches[1]] = null; - $attached_content .= "@@||${matches[1]}^\n"; - $line_count++; - continue; - } - - $origin_white_rule = $matches[1]; - $wrote_whitelist[$origin_white_rule] = null; - $matches[1] = str_replace('*', '.abc.', $matches[1]); - $matches[1] = str_replace('..', '.', $matches[1]); - $extract_domain = addressMaker::extract_main_domain($matches[1]); - if(!$extract_domain){ - $extract_domain = $matches[1]; - } - - // TODO 3级或以上域名加白2级域名的情况未纳入 - if(strpos($src_content, '|' . $extract_domain) === false){ - $remained_white_rule[$origin_white_rule] = 1; - continue; - } - - $attached_content .= "@@||${origin_white_rule}^\n"; - $line_count++; -} - -unset($wrote_whitelist); - -// 清洗正则表达式匹配 -foreach($ARR_REGEX_LIST as $regex_str => $regex_row){ - $php_regex = str_replace(array('/^', '$/'), array('/^\|\|', '\^'), $regex_str); - $php_regex = preg_replace('/(.+?[^$])\/$/', '\1.*\^', $php_regex); - $php_regex .= "\n/m"; - - $tmp_replaced_content = preg_replace($php_regex, '', $src_content); - if($tmp_replaced_content === $src_content){ - continue; - } - $src_content = $tmp_replaced_content; - $tmp_replaced_content = ''; - $attached_content .= $regex_str; - if($regex_row && is_array($regex_row) && $regex_row['m']){ - $attached_content .= $regex_row['m']; - } - $attached_content .= "\n"; - $line_count++; - - foreach($remained_white_rule as $rmk => $rmv){ - if(preg_match($php_regex, '||' . str_replace('*', '123', $rmk) . "^\n\n")){ - $attached_content .= '@@||' . $rmk . "^\n"; - $line_count++; - unset($remained_white_rule[$rmk]); - } - } -} - -// 清洗*号模糊匹配 -$wrote_wild_list = array(); -foreach($arr_wild_src as $wild_rule => $wild_value){ - - if(array_key_exists($wild_rule, $wrote_wild_list)){ - continue; - } - - $php_regex = '/^\|\|(\S+\.)?' . str_replace(array('.', '*', '-'), array('\\.', '.*', '\\-'), $wild_rule) . "\^\n/m"; - $tmp_replaced_content = preg_replace($php_regex, '', $src_content); - if($tmp_replaced_content == $src_content){ - continue; - } - - $wrote_wild_list[$wild_rule] = 1; - - $src_content = $tmp_replaced_content; - $tmp_replaced_content = ''; - $attached_content .= '||' . $wild_rule; - if($wild_value && is_array($wild_value) && $wild_value['m']){ - $attached_content .= '^' . $wild_value['m'] . "\n"; - }else{ - $attached_content .= "^\n"; - } - - $line_count++; - - foreach($remained_white_rule as $rmk => $rmv){ - if(preg_match($php_regex, '||' . str_replace('*', '123', $rmk) . "^\n\n")){ - $attached_content .= '@@||' . $rmk . "^\n"; - $line_count++; - unset($remained_white_rule[$rmk]); - } - } -} - -$line_count += substr_count($src_content, "\n"); -$src_content = str_replace("!Total lines: 00000\n", '!Total lines: ' . ($line_count - 4) . "\n" . $attached_content, $src_content); - -file_put_contents($src_file, $src_content); -file_put_contents($src_file . '.md5', md5_file($src_file)); -echo 'Time cost:', microtime(true) - START_TIME, "s, at ", date('m-d H:i:s'), "\n"; +die('anti-AD');