diff --git a/MBCPApp/legacy_patch.sh b/MBCPApp/legacy_patch.sh index 3316c0a..27c1139 100755 --- a/MBCPApp/legacy_patch.sh +++ b/MBCPApp/legacy_patch.sh @@ -30,10 +30,10 @@ do echo "Applying patch [Bypass signature check]..." if [ -d "$DIRPATH"/mbapk/mbapk_unpacked ] then - # Checks for MBShield, if exists then exit function - if [ -f "$DIRPATH"/mbapk/mbapk_unpacked/assets/mbshield.szip ] + # Checks for zShield (mbshield is zShield), if exists then exit function + if [ -f "$DIRPATH"/mbapk/mbapk_unpacked/assets/*.szip ] then - info "MBShield found on unpacked APK ! Bypass signature checks won't be possible if MBShield is present on current unpacked APK !" + info "zShield found on unpacked APK ! Bypass signature checks won't be possible if zShield is present on current unpacked APK !" info "Please use supported version !!!" echo "For React Native : MBBank/MB Lite v1.0 up to v6.3.11" echo "For Flutter : MBBank v6.4.0 up to v6.4.21" diff --git a/MBCPApp/mbcpapp.sh b/MBCPApp/mbcpapp.sh index 1324d96..c863148 100755 --- a/MBCPApp/mbcpapp.sh +++ b/MBCPApp/mbcpapp.sh @@ -51,7 +51,7 @@ COMMIT="$(git rev-parse --short HEAD)" BRANCH="$(git rev-parse --abbrev-ref HEAD)" clear -zshield_found='zShield found on [mbapk_unpacked/assets/mbshield.szip] !!! +zshield_found='zShield found on [mbapk_unpacked/assets/*.szip] !!! Patching operation is limited due to zShield :( You need to extract assets from Android device for some patching operation to works properly !!!' @@ -386,7 +386,7 @@ then info 'Removing leftover assets...' adb shell rm -rf /sdcard/assets && good "Removed leftover assets !" || err "Failed to remove leftover assets from device !" else - info "MBShield not found ! No need to extract assets !" + info "zShield not found ! No need to extract assets !" fi else err "Can't find [mbapk/mbapk_unpacked] folder, cannot continue ! " diff --git a/MBCPApp/patches/remove_invoke_to_mbshield.sh b/MBCPApp/patches/remove_invoke_to_zshield.sh similarity index 87% rename from MBCPApp/patches/remove_invoke_to_mbshield.sh rename to MBCPApp/patches/remove_invoke_to_zshield.sh index e26b63d..b3c957b 100644 --- a/MBCPApp/patches/remove_invoke_to_mbshield.sh +++ b/MBCPApp/patches/remove_invoke_to_zshield.sh @@ -1,11 +1,13 @@ #!/usr/bin/env bash -# PATCHNAME: Remove invoke to mbshield +# PATCHNAME: Remove invoke to zShield # MAXVER: # MINVER: 6.4.21 # shellcheck disable=SC1091 . "$DIRPATH"/common.sh -warn "Currently only support remove invoke mbshield to [io.flutter.plugins.MainActivity] and [MBBHomeWidgetQR] !!!" +# mbshield is zShield, not mbshield, zimperium renamed it to bank name + shield + +warn "Currently only support remove invoke zShield to [io.flutter.plugins.MainActivity] and [MBBHomeWidgetQR] !!!" info "Copying..." if [[ -f mbapk/mbapk_unpacked/smali/classes4/io/flutter/plugins/MainActivity.smali ]]; then info "Flutter found on classes4 !!" diff --git a/README.md b/README.md index 1c1af81..d29ff60 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ | `Fix VTAP certificate` | Update or downgrade VTAP certificate for older/newer app version, so it can work again in future. | v6.4.67 ~ v6.5.5 | | `Remove MB AI Slop resources` | Remove the MB AI slop resources from app. | v6.4.74 ~ v6.5.5 | | `Remove MB Themes Store` | Remove the MB Themes Store banner from Themes list, preventing access to MB Theme Store. | v6.4.28 ~ v6.5.5 | -| `Remove invoke to mbshield` | Make app don't invoke to mbshield when opening (MainActivity) and (MBBHomeWidgetQR) only (Hidden for v6.4.67+) | v6.4.22 ~ v6.5.5 | +| `Remove invoke to zShield` | Make the app stop invoking to zShield when opening (MainActivity) and (MBBHomeWidgetQR) only (Hidden for v6.4.67+) | v6.4.22 ~ v6.5.5 | | `Remove new zimperium check` | Remove the new Zimperium (ZDefend) root detection from app. Picked up from Legacy Patch. (Hidden for v6.4.67+) | v6.4.60 ~ v6.5.5 | | `Remove built-in fonts` | Remove app font and force to use device font for most app components. | v6.4.0 ~ v6.5.5 | | `Modify app theme` | Modify the built-in app theme from original one to other themes. | v6.4.30 ~ v6.5.5 |