BishopFox / bfinject

Dylib injection for iOS 11.0 - 11.1.2 with LiberiOS and Electra jailbreaks
Apache License 2.0
620 stars 151 forks source link

TEAM ID is not found #37

Open level-zer0 opened 6 years ago

level-zer0 commented 6 years ago

I am testing a beta version of an application that was not installed from the App Store. When trying to use bfinject, a team ID is not found. I tried to debug by echoing the TEAMID variable when executing bfinject, but there are no results from JTOOL. It does not appear there are any entitlements for the application.

This is the following error I obtain:

screen shot 2018-07-09 at 1 50 29 pm

level-zer0 commented 6 years ago

I didn't figure out how to get the TEAM ID with JTOOL and still not sure why it wasn't working. However, I used the needle framework (binary/info/metadata) to get the TEAM ID and hard-coded the TEAMID to the bfinject bash script as a workaround.

fahasogato commented 6 years ago

Hey man can you help me with this how can i find TEAM ID?

And if i found it how can i add it to the bfinject

level-zer0 commented 6 years ago

I used the needle framework: https://github.com/mwrlabs/needle

The module I used was /binary/info/metadata.

Once you have your TEAM ID, use your favorite text editor (nano, vi, etc.) to modify the bfinject file. Look for the snippet of code that has "TEAMID." I would comment out the initial "TEAMID" with the variable, then create a new one right under to set it statically. That way when you want to do it on another device, you just have to uncomment and not re-install the default file.

fahasogato commented 6 years ago

I just got code signing blocked mmap error and error is dlopen

GlennL1994 commented 5 years ago

我找到了原因,我使用App Store上面下载的ipa就可以获取到。