diff --git a/server/frida-server.xcent b/server/frida-server.xcent index ecbeb7201..802992631 100644 --- a/server/frida-server.xcent +++ b/server/frida-server.xcent @@ -2,6 +2,12 @@ + com.apple.security.network.client + + com.apple.security.network.server + + research.com.apple.license-to-operate + abs-client 143531244 adi-client @@ -296,6 +302,8 @@ com.apple.sh + com.apple.private.cs.debugger + com.apple.springboard.debugapplications com.apple.springboard.iconState diff --git a/src/darwin/darwin-host-session.vala b/src/darwin/darwin-host-session.vala index 8f1336c59..bd754fd24 100644 --- a/src/darwin/darwin-host-session.vala +++ b/src/darwin/darwin-host-session.vala @@ -336,8 +336,13 @@ namespace Frida { #if HAVE_EMBEDDED_ASSETS id = yield fruitjector.inject_library_resource (pid, agent, entrypoint, agent_parameters, cancellable); #else - id = yield fruitjector.inject_library_file (pid, Config.FRIDA_AGENT_PATH, entrypoint, agent_parameters, - cancellable); + string agent_path = Config.FRIDA_AGENT_PATH; +#if IOS + unowned string? cryptex_path = Environment.get_variable ("CRYPTEX_MOUNT_PATH"); + if (cryptex_path != null) + agent_path = cryptex_path + agent_path; +#endif + id = yield fruitjector.inject_library_file (pid, agent_path, entrypoint, agent_parameters, cancellable); #endif return id;