diff --git a/kms/kms/scripts/k3c_kms.sh b/kms/kms/scripts/k3c_kms.sh
deleted file mode 100644
index e0bbd00..0000000
--- a/kms/kms/scripts/k3c_kms.sh
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/bin/sh
-# load path environment in dbus databse
-eval `dbus export kms`
-source /jffs/softcenter/scripts/base.sh
-CONFIG_FILE=/tmp/etc/dnsmasq.user/kms.conf
-FIREWALL_START=/jffs/scripts/firewall-start
-
-start_kms(){
- /jffs/softcenter/bin/vlmcsd
- echo "srv-host=_vlmcs._tcp.lan,`uname -n`.lan,1688,0,100" > $CONFIG_FILE
- nvram set lan_domain=lan
- nvram commit
- service restart_dnsmasq
- # creating iptables rules to firewall-start
- mkdir -p /jffs/scripts
- if [ ! -f $FIREWALL_START ]; then
- cat > $FIREWALL_START <<-EOF
- #!/bin/sh
- EOF
- fi
-
- # creat start_up file
- if [ ! -L "/jffs/softcenter/init.d/S97Kms.sh" ]; then
- ln -sf /jffs/softcenter/scripts/kms.sh /jffs/softcenter/init.d/S97Kms.sh
- fi
-}
-stop_kms(){
- # clear start up command line in firewall-start
- killall vlmcsd
- rm $CONFIG_FILE
- service restart_dnsmasq
-}
-
-open_port(){
- ifopen=`iptables -S -t filter | grep INPUT | grep dport |grep 1688`
- if [ -z "$ifopen" ];then
- iptables -t filter -I INPUT -p tcp --dport 1688 -j ACCEPT
- fi
-
- if [ ! -f $FIREWALL_START ]; then
- cat > $FIREWALL_START <<-EOF
- #!/bin/sh
- EOF
- fi
-
- fire_rule=$(cat $FIREWALL_START | grep 1688)
- if [ -z "$fire_rule" ];then
- cat >> $FIREWALL_START <<-EOF
- iptables -t filter -I INPUT -p tcp --dport 1688 -j ACCEPT
- EOF
- fi
-}
-
-close_port(){
- ifopen=`iptables -S -t filter | grep INPUT | grep dport |grep 1688`
- if [ ! -z "$ifopen" ];then
- iptables -t filter -D INPUT -p tcp --dport 1688 -j ACCEPT
- fi
-
- fire_rule=$(cat $FIREWALL_START | grep 1688)
- if [ ! -z "$fire_rule" ];then
- sed -i '/1688/d' $FIREWALL_START >/dev/null 2>&1
- fi
-}
-
-case $ACTION in
-start)
- if [ "$kms_enable" == "1" ]; then
- logger "[软件中心]: 启动KMS!"
- start_kms
- [ "$kms_wan_port" == "1" ] && open_port
- else
- logger "[软件中心]: KMS未设置开机启动,跳过!"
- fi
- ;;
-stop)
- close_port >/dev/null 2>&1
- stop_kms
- ;;
-*)
- if [ "$kms_enable" == "1" ]; then
- close_port >/dev/null 2>&1
- stop_kms
- start_kms
- [ "$kms_wan_port" == "1" ] && open_port
- else
- close_port
- stop_kms
- fi
- ;;
-esac
diff --git a/kms/kms/webs/Module_kms.asp b/kms/kms/webs/Module_kms.asp
index f0c3e30..b192ae9 100644
--- a/kms/kms/webs/Module_kms.asp
+++ b/kms/kms/webs/Module_kms.asp
@@ -53,8 +53,7 @@
});
}
- function onSubmitCtrl(o, s) {
- document.form.action_mode.value = s;
+ function onSubmitCtrl() {
showLoading(3);
document.form.submit();
}
@@ -91,12 +90,11 @@
-
-
+
+
"/>
-
"/>
-
+
diff --git a/koolproxy/Changelog.txt b/koolproxy/Changelog.txt
new file mode 100644
index 0000000..1d90b97
--- /dev/null
+++ b/koolproxy/Changelog.txt
@@ -0,0 +1,4 @@
+Koolshare Asuswrt-Merlin koolproxy Changelog
+===========================================
+
+changelogs can be found at: http://koolshare.cn/thread-64086-1-1.html
diff --git a/koolproxy/README.md b/koolproxy/README.md
new file mode 100644
index 0000000..04d394f
--- /dev/null
+++ b/koolproxy/README.md
@@ -0,0 +1,2 @@
+# merlin-koolproxy
+a powerfull ad remove software for merlin xiaobao firmware
diff --git a/koolproxy/build.sh b/koolproxy/build.sh
new file mode 100755
index 0000000..f55fc59
--- /dev/null
+++ b/koolproxy/build.sh
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+
+MODULE=koolproxy
+VERSION=3.8.4
+TITLE=koolproxy
+DESCRIPTION=去广告,没烦恼
+HOME_URL=Module_koolproxy.asp
+
+# Check and include base
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+if [ "$MODULE" == "" ]; then
+ echo "module not found"
+ exit 1
+fi
+
+if [ -f "$DIR/$MODULE/$MODULE/install.sh" ]; then
+ echo "install script not found"
+ exit 2
+fi
+
+# now include build_base.sh
+. $DIR/../softcenter/build_base.sh
+
+# change to module directory
+cd $DIR
+
+# do something here
+
+do_build_result
diff --git a/koolproxy/config.json.js b/koolproxy/config.json.js
new file mode 100644
index 0000000..1a9dc22
--- /dev/null
+++ b/koolproxy/config.json.js
@@ -0,0 +1,8 @@
+{
+"version":"3.8.4",
+"md5":"7afb9a5a4fac29bef9b5d21ad7a6aab8",
+"home_url":"Module_koolproxy.asp",
+"title":"koolproxy",
+"description":"去广告,没烦恼",
+"build_date":"2019-01-13_00:00:08"
+}
diff --git a/koolproxy/koolproxy.tar.gz b/koolproxy/koolproxy.tar.gz
new file mode 100644
index 0000000..d41a7c0
Binary files /dev/null and b/koolproxy/koolproxy.tar.gz differ
diff --git a/koolproxy/koolproxy/install.sh b/koolproxy/koolproxy/install.sh
new file mode 100644
index 0000000..7042d1a
--- /dev/null
+++ b/koolproxy/koolproxy/install.sh
@@ -0,0 +1,56 @@
+#! /bin/sh
+eval `dbus export koolproxy`
+
+# stop first
+dbus set koolproxy_enable=0
+[ -f /jffs/softcenter/koolproxy/koolproxy.sh ] && sh /jffs/softcenter/koolproxy/koolproxy.sh stop
+[ -f /jffs/softcenter/koolproxy/kp_config.sh ] && sh /jffs/softcenter/koolproxy/kp_config.sh stop
+# remove old files
+rm -rf /jffs/softcenter/bin/koolproxy >/dev/null 2>&1
+rm -rf /jffs/softcenter/koolproxy/koolproxy.sh >/dev/null 2>&1
+rm -rf /jffs/softcenter/koolproxy/nat_load.sh >/dev/null 2>&1
+rm -rf /jffs/softcenter/koolproxy/data/*.dat >/dev/null 2>&1
+rm -rf /jffs/softcenter/koolproxy/data/*.txt >/dev/null 2>&1
+rm -rf /jffs/softcenter/koolproxy/data/*.conf >/dev/null 2>&1
+rm -rf /jffs/softcenter/koolproxy/data/gen_ca.sh >/dev/null 2>&1
+rm -rf /jffs/softcenter/koolproxy/data/openssl.cnf >/dev/null 2>&1
+rm -rf /jffs/softcenter/koolproxy/data/version >/dev/null 2>&1
+rm -rf /jffs/softcenter/koolproxy/data/serial >/dev/null 2>&1
+rm -rf /jffs/softcenter/koolproxy/rule_store >/dev/null 2>&1
+rm -rf /jffs/softcenter/koolproxy/data/rules/1.dat >/dev/null 2>&1
+
+# copy new files
+cd /tmp
+mkdir -p /jffs/softcenter/koolproxy
+mkdir -p /jffs/softcenter/koolproxy/data
+cp -rf /tmp/koolproxy/scripts/* /jffs/softcenter/scripts/
+cp -rf /tmp/koolproxy/webs/* /jffs/softcenter/webs/
+cp -rf /tmp/koolproxy/res/* /jffs/softcenter/res/
+if [ ! -f /jffs/softcenter/koolproxy/data/rules/user.txt ];then
+ cp -rf /tmp/koolproxy/koolproxy /jffs/softcenter/
+else
+ mv /jffs/softcenter/koolproxy/data/rules/user.txt /tmp/user.txt.tmp
+ cp -rf /tmp/koolproxy/koolproxy /jffs/softcenter/
+ mv /tmp/user.txt.tmp /jffs/softcenter/koolproxy/data/rules/user.txt
+fi
+
+cp -f /tmp/koolproxy/uninstall.sh /jffs/softcenter/scripts/uninstall_koolproxy.sh
+
+
+cd /
+
+chmod 755 /jffs/softcenter/koolproxy/koolproxy
+chmod 755 /jffs/softcenter/koolproxy/*
+chmod 755 /jffs/softcenter/koolproxy/data/*
+chmod 755 /jffs/softcenter/scripts/*
+[ ! -e "/jffs/softcenter/bin/koolproxy" ] && cp -f /jffs/softcenter/koolproxy/koolproxy /jffs/softcenter/bin/koolproxy
+
+rm -rf /tmp/koolproxy* >/dev/null 2>&1
+
+[ -z "$koolproxy_policy" ] && dbus set koolproxy_policy=1
+[ -z "$koolproxy_acl_default_mode" ] && dbus set koolproxy_acl_default_mode=1
+
+dbus set softcenter_module_koolproxy_install=1
+dbus set softcenter_module_koolproxy_version=3.3.7
+dbus set koolproxy_version=3.3.7
+
diff --git a/koolproxy/koolproxy/koolproxy/data/gen_ca.sh b/koolproxy/koolproxy/koolproxy/data/gen_ca.sh
new file mode 100755
index 0000000..d0a4588
--- /dev/null
+++ b/koolproxy/koolproxy/koolproxy/data/gen_ca.sh
@@ -0,0 +1,30 @@
+#!/bin/sh
+alias echo_date='echo $(date +%Y年%m月%d日\ %X):'
+
+if [ ! -f openssl.cnf ]; then
+ echo_date "Cannot found openssl.cnf"
+ exit 1
+fi
+if [ -f /koolshare/koolproxy/data/private/ca.key.pem ]; then
+ echo_date "已经又证书了!"
+else
+ echo_date "生成证书中..."
+
+ #step 1, root ca
+ mkdir -p certs private
+ rm -f serial private/ca.key.pem
+ chmod 700 private
+ echo 1000 > serial
+ openssl genrsa -aes256 -passout pass:koolshare -out private/ca.key.pem 2048
+ chmod 400 private/ca.key.pem
+ openssl req -config openssl.cnf -passin pass:koolshare \
+ -subj "/C=CN/ST=Beijing/L=KP/O=KoolProxy inc/CN=koolproxy.com" \
+ -key private/ca.key.pem \
+ -new -x509 -days 7300 -sha256 -extensions v3_ca \
+ -out certs/ca.crt
+
+ #step 2, domain rsa key
+ openssl genrsa -aes256 -passout pass:koolshare -out private/base.key.pem 2048
+ echo_date "证书生成完毕..."
+fi
+
diff --git a/koolproxy/koolproxy/koolproxy/data/koolproxy_ipset.conf b/koolproxy/koolproxy/koolproxy/data/koolproxy_ipset.conf
new file mode 100755
index 0000000..7542f71
--- /dev/null
+++ b/koolproxy/koolproxy/koolproxy/data/koolproxy_ipset.conf
@@ -0,0 +1,443 @@
+ipset=/.com/black_koolproxy
+ipset=/.cn/black_koolproxy
+ipset=/.101.201.29.182/black_koolproxy
+ipset=/.211.151.146.65/black_koolproxy
+ipset=/.211.157.171.237/black_koolproxy
+ipset=/.61.156.8.189/black_koolproxy
+ipset=/.a.baiy.net/black_koolproxy
+ipset=/.a.collective-media.net/black_koolproxy
+ipset=/.a.itiexue.net/black_koolproxy
+ipset=/.a.kickass.to/black_koolproxy
+ipset=/.a.shamla.net/black_koolproxy
+ipset=/.a.xlpu.cc/black_koolproxy
+ipset=/.aavideo.xyz/black_koolproxy
+ipset=/.action.data.cp61.ott.cibntv.net/black_koolproxy
+ipset=/.ad-apac.doubleclick.net/black_koolproxy
+ipset=/.ad.adfurikun.jp/black_koolproxy
+ipset=/.ad.csdn.net/black_koolproxy
+ipset=/.ad.doubleclick.net/black_koolproxy
+ipset=/.ad.ettoday.net/black_koolproxy
+ipset=/.ad.fglighting.net/black_koolproxy
+ipset=/.ad.hefei.cc/black_koolproxy
+ipset=/.ad.jp.doubleclick.net/black_koolproxy
+ipset=/.ad.leadboltads.net/black_koolproxy
+ipset=/.ad.leadboltmobile.net/black_koolproxy
+ipset=/.ad.qingting.fm/black_koolproxy
+ipset=/.ad.yixin.im/black_koolproxy
+ipset=/.ad7.tagphi.net/black_koolproxy
+ipset=/.adbma.adk2.co/black_koolproxy
+ipset=/.adclick.g.doubleclick.net/black_koolproxy
+ipset=/.adimg.cqnews.net/black_koolproxy
+ipset=/.adimg.daumcdn.net/black_koolproxy
+ipset=/.adimgs.xici.net/black_koolproxy
+ipset=/.adinf.cp11.ott.cibntv.net/black_koolproxy
+ipset=/.adm.zbinfo.net/black_koolproxy
+ipset=/.admaster.mobi/black_koolproxy
+ipset=/.admgr.qingting.fm/black_koolproxy
+ipset=/.admicro1.vcmedia.vn/black_koolproxy
+ipset=/.admicro4.vcmedia.vn/black_koolproxy
+ipset=/.admicro5.vcmedia.vn/black_koolproxy
+ipset=/.admicro6.vcmedia.vn/black_koolproxy
+ipset=/.admin.louxia.org/black_koolproxy
+ipset=/.adplexmedia.adk2.co/black_koolproxy
+ipset=/.ads.csdn.net/black_koolproxy
+ipset=/.ads.doublemax.net/black_koolproxy
+ipset=/.ads.mp.mydas.mobi/black_koolproxy
+ipset=/.ads.mydas.mobi/black_koolproxy
+ipset=/.ads.pro-market.net/black_koolproxy
+ipset=/.ads.trafficjunky.net/black_koolproxy
+ipset=/.ads.wasu.tv/black_koolproxy
+ipset=/.ads2.opensubtitles.org/black_koolproxy
+ipset=/.adstat.cp11.ott.cibntv.net/black_koolproxy
+ipset=/.adsystem.wasu.tv/black_koolproxy
+ipset=/.adv.fjtv.net/black_koolproxy
+ipset=/.adwasu.wasu.tv/black_koolproxy
+ipset=/.ag.nukefans.net/black_koolproxy
+ipset=/.agn.aty.cp45.ott.cibntv.net/black_koolproxy
+ipset=/.al.za5.net/black_koolproxy
+ipset=/.aladdin.genieesspv.jp/black_koolproxy
+ipset=/.alog.umeng.co/black_koolproxy
+ipset=/.amiok.org/black_koolproxy
+ipset=/.ams.51junpin.net/black_koolproxy
+ipset=/.analytics.ad.daum.net/black_koolproxy
+ipset=/.analytics.ws.126.net/black_koolproxy
+ipset=/.android.push.126.net/black_koolproxy
+ipset=/.androidsdk.ads.mp.mydas.mobi/black_koolproxy
+ipset=/.aos.gw.youmi.net/black_koolproxy
+ipset=/.aos.prf.hn/black_koolproxy
+ipset=/.aos.wall.youmi.net/black_koolproxy
+ipset=/.api.adfurikun.jp/black_koolproxy
+ipset=/.api.adtimaserver.vn/black_koolproxy
+ipset=/.api.cupid.ptqy.gitv.tv/black_koolproxy
+ipset=/.api.dewmobile.net/black_koolproxy
+ipset=/.api.oneyuan.nagezan.net/black_koolproxy
+ipset=/.apklog.cp11.ott.cibntv.net/black_koolproxy
+ipset=/.app-g.39.net/black_koolproxy
+ipset=/.app.50bang.org/black_koolproxy
+ipset=/.ark.cp21.ott.cibntv.net/black_koolproxy
+ipset=/.ark.letv-epg.wasu.tv/black_koolproxy
+ipset=/.as.kejet.net/black_koolproxy
+ipset=/.asimgs.cp61.ott.cibntv.net/black_koolproxy
+ipset=/.au.umeng.co/black_koolproxy
+ipset=/.au.youmi.net/black_koolproxy
+ipset=/.aw.kejet.net/black_koolproxy
+ipset=/.b.baiy.net/black_koolproxy
+ipset=/.b.bst.126.net/black_koolproxy
+ipset=/.b.yunfanlm.net/black_koolproxy
+ipset=/.banner.img.static.youmi.net/black_koolproxy
+ipset=/.bdaz.adsfactor.net/black_koolproxy
+ipset=/.beacon.krxd.net/black_koolproxy
+ipset=/.bid.g.doubleclick.net/black_koolproxy
+ipset=/.bigbos.top/black_koolproxy
+ipset=/.biz5.sandai.net/black_koolproxy
+ipset=/.bkmcgi.play.cp81.ott.cibntv.net/black_koolproxy
+ipset=/.bksdkconfig.play.cp81.ott.cibntv.net/black_koolproxy
+ipset=/.bmp.ali213.net/black_koolproxy
+ipset=/.bmp1.ali213.net/black_koolproxy
+ipset=/.brance.play.cp81.ott.cibntv.net/black_koolproxy
+ipset=/.bshare.optimix.asia/black_koolproxy
+ipset=/.bx.optimix.asia/black_koolproxy
+ipset=/.c.ad6media.fr/black_koolproxy
+ipset=/.c.mnet-ad.net/black_koolproxy
+ipset=/.c03.optimix.asia/black_koolproxy
+ipset=/.c1.adform.net/black_koolproxy
+ipset=/.c1.popads.net/black_koolproxy
+ipset=/.c2.97you.net/black_koolproxy
+ipset=/.c2.popads.net/black_koolproxy
+ipset=/.c5.97you.net/black_koolproxy
+ipset=/.cachenotice.cp11.ott.cibntv.net/black_koolproxy
+ipset=/.cc.bigbos.top/black_koolproxy
+ipset=/.cc.ccg51.win/black_koolproxy
+ipset=/.cc.yfi052.pw/black_koolproxy
+ipset=/.ccg51.win/black_koolproxy
+ipset=/.cdn.adsfactor.net/black_koolproxy
+ipset=/.cdn.clicktale.net/black_koolproxy
+ipset=/.cdn.innity.net/black_koolproxy
+ipset=/.cdn.media.innity.net/black_koolproxy
+ipset=/.cdn1.ettoday.net/black_koolproxy
+ipset=/.cdn3.e705.net/black_koolproxy
+ipset=/.cdnonead-onead.cdn.hinet.net/black_koolproxy
+ipset=/.cdnssl.clicktale.net/black_koolproxy
+ipset=/.cf.gdatecube.net/black_koolproxy
+ipset=/.cfg.adsmogo.mobi/black_koolproxy
+ipset=/.cfg.adsmogo.net/black_koolproxy
+ipset=/.cfg.adsmogo.org/black_koolproxy
+ipset=/.ck.kejet.net/black_koolproxy
+ipset=/.clicklog.moviebox.baofeng.net/black_koolproxy
+ipset=/.clicktalecdn.sslcs.cdngc.net/black_koolproxy
+ipset=/.clk.gentags.net/black_koolproxy
+ipset=/.cloud.zyiis.net/black_koolproxy
+ipset=/.cm.fastapi.net/black_koolproxy
+ipset=/.cm.g.doubleclick.net/black_koolproxy
+ipset=/.cm.gtags.net/black_koolproxy
+ipset=/.cmarket.kejet.net/black_koolproxy
+ipset=/.cms.gtags.net/black_koolproxy
+ipset=/.code2.huimee.net/black_koolproxy
+ipset=/.config.baofeng.net/black_koolproxy
+ipset=/.contextual.media.net/black_koolproxy
+ipset=/.corner.houyi.baofeng.net/black_koolproxy
+ipset=/.count.game.pps.tv/black_koolproxy
+ipset=/.counter.csdn.net/black_koolproxy
+ipset=/.cp.3big.net/black_koolproxy
+ipset=/.cp.5jjx.net/black_koolproxy
+ipset=/.cp.efo.cc/black_koolproxy
+ipset=/.cp.jiajv.net/black_koolproxy
+ipset=/.cpc.88rpg.net/black_koolproxy
+ipset=/.cus.adsmogo.mobi/black_koolproxy
+ipset=/.cus.adsmogo.org/black_koolproxy
+ipset=/.cvt.mydas.mobi/black_koolproxy
+ipset=/.d.39.net/black_koolproxy
+ipset=/.d.pixiv.org/black_koolproxy
+ipset=/.d.yoyi.tv/black_koolproxy
+ipset=/.d1635hfcvs8ero.cloudfront.net/black_koolproxy
+ipset=/.d3al52d8cojds7.cloudfront.net/black_koolproxy
+ipset=/.d3f.houyi.baofeng.net/black_koolproxy
+ipset=/.daima.jiduan.cc/black_koolproxy
+ipset=/.daima.kandu.cc/black_koolproxy
+ipset=/.dat.gtags.net/black_koolproxy
+ipset=/.dc.cp21.ott.cibntv.net/black_koolproxy
+ipset=/.dc.csdn.net/black_koolproxy
+ipset=/.dc.letv-epg.wasu.tv/black_koolproxy
+ipset=/.dc2.csdn.net/black_koolproxy
+ipset=/.de.as.cp61.ott.cibntv.net/black_koolproxy
+ipset=/.dex.advg.jp/black_koolproxy
+ipset=/.display.ad.daum.net/black_koolproxy
+ipset=/.dl-vip.pcfaster.baidu.co.th/black_koolproxy
+ipset=/.dl.img80.net/black_koolproxy
+ipset=/.dl.xyymall.net/black_koolproxy
+ipset=/.dload.qd.qingting.fm/black_koolproxy
+ipset=/.dm531.dm530.net/black_koolproxy
+ipset=/.dm532.dm530.net/black_koolproxy
+ipset=/.dmp.kejet.net/black_koolproxy
+ipset=/.dmp.tenmax.io/black_koolproxy
+ipset=/.dolphin.ftimg.net/black_koolproxy
+ipset=/.down.laomaotao.net/black_koolproxy
+ipset=/.down.xiazai2.net/black_koolproxy
+ipset=/.down.xiazaiyuan.net/black_koolproxy
+ipset=/.downloada.dewmobile.net/black_koolproxy
+ipset=/.downloadb.dewmobile.net/black_koolproxy
+ipset=/.dp3.play.cp81.ott.cibntv.net/black_koolproxy
+ipset=/.dpvc.39.net/black_koolproxy
+ipset=/.dr3k6qonw2kee.cloudfront.net/black_koolproxy
+ipset=/.dt.39photo.net/black_koolproxy
+ipset=/.dz.njq.net/black_koolproxy
+ipset=/.e-vcdn.anthill.vn/black_koolproxy
+ipset=/.e.e708.net/black_koolproxy
+ipset=/.ee.e701.net/black_koolproxy
+ipset=/.ex.puata.info/black_koolproxy
+ipset=/.f.e703.net/black_koolproxy
+ipset=/.f.e719.net/black_koolproxy
+ipset=/.f.novanet.vn/black_koolproxy
+ipset=/.f2.e703.net/black_koolproxy
+ipset=/.float.sandai.net/black_koolproxy
+ipset=/.g.ad8.cc/black_koolproxy
+ipset=/.g.doubleclick.net/black_koolproxy
+ipset=/.g.fastapi.net/black_koolproxy
+ipset=/.g.ousns.net/black_koolproxy
+ipset=/.game.pps.tv/black_koolproxy
+ipset=/.googleads.g.doubleclick.net/black_koolproxy
+ipset=/.guess.union2.50bang.org/black_koolproxy
+ipset=/.ha.pro-market.net/black_koolproxy
+ipset=/.haitaoad.nosdn.127.net/black_koolproxy
+ipset=/.i.9le.net/black_koolproxy
+ipset=/.i.adfurikun.jp/black_koolproxy
+ipset=/.i.bsshw.net/black_koolproxy
+ipset=/.i.jiajv.net/black_koolproxy
+ipset=/.i.l.inmobicdn.net/black_koolproxy
+ipset=/.icon.51.la/black_koolproxy
+ipset=/.id1.anreson.net/black_koolproxy
+ipset=/.ii.bsshw.net/black_koolproxy
+ipset=/.ima.xcyjzs.net/black_koolproxy
+ipset=/.images.cp45.ott.cibntv.net/black_koolproxy
+ipset=/.img.88rpg.net/black_koolproxy
+ipset=/.img.ads.csdn.net/black_koolproxy
+ipset=/.img.users.51.la/black_koolproxy
+ipset=/.img1.126.net/black_koolproxy
+ipset=/.img1.pszyzxh.org/black_koolproxy
+ipset=/.img2.126.net/black_koolproxy
+ipset=/.imgcdn.xixiwan.net/black_koolproxy
+ipset=/.imp-mdsp.avazutracking.net/black_koolproxy
+ipset=/.imp.adsmogo.mobi/black_koolproxy
+ipset=/.imp.adsmogo.net/black_koolproxy
+ipset=/.ipua.adfurikun.jp/black_koolproxy
+ipset=/.irs01.net/black_koolproxy
+ipset=/.j.microad.net/black_koolproxy
+ipset=/.jgl.microad.net/black_koolproxy
+ipset=/.jp.as.cp61.ott.cibntv.net/black_koolproxy
+ipset=/.jph.itiexue.net/black_koolproxy
+ipset=/.js-1.pchome.net/black_koolproxy
+ipset=/.js.a3p4.net/black_koolproxy
+ipset=/.js.cyad.cc/black_koolproxy
+ipset=/.js.mumayi.net/black_koolproxy
+ipset=/.js.revsci.net/black_koolproxy
+ipset=/.js.users.51.la/black_koolproxy
+ipset=/.js1116.anreson.net/black_koolproxy
+ipset=/.js1315.anreson.net/black_koolproxy
+ipset=/.js1940.anreson.net/black_koolproxy
+ipset=/.js2294.anreson.net/black_koolproxy
+ipset=/.js3555.hongtaidichan.net/black_koolproxy
+ipset=/.js4476.hongtaidichan.net/black_koolproxy
+ipset=/.js4775.hongtaidichan.net/black_koolproxy
+ipset=/.js883.anreson.net/black_koolproxy
+ipset=/.jsc.dt07.net/black_koolproxy
+ipset=/.jssd.kb20.cc/black_koolproxy
+ipset=/.jump1.pszyzxh.org/black_koolproxy
+ipset=/.jump2.pszyzxh.org/black_koolproxy
+ipset=/.kawa11.space/black_koolproxy
+ipset=/.keydot.net/black_koolproxy
+ipset=/.kti.bigbos.top/black_koolproxy
+ipset=/.l.fastapi.net/black_koolproxy
+ipset=/.lg.logging.admicro.vn/black_koolproxy
+ipset=/.lg1.logging.admicro.vn/black_koolproxy
+ipset=/.link.jiduan.cc/black_koolproxy
+ipset=/.livep.l.cp81.ott.cibntv.net/black_koolproxy
+ipset=/.lives.l.cp81.ott.cibntv.net/black_koolproxy
+ipset=/.loading.baofeng5.baofeng.net/black_koolproxy
+ipset=/.log.adtimaserver.vn/black_koolproxy
+ipset=/.log.houyi.baofeng.net/black_koolproxy
+ipset=/.log.tiexue.net/black_koolproxy
+ipset=/.logger.qingting.fm/black_koolproxy
+ipset=/.logic.cpm.cm.sandai.net/black_koolproxy
+ipset=/.m.analytics.126.net/black_koolproxy
+ipset=/.m.down.sandai.net/black_koolproxy
+ipset=/.m.kejet.net/black_koolproxy
+ipset=/.mc.yandex.ru/black_koolproxy
+ipset=/.mcc.chinauma.net/black_koolproxy
+ipset=/.mcgi.play.cp81.ott.cibntv.net/black_koolproxy
+ipset=/.media.adtimaserver.vn/black_koolproxy
+ipset=/.media.trafficjunky.net/black_koolproxy
+ipset=/.mg.dt07.net/black_koolproxy
+ipset=/.mid.houyi.baofeng.net/black_koolproxy
+ipset=/.mimg.126.net/black_koolproxy
+ipset=/.mixer.cupid.ptqy.gitv.tv/black_koolproxy
+ipset=/.mlog.search.xiaomi.net/black_koolproxy
+ipset=/.mmg.aty.cp45.ott.cibntv.net/black_koolproxy
+ipset=/.ms.anreson.net/black_koolproxy
+ipset=/.msg.71.am/black_koolproxy
+ipset=/.msg.ptqy.gitv.tv/black_koolproxy
+ipset=/.msg.video.ptqy.gitv.tv/black_koolproxy
+ipset=/.msg2.video.ptqy.gitv.tv/black_koolproxy
+ipset=/.msga.71.am/black_koolproxy
+ipset=/.msga.ptqy.gitv.tv/black_koolproxy
+ipset=/.nclog.mars.baofeng.net/black_koolproxy
+ipset=/.news-l.play.cp81.ott.cibntv.net/black_koolproxy
+ipset=/.news.766ba.net/black_koolproxy
+ipset=/.news.push.126.net/black_koolproxy
+ipset=/.nl.rcd.ptqy.gitv.tv/black_koolproxy
+ipset=/.oc.umeng.co/black_koolproxy
+ipset=/.oki.xcyjzs.net/black_koolproxy
+ipset=/.okt.xcyjzs.net/black_koolproxy
+ipset=/.onlinetips.baofeng5.baofeng.net/black_koolproxy
+ipset=/.outer.anquan.org/black_koolproxy
+ipset=/.p-l.play.cp81.ott.cibntv.net/black_koolproxy
+ipset=/.p.rhgw.net/black_koolproxy
+ipset=/.panel.adtify.pl/black_koolproxy
+ipset=/.parser.houyi.baofeng.net/black_koolproxy
+ipset=/.pb.bi.gitv.tv/black_koolproxy
+ipset=/.pb.ott.hd.cp45.ott.cibntv.net/black_koolproxy
+ipset=/.pclog.suishenyun.net/black_koolproxy
+ipset=/.pd7-imp.revsci.net/black_koolproxy
+ipset=/.phpad.cqnews.net/black_koolproxy
+ipset=/.pic.fastapi.net/black_koolproxy
+ipset=/.pix04.revsci.net/black_koolproxy
+ipset=/.pre.api.tw06.xlmc.sandai.net/black_koolproxy
+ipset=/.ps.eyeota.net/black_koolproxy
+ipset=/.pt.trafficjunky.net/black_koolproxy
+ipset=/.pubads.g.doubleclick.net/black_koolproxy
+ipset=/.push.tv.api.3g.cp31.ott.cibntv.net/black_koolproxy
+ipset=/.pvlog.moviebox.baofeng.net/black_koolproxy
+ipset=/.px.owneriq.net/black_koolproxy
+ipset=/.qiye11.ejunshi.net/black_koolproxy
+ipset=/.qosp.msg.71.am/black_koolproxy
+ipset=/.qr.cp31.ott.cibntv.net/black_koolproxy
+ipset=/.quote.51.la/black_koolproxy
+ipset=/.r.l.cp31.ott.cibntv.net/black_koolproxy
+ipset=/.r.popin.cc/black_koolproxy
+ipset=/.r.youmi.net/black_koolproxy
+ipset=/.r1.cp31.ott.cibntv.net/black_koolproxy
+ipset=/.resolver.msg.xiaomi.net/black_koolproxy
+ipset=/.rlog.popin.cc/black_koolproxy
+ipset=/.rtb-asiamax.tenmax.io/black_koolproxy
+ipset=/.rtb-p.kejet.net/black_koolproxy
+ipset=/.s.5jjx.net/black_koolproxy
+ipset=/.s.ato.mx/black_koolproxy
+ipset=/.s.de123.net/black_koolproxy
+ipset=/.s.druu.cc/black_koolproxy
+ipset=/.s.eclick.vn/black_koolproxy
+ipset=/.s.effectivemeasure.net/black_koolproxy
+ipset=/.s.fastapi.net/black_koolproxy
+ipset=/.s.gdatecube.net/black_koolproxy
+ipset=/.s.qd.qingting.fm/black_koolproxy
+ipset=/.s.youmi.net/black_koolproxy
+ipset=/.s0.2mdn.net/black_koolproxy
+ipset=/.s03.optimix.asia/black_koolproxy
+ipset=/.s1.2mdn.net/black_koolproxy
+ipset=/.s4.55.la/black_koolproxy
+ipset=/.s5.keydot.net/black_koolproxy
+ipset=/.sd.kk3g.net/black_koolproxy
+ipset=/.sd.mmfile.net/black_koolproxy
+ipset=/.sdk.data.cp61.ott.cibntv.net/black_koolproxy
+ipset=/.sdk.m.cp31.ott.cibntv.net/black_koolproxy
+ipset=/.sdkconfig.play.cp81.ott.cibntv.net/black_koolproxy
+ipset=/.securepubads.g.doubleclick.net/black_koolproxy
+ipset=/.serve.popads.net/black_koolproxy
+ipset=/.servedby.adsfactor.net/black_koolproxy
+ipset=/.servicegetbook.net/black_koolproxy
+ipset=/.sg-cdn.effectivemeasure.net/black_koolproxy
+ipset=/.sh.adingo.jp/black_koolproxy
+ipset=/.shzyjbr.wtdtjs.rocks/black_koolproxy
+ipset=/.sis.jpush.io/black_koolproxy
+ipset=/.sit.gentags.net/black_koolproxy
+ipset=/.sjkmio.812920.top/black_koolproxy
+ipset=/.snap.snapmobile.asia/black_koolproxy
+ipset=/.sp.gmossp-sp.jp/black_koolproxy
+ipset=/.spap.adingo.jp.eimg.jp/black_koolproxy
+ipset=/.spap.adingo.jp/black_koolproxy
+ipset=/.spapi.i-mobile.co.jp/black_koolproxy
+ipset=/.spdmg-backend.i-mobile.co.jp/black_koolproxy
+ipset=/.spdmg.i-mobile.co.jp/black_koolproxy
+ipset=/.ss.subo.me/black_koolproxy
+ipset=/.ss2p.uuxs.net/black_koolproxy
+ipset=/.ssl-cdn.media.innity.net/black_koolproxy
+ipset=/.ssp.tenmax.io/black_koolproxy
+ipset=/.stat.cp33.ott.cibntv.net/black_koolproxy
+ipset=/.stat.gw.youmi.net/black_koolproxy
+ipset=/.stat.pchome.net/black_koolproxy
+ipset=/.stat.titan.imgo.tv/black_koolproxy
+ipset=/.static.adtimaserver.vn/black_koolproxy
+ipset=/.static.anquan.org/black_koolproxy
+ipset=/.static.criteo.net/black_koolproxy
+ipset=/.static.eclick.vn/black_koolproxy
+ipset=/.static.houyi.baofeng.net/black_koolproxy
+ipset=/.static.novanet.vn/black_koolproxy
+ipset=/.static.snapmobile.asia/black_koolproxy
+ipset=/.static.youmi.net/black_koolproxy
+ipset=/.stats.g.doubleclick.net/black_koolproxy
+ipset=/.store.ptqy.gitv.tv/black_koolproxy
+ipset=/.store.tv.api.3g.cp31.ott.cibntv.net/black_koolproxy
+ipset=/.super.kdnet.net/black_koolproxy
+ipset=/.t-l.play.cp81.ott.cibntv.net/black_koolproxy
+ipset=/.t.adcrops.net/black_koolproxy
+ipset=/.t.vbxx.net/black_koolproxy
+ipset=/.t2.vbxx.net/black_koolproxy
+ipset=/.tenmax-static.cacafly.net/black_koolproxy
+ipset=/.test.api.xlmc.sandai.net/black_koolproxy
+ipset=/.tinydrag.t.cp61.ott.cibntv.net/black_koolproxy
+ipset=/.tj.yule8.net/black_koolproxy
+ipset=/.tp.sphwq.net/black_koolproxy
+ipset=/.track.dmp.youmi.net/black_koolproxy
+ipset=/.tw13b093.sandai.net/black_koolproxy
+ipset=/.twbill.xyz/black_koolproxy
+ipset=/.u.1133.cc/black_koolproxy
+ipset=/.ujs.jialiren.net/black_koolproxy
+ipset=/.uma.gtags.net/black_koolproxy
+ipset=/.union2.50bang.org/black_koolproxy
+ipset=/.update.123juzi.net/black_koolproxy
+ipset=/.ups.ksmobile.net/black_koolproxy
+ipset=/.users.51.la/black_koolproxy
+ipset=/.ut.gtags.net/black_koolproxy
+ipset=/.util.nphoto.net/black_koolproxy
+ipset=/.v.e704.net/black_koolproxy
+ipset=/.v.img80.net/black_koolproxy
+ipset=/.v.jtxh.net/black_koolproxy
+ipset=/.val.atm.cp31.ott.cibntv.net/black_koolproxy
+ipset=/.valf.atm.cp31.ott.cibntv.net/black_koolproxy
+ipset=/.vip.yoyozz.net/black_koolproxy
+ipset=/.vip.yule8.net/black_koolproxy
+ipset=/.vipjs.csad.cc/black_koolproxy
+ipset=/.vpie.net/black_koolproxy
+ipset=/.w.3big.net/black_koolproxy
+ipset=/.w.efo.cc/black_koolproxy
+ipset=/.w2.3big.net/black_koolproxy
+ipset=/.w2.docols.net/black_koolproxy
+ipset=/.wazero.online/black_koolproxy
+ipset=/.web.51.la/black_koolproxy
+ipset=/.web.ali213.net/black_koolproxy
+ipset=/.web.houyi.baofeng.net/black_koolproxy
+ipset=/.web1.51.la/black_koolproxy
+ipset=/.web2.51.la/black_koolproxy
+ipset=/.wl.houyi.baofeng.net/black_koolproxy
+ipset=/.wm.20150.net/black_koolproxy
+ipset=/.ws.ksmobile.net/black_koolproxy
+ipset=/.ww202.keyyou.net/black_koolproxy
+ipset=/.www.51.la/black_koolproxy
+ipset=/.www.6604.org/black_koolproxy
+ipset=/.www.ads8.cc/black_koolproxy
+ipset=/.www.daima123.cc/black_koolproxy
+ipset=/.www.i1236.net/black_koolproxy
+ipset=/.www.keydot.net/black_koolproxy
+ipset=/.www.laomaotao.net/black_koolproxy
+ipset=/.www.umeng.co/black_koolproxy
+ipset=/.www.yanjiele8.club/black_koolproxy
+ipset=/.www.yoyozz.net/black_koolproxy
+ipset=/.xs.houyi.baofeng.net/black_koolproxy
+ipset=/.y.one.impact-ad.jp/black_koolproxy
+ipset=/.yads.c.yimg.jp/black_koolproxy
+ipset=/.yads.yahoo.co.jp/black_koolproxy
+ipset=/.yiyuan.nagezan.net/black_koolproxy
+ipset=/.yoo.yiiyoo.net/black_koolproxy
+ipset=/1000fr.net/black_koolproxy
+ipset=/acfun.tv/black_koolproxy
+ipset=/baofeng.net/black_koolproxy
+ipset=/fun.tv/black_koolproxy
+ipset=/pps.tv/black_koolproxy
\ No newline at end of file
diff --git a/koolproxy/koolproxy/koolproxy/data/openssl.cnf b/koolproxy/koolproxy/koolproxy/data/openssl.cnf
new file mode 100755
index 0000000..dacc32c
--- /dev/null
+++ b/koolproxy/koolproxy/koolproxy/data/openssl.cnf
@@ -0,0 +1,133 @@
+# OpenSSL root CA configuration file.
+# Copy to `/root/ca/openssl.cnf`.
+
+[ ca ]
+# `man ca`
+default_ca = CA_default
+
+[ CA_default ]
+# Directory and file locations.
+dir = ./ca
+certs = $dir/certs
+crl_dir = $dir/crl
+new_certs_dir = $dir/newcerts
+database = $dir/index.txt
+serial = $dir/serial
+RANDFILE = $dir/private/.rand
+
+# The root key and root certificate.
+private_key = $dir/private/ca.key.pem
+certificate = $dir/certs/ca.cert.pem
+
+# For certificate revocation lists.
+crlnumber = $dir/crlnumber
+crl = $dir/crl/ca.crl.pem
+crl_extensions = crl_ext
+default_crl_days = 30
+
+# SHA-1 is deprecated, so use SHA-2 instead.
+default_md = sha256
+
+name_opt = ca_default
+cert_opt = ca_default
+default_days = 375
+preserve = no
+policy = policy_strict
+
+[ policy_strict ]
+# The root CA should only sign intermediate certificates that match.
+# See the POLICY FORMAT section of `man ca`.
+countryName = match
+stateOrProvinceName = match
+organizationName = match
+organizationalUnitName = optional
+commonName = supplied
+emailAddress = optional
+
+[ policy_loose ]
+# Allow the intermediate CA to sign a more diverse range of certificates.
+# See the POLICY FORMAT section of the `ca` man page.
+countryName = optional
+stateOrProvinceName = optional
+localityName = optional
+organizationName = optional
+organizationalUnitName = optional
+commonName = supplied
+emailAddress = optional
+
+[ req ]
+# Options for the `req` tool (`man req`).
+default_bits = 2048
+distinguished_name = req_distinguished_name
+string_mask = utf8only
+
+# SHA-1 is deprecated, so use SHA-2 instead.
+default_md = sha256
+
+# Extension to add when the -x509 option is used.
+x509_extensions = v3_ca
+
+[ req_distinguished_name ]
+# See
.
+countryName = Country Name (2 letter code)
+stateOrProvinceName = State or Province Name
+localityName = Locality Name
+0.organizationName = Organization Name
+organizationalUnitName = Organizational Unit Name
+commonName = Common Name
+emailAddress = Email Address
+
+# Optionally, specify some defaults.
+countryName_default = GB
+stateOrProvinceName_default = England
+localityName_default =
+0.organizationName_default = Alice Ltd
+organizationalUnitName_default =
+emailAddress_default =
+
+[ v3_ca ]
+# Extensions for a typical CA (`man x509v3_config`).
+subjectKeyIdentifier = hash
+authorityKeyIdentifier = keyid:always,issuer
+basicConstraints = critical, CA:true
+keyUsage = critical, digitalSignature, cRLSign, keyCertSign
+
+[ v3_intermediate_ca ]
+# Extensions for a typical intermediate CA (`man x509v3_config`).
+subjectKeyIdentifier = hash
+authorityKeyIdentifier = keyid:always,issuer
+basicConstraints = critical, CA:true, pathlen:0
+keyUsage = critical, digitalSignature, cRLSign, keyCertSign
+
+[ usr_cert ]
+# Extensions for client certificates (`man x509v3_config`).
+basicConstraints = CA:FALSE
+nsCertType = client, email
+nsComment = "OpenSSL Generated Client Certificate"
+subjectKeyIdentifier = hash
+authorityKeyIdentifier = keyid,issuer
+keyUsage = critical, nonRepudiation, digitalSignature, keyEncipherment
+extendedKeyUsage = clientAuth, emailProtection
+
+[ server_cert ]
+# Extensions for server certificates (`man x509v3_config`).
+basicConstraints = CA:FALSE
+nsCertType = server
+nsComment = "OpenSSL Generated Server Certificate"
+subjectKeyIdentifier = hash
+authorityKeyIdentifier = keyid,issuer:always
+keyUsage = critical, digitalSignature, keyEncipherment
+extendedKeyUsage = serverAuth
+
+[ crl_ext ]
+# Extension for CRLs (`man x509v3_config`).
+authorityKeyIdentifier=keyid:always
+
+[ ocsp ]
+# Extension for OCSP signing certificates (`man ocsp`).
+basicConstraints = CA:FALSE
+subjectKeyIdentifier = hash
+authorityKeyIdentifier = keyid,issuer
+keyUsage = critical, digitalSignature
+extendedKeyUsage = critical, OCSPSigning
+
diff --git a/koolproxy/koolproxy/koolproxy/data/rules/daily.txt b/koolproxy/koolproxy/koolproxy/data/rules/daily.txt
new file mode 100644
index 0000000..9278efd
--- /dev/null
+++ b/koolproxy/koolproxy/koolproxy/data/rules/daily.txt
@@ -0,0 +1,61 @@
+!x -----------------------------------------------------------------------------------------------------------------
+!x -----[KoolProxy 3.8.4]
+!x -----Thanks: From lvba Group
+!x -----Thanks for help:
+!x -----------------------------------------------------------------------------------------------------------------
+!|https://m.biquke.com/$s@@@
+!|https://pan.baidu.com/feproxy/ad/list?
+|https://bonuscloud.io/$r@https://bonuscloud.io/@https://kprules.b0.upaiyun.com/null/404.html@
+|https://console.bonuscloud.io/$r@/https:\/\/.*\.bonuscloud\.io\/.*/@https://kprules.b0.upaiyun.com/null/404.html@
+||tieba.com/p/$s@@@
+|http://www.discuz.net/$s@@@
+|http://www.avtbk.com/$s@@@
+|https://www.dyfc.net/$s@@@
+||wmxa.cn/$s@@@
+|http://www.tiexue.net/$s@@@
+|https://www.baidu.com/$s@@@
+|https://m.baidu.com/$s@@@
+|https://yaoshe28.com/$s@@@
+|https://www.kafan.cn/$s@@@
+|https://www.kafan.cn/$s@