Closed exrme18 closed 6 years ago
I believe this due to the IPA being encrypted. This error message confirms it.
at FSReqWrap.oncomplete (fs.js:152:21) code: 'ENOENT' } Error: This IPA is encrypted
iOS Applications (the mach-o binary's) are encrypted and need to be decrypted by a tool like Clutch or such. This is so Frida can be injected into the application.
DVIA application is not encrypted. This why it works.
@R3zk0n Thanks for pointing out the error. Since I do not have a Jailbreak iOS device. Is there a way to decrypt an iOS app on Macbook because whatever the resources I have found is explaining the steps on Jailbreak device. Any hint you can suggest.
Thanks
Unfortunately only jailbroken devices can decrypt applications. It is possible to source other, possibly malicious versions from the internet, but keep in mind that these most probably have malware in them and should be used wit caution.
Normally, other than apps that are already in the app store, you would ask a developer for a build before they submit to the store where they get DRM applied.
Hello, I am trying to patch an IPA file downloaded from the iOS device (OS: 11.4.1). I have downloaded the Twitter IPA using iMAZING utility. Device is not a jailbreak version whereas while doing the same methodology on DVIA app I am getting no error.
Copying final ipa from /var/folders/35/zwx7zqd15ls0hl28nl11r2f40000gn/T/twitterios-frida-codesigned.ipa to current directory... Traceback (most recent call last): File "/usr/local/bin/objection", line 11, in
sys.exit(cli())
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 764, in call
return self.main(args, kwargs)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, ctx.params)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(args, kwargs)
File "/usr/local/lib/python3.7/site-packages/objection/console/cli.py", line 210, in patchipa
patch_ios_ipa(locals())
File "/usr/local/lib/python3.7/site-packages/objection/commands/mobile_packages.py", line 75, in patch_ios_ipa
os.path.join(os.path.abspath('.'), os.path.basename(patcher.get_patched_ipa_path())))
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/shutil.py", line 120, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/35/zwx7zqd15ls0hl28nl11r2f40000gn/T/twitterios-frida-codesigned.ipa'
Cleaning up temp files...
Failed to cleanup with error: [Errno 2] No such file or directory: '/var/folders/35/zwx7zqd15ls0hl28nl11r2f40000gn/T/twitterios-frida-codesigned.ipa'
'
Can you please let me know what is causing an error?
Thanks