Skip to content

Instantly share code, notes, and snippets.

@yougg
yougg / hackddcat.sh
Last active January 1, 2021 15:58
多多猫 Android应用 破解VIP
#!/bin/bash
# 参考: https://www.52pojie.cn/thread-659866-1-1.html
cd `mktemp -d`
mkdir -p tool app
# 安装相关工具
cd tool
wget --no-check-certificate -O openjdk.tar.gz https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz
wget --no-check-certificate https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool
@alswl
alswl / hosts
Last active August 24, 2025 12:53
(deprecated, I bought xiaomi VIP)hosts for OpenWRT, for disable AD in xiaomi TV
127.0.0.1 api.ad.xiaomi.com
127.0.0.1 sdkconfig.ad.xiaomi.com
127.0.0.1 ad.mi.com
127.0.0.1 ad.xiaomi.com
127.0.0.1 ad1.xiaomi.com
127.0.0.1 adv.sec.miui.com
127.0.0.1 test.ad.xiaomi.com
127.0.0.1 new.api.ad.xiaomi.com
ruleSets:
- name: Potatso Config
rules:
- DOMAIN-MATCH,aka,Proxy
- DOMAIN-SUFFIX,edu.cn,DIRECT
- DOMAIN-SUFFIX,cn,DIRECT
- DOMAIN-MATCH,-cn,DIRECT
- DOMAIN-MATCH,360buy,DIRECT
- DOMAIN-MATCH,alipay,DIRECT
@consti
consti / hosts
Last active February 28, 2026 21:54
/etc/hosts to block shock sites etc.
# This hosts file is brought to you by Dan Pollock and can be found at
# http://someonewhocares.org/hosts/
# You are free to copy and distribute this file for non-commercial uses,
# as long the original URL and attribution is included.
#<localhost>
127.0.0.1 localhost
127.0.0.1 localhost.localdomain
255.255.255.255 broadcasthost
::1 localhost