frida-trace -U -f 包名-m"+[NSURL URLWithString:]"

URL拦截,我们可以这样改:

/* * Auto-generated by Frida. Please modify to match the signature of +[NSURL URLWithString:]. * This stub is currently auto-generated from manpages when available. * * For full API reference, see: https://frida.re/docs/javascript-api/ */{ /** * Called synchronously when about to call +[NSURL URLWithString:]. * * @this {object} - Object allowing you to store state for use in onLeave. * @param