mirror of
https://github.com/NohamR/Tweaks.git
synced 2026-05-24 19:59:59 +00:00
Add BusinessJB tweak and patch serve script
This commit is contained in:
3
BusinessJB/.gitignore
vendored
Normal file
3
BusinessJB/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.theos/
|
||||
packages/
|
||||
.DS_Store
|
||||
7
BusinessJB/BusinessJB.plist
Normal file
7
BusinessJB/BusinessJB.plist
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
Filter = {
|
||||
Bundles = (
|
||||
"fr.labanquepostale.pmo.mescomptes",
|
||||
);
|
||||
};
|
||||
}
|
||||
13
BusinessJB/Makefile
Normal file
13
BusinessJB/Makefile
Normal file
@@ -0,0 +1,13 @@
|
||||
TARGET = iphone:latest:14.0
|
||||
INSTALL_TARGET_PROCESSES = Business
|
||||
ARCHS = arm64 arm64e
|
||||
|
||||
include $(THEOS)/makefiles/common.mk
|
||||
|
||||
TWEAK_NAME = BusinessJB
|
||||
|
||||
BusinessJB_FILES = Tweak.x
|
||||
BusinessJB_CFLAGS = -fobjc-arc
|
||||
BusinessJB_FRAMEWORKS = Foundation
|
||||
|
||||
include $(THEOS_MAKE_PATH)/tweak.mk
|
||||
8
BusinessJB/Tweak.x
Normal file
8
BusinessJB/Tweak.x
Normal file
@@ -0,0 +1,8 @@
|
||||
#import <substrate.h>
|
||||
#import <mach-o/dyld.h>
|
||||
|
||||
%hook JailbreakDetection
|
||||
- (bool)jailbroken {
|
||||
return FALSE;
|
||||
}
|
||||
%end
|
||||
9
BusinessJB/control
Normal file
9
BusinessJB/control
Normal file
@@ -0,0 +1,9 @@
|
||||
Package: xyz.nohamr.businessjb
|
||||
Name: BusinessJB
|
||||
Version: 1.0.0
|
||||
Architecture: iphoneos-arm
|
||||
Description: Bypass the jailbreak detection of the Business app.
|
||||
Maintainer: NohamR
|
||||
Author: NohamR
|
||||
Section: Tweaks
|
||||
Depends: mobilesubstrate (>= 0.9.5000)
|
||||
26
BusinessJB/index.md
Normal file
26
BusinessJB/index.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# BusinessJB
|
||||
|
||||
Disables jailbreak detection in La Banque Postale by forcing `JailbreakDetection\n- (bool)jailbroken` to return `FALSE`.
|
||||
|
||||
- **App**: [Business – La Banque Postale](https://apps.apple.com/fr/app/business-la-banque-postale/id1438089314)
|
||||
- **Latest version**: 2.3.000
|
||||
- **Tested on**: iOS 15.8.6
|
||||
|
||||
## Build
|
||||
|
||||
```sh
|
||||
make clean && make package THEOS_PACKAGE_SCHEME=rootless DEBUG=0
|
||||
```
|
||||
|
||||
## Inject
|
||||
|
||||
```sh
|
||||
cyan -i com.labanquepostale.business-2.3.000.ipa \
|
||||
-o com.labanquepostale.business-2.3.000_patched.ipa \
|
||||
-f xyz.nohamr.businessjb_1.0.0-1_iphoneos-arm64.deb \
|
||||
-u
|
||||
```
|
||||
|
||||
## Screenshots
|
||||
|
||||

|
||||
@@ -9,6 +9,7 @@ iOS tweaks built with [Theos](https://theos.dev), injected into IPAs via [cyan](
|
||||
| [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 |
|
||||
|
||||
## Build
|
||||
|
||||
|
||||
BIN
docs/screens/BusinessJB/jailbreak.png
Normal file
BIN
docs/screens/BusinessJB/jailbreak.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 282 KiB |
71
scripts/patch_and_serve.sh
Executable file
71
scripts/patch_and_serve.sh
Executable file
@@ -0,0 +1,71 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
if [ "$#" -ne 2 ]; then
|
||||
echo "Usage: $0 <file.ipa> <file.deb>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
IPA=""
|
||||
DEB=""
|
||||
|
||||
for arg in "$@"; do
|
||||
case "$arg" in
|
||||
*.ipa)
|
||||
IPA="$arg"
|
||||
;;
|
||||
*.deb)
|
||||
DEB="$arg"
|
||||
;;
|
||||
*)
|
||||
echo "Unknown file type: $arg"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ -z "$IPA" ] || [ -z "$DEB" ]; then
|
||||
echo "You must provide one .ipa and one .deb file."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# ---- Prepare output folder ----
|
||||
OUT_DIR="/tmp/ipa_patched"
|
||||
mkdir -p "$OUT_DIR"
|
||||
|
||||
IPA_NAME=$(basename "$IPA")
|
||||
OUTPUT_IPA="$OUT_DIR/$IPA_NAME"
|
||||
|
||||
echo "[+] Patching IPA with cyan..."
|
||||
cyan -i "$IPA" -o "$OUTPUT_IPA" -f "$DEB" -u --overwrite
|
||||
echo "[+] Patch complete."
|
||||
|
||||
LOCAL_IP=$(ipconfig getifaddr en0 2>/dev/null)
|
||||
|
||||
if [ -z "$LOCAL_IP" ]; then
|
||||
LOCAL_IP=$(hostname -I 2>/dev/null | awk '{print $1}')
|
||||
fi
|
||||
|
||||
if [ -z "$LOCAL_IP" ]; then
|
||||
echo "Could not detect local IP automatically."
|
||||
LOCAL_IP="YOUR_IP"
|
||||
fi
|
||||
|
||||
DOWNLOAD_LINK="http://$LOCAL_IP:8000/$IPA_NAME"
|
||||
|
||||
cd "$OUT_DIR"
|
||||
|
||||
echo ""
|
||||
echo "=========================================="
|
||||
echo "Download link:"
|
||||
echo "$DOWNLOAD_LINK"
|
||||
echo "=========================================="
|
||||
echo ""
|
||||
echo -n "$DOWNLOAD_LINK" | pbcopy
|
||||
echo "[+] Download link copied to clipboard."
|
||||
echo "[+] Starting HTTP server..."
|
||||
echo "Press Ctrl+C to stop."
|
||||
echo ""
|
||||
|
||||
python3 -m http.server 8000
|
||||
Reference in New Issue
Block a user