iPad:/var/mobile/Documents/bfinject root# bash bfinject -P cytus2.app -l dylibs/bfdecrypt.dylib
[+] Electra detected.
[+] Injecting into '/var/containers/Bundle/Application/F46B2456-2283-4CB9-89D0-08E6274A750D/cytus2.app/cytus2'
[+] Getting Team ID from target application...
[+] WARNING: No Team ID found. Continuing regardless, but expect weird stuff to happen.
[+] Thinning dylib into non-fat arm64 image
[+] Signing injectable .dylib with Team ID and platform entitlements...
[bfinject4realz] Calling task_for_pid() for PID 363.
[bfinject4realz] Calling thread_create() on PID 363
[bfinject4realz] Looking for ROP gadget... found at 0x181ff34e0
[bfinject4realz] Fake stack frame at 0x12e0b4000
[bfinject4realz] Calling _pthread_set_self() at 0x182233804...
[bfinject4realz] Returned from '_pthread_set_self'
[bfinject4realz] Calling dlopen() at 0x181ff3460...
[bfinject4realz] Returned from 'dlopen'
[bfinject4realz] ERROR: dlopen() failed to load the dylib.returned 0x0 (FAILURE)
[bfinject4realz] Calling dlerror() at 0x181ff32b0...
[bfinject4realz] Returned from 'dlerror'
9aee09f87eef7ea1ab6773cefa139390 -(483,0x1b2c0db80) malloc: *** mach_vm_map(size=6161072128) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
[bfinject4realz] dlerror() returned: (null)
[*] Signing the executable with ldid
cp: missing destination file operand after '/var/mobile/Documents/Cracked/'
Try 'cp --help' for more information.
rm: missing operand
Try 'rm --help' for more information.
Attempting to unzip .ipa
unzip: cannot find or open decrypted-app.ipa, decrypted-app.ipa.zip or decrypted-app.ipa.ZIP.
bfinject: line 127: cd: Payload: No such file or directory
Finna sign
bfinject: line 132: ldid: command not found
zip warning: name not matched: Payload
zip error: Nothing to do! (try: zip -r .ipa . -i Payload)
rm: cannot remove 'Payload': No such file or directory
[*]Generated signed .ipa in /var/mobile/.ipa
rm: cannot remove 'decrypted-app.ipa': No such file or directory
[*] Signing completed successfully
[+] So long and thanks for all the fish.
iPad:/var/mobile/Documents/bfinject root#
I tried using on cytus 2 and get this error