question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

script freezes on frida 14

See original GitHub issue

Frida has recently been updated to 14, which has broken this script. It seems to dump certain files, but then freezes

Dumping EE Device MOT to /var/folders/w8/bgzlm3zd5_b7jk2mzv6500zc0000gn/T
[frida-ios-dump]: Load GoogleToolboxForMac.framework success. 
[frida-ios-dump]: Load WebRTC.framework success. 
[frida-ios-dump]: Load jarvisWebview.framework success. 
[frida-ios-dump]: Load frameworkiOS.framework success. 
[frida-ios-dump]: Load nanopb.framework success. 
[frida-ios-dump]: Load mceSDK.framework success. 
start dump /var/containers/Bundle/Application/D4C51C7C-0F49-4BEE-8AAE-8482D9950A76/container.app/container
container.fid: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 1.66M/1.66M [00:00<00:00, 7.19MB/s]
start dump /private/var/containers/Bundle/Application/D4C51C7C-0F49-4BEE-8AAE-8482D9950A76/container.app/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac
GoogleToolboxForMac.fid: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 94.9k/94.9k [00:00<00:00, 446kB/s]
start dump /private/var/containers/Bundle/Application/D4C51C7C-0F49-4BEE-8AAE-8482D9950A76/container.app/Frameworks/WebRTC.framework/WebRTC
WebRTC.fid: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 5.56M/5.56M [00:00<00:00, 20.4MB/s]
start dump /private/var/containers/Bundle/Application/D4C51C7C-0F49-4BEE-8AAE-8482D9950A76/container.app/Frameworks/nanopb.framework/nanopb
0.00B [00:00, ?B/s]
[freezes here]
$ dump.py com.thomsonreuters.eikonhd
Start the target app com.thomsonreuters.eikonhd
Dumping Eikon to /var/folders/w8/bgzlm3zd5_b7jk2mzv6500zc0000gn/T
[frida-ios-dump]: Load EikonFramework.framework success. 
[freezes here]

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:7

github_iconTop GitHub Comments

5reactions
nerozhaocommented, Jan 5, 2021

You can catch the dlopen exception like this: image

2reactions
nvzqzcommented, Dec 27, 2020

After investigating @nfriedly’s issue (we work together), I realized that this issue can only be reproduced for apps that were installed via Configurator. Apps installed from the App Store had no issue.

Ideally this should work for all Configurator-installed apps since all assets are retained when extracting those (for apps that this tool works for). Otherwise, our workaround is to swap in assets from an encrypted app that was gotten through Configurator locally (pre-installation).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Frida - Java.perform() is crashing the app - Stack Overflow
When I run the script with the following command $ frida -U -f com.example.helloworld -l script.js --no-pause the app crashes before theΒ ...
Read more >
PowerShell ISE Freezes after executing WinForms - TechNet
Hello, I've been having an issue with my PowerShell ISE. I am currently developing a PowerShell script that generates Windows Forms forΒ ...
Read more >
JavaScript API | Frida β€’ A world-class dynamic instrumentation ...
This API is useful if you're building a language-binding, where you need to free native resources when a JS value is no longer...
Read more >
Responses – Medium
Why upload frida-script-js to remote device? ... Sep 14, 2019 ... is Instagram. but Frida gets stuck at "Waiting for the app to...
Read more >
frida-ios-dump - Bountysource
Frida has recently been updated to 14, which has broken this script. It seems to dump certain files, but then freezes. ```Start the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found