This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 2, | |
"rules": [ | |
{ | |
"domain": [ | |
"this_ruleset_is_made_by_sukkaw.ruleset.skk.moe", | |
"officecdn-microsoft-com.akamaized.net" | |
] | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "-----------------------" | |
echo "微信清理脚本 V1.0 beta3" | |
echo "需要root" | |
echo "-----------------------" | |
echo "" | |
echo "-开始处理-" | |
echo "日志文件" | |
am force-stop com.tencent.mm | |
sleep 1 | |
rm -rf /storage/emulated/[0-9]*/Android/data/com.tencent.mm/files/onelog/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
script: | |
code: | | |
def main(ctx, metadata): | |
port_list = [21, 22, 23, 53, 123, 194, 587, 465, 995, 993, 143, 80, 443, 2052, 2053, 2082, 2083, 2086, 2095, 2096, 5228, 5229, 5230, 8080, 8443, 8880] | |
ruleset_action = {"Reject Domains": "AD Block", | |
"Reject IPs": "AD Block", | |
"Netease Music Domains": "Netease Music", | |
"Stream Services Domains": "Stream Services", | |
"Stream Services IPs": "Stream Services", | |
"Global Services Domains": "rixCloud", |