tweaselORG / appstraction

An abstraction layer for common instrumentation functions (e.g. installing and starting apps, setting preferences, etc.) on Android and iOS.
MIT License
4 stars 1 forks source link

Fixes #92: Use su -c instead of the root shell #94

Closed zner0L closed 1 year ago

baltpeter commented 1 year ago

Oh. I think I'm getting the same problems on main. :o Seems like it's been a while since we tested this without everything already setup. :|

baltpeter commented 1 year ago

Mea culpa. The problem was that I also had an iPhone connected (for charging). That's fine for adb but it confuses Frida. Without that, the example script runs fine (including DBN).

baltpeter commented 1 year ago

Might be a nice UX feature to fail in ensureDevice() if there is more than one device detected by adb and/or Frida.