test: remove vpn detection patch

This commit is contained in:
Cuynu 2025-07-02 01:45:41 +07:00 • committed by Cuynu
commit d6bfd79bf3
2 changed files with 11 additions and 1 deletions

View file

@ -16,7 +16,7 @@ fi
echo ---------------------------
echo Patch list for MBCPApp :
PS3='Select patch options : '
select opt in 'Autopatch strings' 'Change app logo' 'Force portrait screen' 'Remove invoke to mbshield' 'Remove bulit-in fonts' 'Modify app theme' 'Remove garbage permission and activities' 'Remove eMBee' 'Revert old eMBee logo' 'Remove animated QR background' 'Remove banners & MiniApp' 'Restore old registration resources' 'Bypass accessibility & malicious apps check' 'Hide VTAP root detection activity & dialog' 'Remove new root detection' 'Add modified resources' 'Bypass signature check' 'Bypass 1200 error [v6.4.45]' 'Exit'
select opt in 'Autopatch strings' 'Change app logo' 'Force portrait screen' 'Remove invoke to mbshield' 'Remove bulit-in fonts' 'Modify app theme' 'Remove garbage permission and activities' 'Remove eMBee' 'Revert old eMBee logo' 'Remove animated QR background' 'Remove banners & MiniApp' 'Remove VPN detection' 'Restore old registration resources' 'Bypass accessibility & malicious apps check' 'Hide VTAP root detection activity & dialog' 'Remove new root detection' 'Add modified resources' 'Bypass signature check' 'Bypass 1200 error [v6.4.45]' 'Exit'
do
if [ "$opt" == 'Autopatch strings' ]; then
if [ -d ~/mbbpatch/MBCPApp/mbapk/mbapk_unpacked/lib ]
@ -327,6 +327,15 @@ else
echo "[restore_oldreg] not found !"
fi
# Test remove VPN detection function from bundle, that showing notice warn users to turn off VPN.
elif [ "$opt" == 'Remove VPN detection' ]; then
echo "Applying patch..."
sed -i 's|vpn|app|g' ~/mbbpatch/MBCPApp/mbapk/mbapk_unpacked/lib/arm64-v8a/libapp.so
sed -i 's|vpn|app|g' ~/mbbpatch/MBCPApp/mbapk/mbapk_unpacked/lib/armeabi-v7a/libapp.so
echo "Applied [Remove VPN detection patch] !!!"
elif [ "$opt" == 'Remove animated QR background' ]; then
if [ -d ~/mbbpatch/MBCPApp/patches/qr_white ]
then

View file

@ -34,6 +34,7 @@ Lightweight "open source" tool for patching MB Bank Flutter (Android) app for ro
| `Bypass accessibility & malicious apps check` | Remove the restriction of using the app when an app using accessibility service or "malicious apps" like (HideMyAppList) installed. | v6.4.25 ~ v6.4.54 |
| `Hide VTAP root detection activity & dialog` | Hide the old root detection screen and dialog showing "Device is rooted". | v6.4.0 ~ v6.4.55 |
| `Remove new root detection` | Remove the new Zimperium (ZDefend) root detection from app. | v6.4.15 ~ v6.4.55 |
| `Remove VPN detection` | Remove the VPN detection that warn users to turn it off on app bundle. Might doesn't works well | v6.4.52 ~ v6.4.55 |
| `Add modified resources` | Adds the specific strings for MBCP on eKYC phase, and modify the DigiBank logo. | v6.4.0 ~ v6.4.55 |
| `Bypass signature check` | Not implemented | v6.4.0 ~ v6.4.21 |
| `Bypass 1200 error` | Workaround for 1200 error that happening on original MB app with specific version, now discontinued. | v6.4.45 |