From b342a54841ec6cddfdf2f74c54c17e225ff5780b Mon Sep 17 00:00:00 2001 From: Cuynu Date: Sat, 24 Jan 2026 17:27:39 +0700 Subject: [PATCH] feat: do not block installation for kitsune 30.6 & nirtal magisk users with warning about data risk and 15 seconds delay someone created the another fork of mbzdefend-fix and push it to guthib and bullying me Signed-off-by: Cuynu --- module_new/zdefend-fix/customize.sh | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/module_new/zdefend-fix/customize.sh b/module_new/zdefend-fix/customize.sh index b39b90e..a3c14a6 100644 --- a/module_new/zdefend-fix/customize.sh +++ b/module_new/zdefend-fix/customize.sh @@ -10,17 +10,16 @@ INSTALLEN="https://git.disroot.org/mbcp/info_en/wiki/mbcpinstall" iptables -t nat -F nonfosskitsune() { - echo "Kitsune Mask v30.4+ is proprietary and is not compatible with this module!" - echo "Please install older FOSS Kitsune Mask!" - am start -a android.intent.action.VIEW -d https://github.com/1q23lyc45/KitsuneMagisk/releases - exit 1 + echo "Proprietary Kitsune found! Your data might be at risk!" + echo "Consider install older FOSS Kitsune Mask to protect your data!" + echo "If you agree with the risk, wait 10 seconds then module will continue to install" + sleep 15 } - maliciousmagisk() { - echo "Nirtal Magisk found! it's not compatible with this module..." - echo "Please install official Magisk, or older Kitsune Mask!" - am start -a android.intent.action.VIEW -d https://github.com/topjohnwu/Magisk/releases - exit 1 + echo "Nirtal Magisk found! Your data might be at risk!" + echo "Consider install official Magisk to protect your data !" + echo "If you agree with the risk, wait 15 seconds then module will continue to install" + sleep 15 } notmbcp() { @@ -30,7 +29,6 @@ notmbcp() { exit 1 } - # Replacement for /system/etc/hosts # Fixes module being disabled due to bindhosts module nobindhosts() { @@ -46,6 +44,7 @@ bindhosts() { [ -d /data/adb/bindhosts ] && bindhosts || nobindhosts + tsnghma() { echo "Dr-TSNG HideMyAppList detected!" echo "Hiding app..." @@ -60,6 +59,7 @@ tsnghma() { # Check if MB is installed or nope +# Remove this one can cause the module does not work properly! if [ -d /data/data/com.mbmobile ]; then echo "" else @@ -69,6 +69,7 @@ else fi # Check if Termux and it's bootstrap is initialized or not +# Remove this code broke Termux support if [ -d /data/data/com.termux ]; then if [[ -d /data/data/com.termux/files/home ]]; then echo "Termux bootstrap found!" @@ -86,6 +87,7 @@ else fi # Check for original MB Bank app +# The module does NOT work with original unpatched app. It's pointless to remove the check. You think it works with original app? Nah. for library in $(find /data/app -name libvvb2060.so | grep com.mbmobile) ; do notmbcp ; done # Grant permission for MB/MBCP app