diff --git a/BusinessJB/index.md b/BusinessJB/index.md index e3b2950..c8f876f 100644 --- a/BusinessJB/index.md +++ b/BusinessJB/index.md @@ -1,6 +1,6 @@ # BusinessJB -Disables jailbreak detection in La Banque Postale by forcing `JailbreakDetection\n- (bool)jailbroken` to return `FALSE`. +Disables jailbreak detection in La Banque Postale by forcing `JailbreakDetection` to return `FALSE`. - **App**: [Business – La Banque Postale](https://apps.apple.com/fr/app/business-la-banque-postale/id1438089314) - **Latest version**: 2.3.000 diff --git a/CreditAgricoleJB/.gitignore b/CreditAgricoleJB/.gitignore new file mode 100644 index 0000000..faf8687 --- /dev/null +++ b/CreditAgricoleJB/.gitignore @@ -0,0 +1,3 @@ +.theos/ +packages/ +.DS_Store diff --git a/CreditAgricoleJB/CreditAgricoleTweak.plist b/CreditAgricoleJB/CreditAgricoleTweak.plist new file mode 100644 index 0000000..31147e7 --- /dev/null +++ b/CreditAgricoleJB/CreditAgricoleTweak.plist @@ -0,0 +1,7 @@ +{ + Filter = { + Bundles = ( + "fr.creditagricole.monbudget", + ); + }; +} \ No newline at end of file diff --git a/CreditAgricoleJB/Makefile b/CreditAgricoleJB/Makefile new file mode 100644 index 0000000..72c4641 --- /dev/null +++ b/CreditAgricoleJB/Makefile @@ -0,0 +1,13 @@ +TARGET = iphone:latest:14.0 +INSTALL_TARGET_PROCESSES = nmb_prod +ARCHS = arm64 arm64e + +include $(THEOS)/makefiles/common.mk + +TWEAK_NAME = CreditAgricoleTweak + +CreditAgricoleTweak_FILES = Tweak.x +CreditAgricoleTweak_CFLAGS = -fobjc-arc +CreditAgricoleTweak_FRAMEWORKS = Foundation + +include $(THEOS_MAKE_PATH)/tweak.mk diff --git a/CreditAgricoleJB/Tweak.x b/CreditAgricoleJB/Tweak.x new file mode 100644 index 0000000..58cdba5 --- /dev/null +++ b/CreditAgricoleJB/Tweak.x @@ -0,0 +1,27 @@ +#import +#import +#import +#import + +#define TARGET_MODULE "nmb_prod" +#define IDA_BASE 0x100000000 +#define ADDR_JB_DETECT 0x10055F914 // Address of target function in IDA (adjust if needed) + +static void *(*original_sub)(void); + +static void *hooked_sub(void) { + return 0; +} + +%ctor { + for (uint32_t i = 0; i < _dyld_image_count(); i++) { + const char *name = _dyld_get_image_name(i); + if (name && strstr(name, TARGET_MODULE)) { + uintptr_t base = (uintptr_t)_dyld_get_image_header(i); + uintptr_t addr = base + (ADDR_JB_DETECT - IDA_BASE); + MSHookFunction((void *)addr, (void *)hooked_sub, (void **)&original_sub); + NSLog(@"[CreditAgricoleTweak] Hooked function at 0x%lx", addr); + return; + } + } +} \ No newline at end of file diff --git a/CreditAgricoleJB/control b/CreditAgricoleJB/control new file mode 100644 index 0000000..79be56a --- /dev/null +++ b/CreditAgricoleJB/control @@ -0,0 +1,9 @@ +Package: xyz.nohamr.creditagricolejb +Name: CreditAgricoleJB (Rootless) +Version: 1.0.0 +Architecture: iphoneos-arm +Description: Bypas jailbreak detection in Credit Agricole app +Maintainer: NohamR +Author: NohamR +Section: Tweaks +Depends: mobilesubstrate (>= 0.9.5000) diff --git a/CreditAgricoleJB/index.md b/CreditAgricoleJB/index.md new file mode 100644 index 0000000..731d047 --- /dev/null +++ b/CreditAgricoleJB/index.md @@ -0,0 +1,26 @@ +# CreditAgricoleJB + +Disables jailbreak detection in Ma Banque. + +- **App**: [Ma Banque](https://apps.apple.com/fr/app/ma-banque/id376202925) +- **Latest version**: 47.0.0 +- **Tested on**: iOS 15.8.6 + +## Build + +```sh +make clean && make package THEOS_PACKAGE_SCHEME=rootless DEBUG=0 +``` + +## Inject + +```sh +cyan -i com.creditagricole.mabanque-47.0.0.ipa \ + -o com.creditagricole.mabanque-47.0.0_patched.ipa \ + -f xyz.nohamr.creditagricolejb_1.0.0-1_iphoneos-arm64.deb \ + -u +``` + +## Screenshots + +![../docs/screens/CreditAgricoleJB/undetected.png](../docs/screens/CreditAgricoleJB/undetected.png) \ No newline at end of file diff --git a/README.md b/README.md index 3e3d0c4..01c5581 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,13 @@ iOS tweaks built with [Theos](https://theos.dev), injected into IPAs via [cyan]( ## Tweaks -| Tweak | App | Target | -| ------------------------------------------------------- | ---------------- | ------- | -| [ServerCatPremium](ServerCatPremium/index.md) | ServerCat 1.30.0 | iOS 17+ | -| [ServerCatPremium (legacy)](ServerCatPremium_/index.md) | ServerCat 1.6.4 | iOS 15 | -| [TextasticPro](TextasticPro/index.md) | Textastic 10.9.2 | iOS 18+ | -| [BusinessJB](BusinessJB/index.md) | Business 2.3.000 | iOS 15 | +| Tweak | App | Target | +| ------------------------------------------------------- | ---------------- | ---------- | +| [ServerCatPremium](ServerCatPremium/index.md) | ServerCat 1.30.0 | iOS 17+ | +| [ServerCatPremium (legacy)](ServerCatPremium_/index.md) | ServerCat 1.6.4 | iOS 15 | +| [TextasticPro](TextasticPro/index.md) | Textastic 10.9.2 | iOS 18+ | +| [BusinessJB](BusinessJB/index.md) | Business 2.3.000 | iOS 15 | +| [CreditAgricoleJB](CreditAgricoleJB/index.md) | Ma Banque 47.0.0 | iOS 15.8.6 | ## Build diff --git a/docs/screens/CreditAgricoleJB/undetected.png b/docs/screens/CreditAgricoleJB/undetected.png new file mode 100644 index 0000000..f73e0dc Binary files /dev/null and b/docs/screens/CreditAgricoleJB/undetected.png differ