bfinject icon indicating copy to clipboard operation
bfinject copied to clipboard

MD5 command not found

Open colealanroberts-zz opened this issue 7 years ago • 9 comments

I'm running Electra 11-3 on an iPhone 5S with iOS 11.0.3.

I did a fresh Electra install with No Tweaks and followed the Electra instructions with the most recent version of bfinject. I'm seeing these errors when running:

bash bfinject -P Reddit -L test

[+] Electra detected.
bfinject: line 163: md5: command not found
bfinject: line 164: md5: command not found
cp: '/bootstrap/usr/local/bin/bfinject4realz' and '/bootstrap/usr/local/bin/bfinject4realz' are the same file
[+] Injecting into '/var/containers/Bundle/Application/F0ABA1CC-E72A-4D88-AF1C-95D855B3BA83/Reddit.app/Reddit'
[+] Getting Team ID from target application...
[+] Thinning dylib into non-fat arm64 image
[+] Signing injectable .dylib with Team ID 2TDUX39LX8 and platform entitlements...
jtool /bootstrap/usr/local/bin/ signing error. barfing.
Coles-iPhone:~/bfinject root# 

Any ideas? Thanks!

colealanroberts-zz avatar Feb 14 '18 02:02 colealanroberts-zz

Change the md5 at the ends of both of those lines to md5sum, which is included in the Core Utilities package.

riley-williams avatar Mar 07 '18 20:03 riley-williams

@riley-williams Okay, I'll try that, I appreciate your help.

colealanroberts-zz avatar Mar 08 '18 19:03 colealanroberts-zz

i got error Bfinject line 43: command not found Electra 1.0.4

zachary83 avatar Mar 15 '18 13:03 zachary83

The Electra jailbreak has changed since the BishopFox instructions were created. The files it looks for the existence of in /bootstrap never exist, and packages it depends on are not around (plain md5). If you know what you're doing it still easy to get running.

The LiberiOS jailbreak has not been modified, and the BFInject instructions for it are still current.

EthanArbuckle avatar Mar 20 '18 01:03 EthanArbuckle

I replaced the contents of bfinject with updated paths to detect electra 1.0.4: https://gist.github.com/klmitchell2/536bce0cec94d24a5799ba3b17499b54

klmitchell2 avatar Mar 26 '18 14:03 klmitchell2

It would make more sense to create a PR rather than a gist. On Mon, Mar 26, 2018 at 7:36 AM klmitchell2 [email protected] wrote:

I replaced the contents of bfinject with updated paths to detect electra 1.0.4: https://gist.github.com/klmitchell2/536bce0cec94d24a5799ba3b17499b54

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BishopFox/bfinject/issues/15#issuecomment-376188245, or mute the thread https://github.com/notifications/unsubscribe-auth/AEDcXkDzczO13ZAPax1VEsicsRaInOuJks5tiPzygaJpZM4SEuhD .

EthanArbuckle avatar Mar 26 '18 18:03 EthanArbuckle

[+] Electra detected. bfinject: line 163: md5: command not found bfinject: line 164: md5: command not found cp: '/bootstrap/usr/local/bin/bfinject4realz' and '/bootstrap/usr/local/bin/bfinject4realz' are the same file [+] Injecting into '/var/containers/Bundle/Application/EE028851-5CC0-4CEB-86E8-098A0A7803A0/--.app/--' [+] Getting Team ID from target application... [+] Thinning dylib into non-fat arm64 image [+] Signing injectable .dylib with Team ID 88L2Q4487U and platform entitlements... jtool /bootstrap/usr/local/bin/ signing error. barfing.

Did you already solve? can you tell any idea

wang13972366242 avatar Feb 21 '19 13:02 wang13972366242

bfinject: line 163: md5: command not found bfinject: line 164: md5: command not found

This would be your problem. Make your have you have md5 binary.

klmitchell2 avatar Feb 21 '19 15:02 klmitchell2

bfinject: line 163: md5: command not found bfinject: line 164: md5: command not found

This would be your problem. Make your have you have md5 binary.

I donot know.The version is 11.4. High mobile version are not compatible?

wang13972366242 avatar Feb 22 '19 13:02 wang13972366242