sensepost / objection

📱 objection - runtime mobile exploration
GNU General Public License v3.0
7.33k stars 840 forks source link

refactor spawning logic. #474

Closed leonjza closed 2 years ago

leonjza commented 3 years ago

Right now, the objection spawning logic is not great. We can't reliably do early instrumentation, and with Frida 15, some new API's are around that we can use to improve application selection etc. Some quick thoughts on what needs implementing:

duraki commented 2 years ago

any progress ? 😢

leonjza commented 2 years ago

Finally made some progress here! Code is not in yet, but the spawning logic rewrite happened yesterday. https://twitter.com/leonjza/status/1452516278451773448

duraki commented 2 years ago

Muchos grazias @leonjza for update 💯 Let us know when you push to remote, we might be of help

leonjza commented 2 years ago

Just pushed the first WIP for the refactor. Most things work. Theres many breaking changes too, but feel free to experiment :P Most notably, the explore command is now start.

image

duraki commented 2 years ago
  • add the resume repl command to resume apps

Well, I can't thank you for this. Who knows how many times I tried typing %resume in Objection REPL 😹 On a serious note: this is awesome. And at what better time then with newest Frida release, eh?

I will sure be among the first who will (s)t(r)est it out 💟 Will update personal observations here asap

edit: attaching by $pid has been ditched as it seems.

Notable diff: Initialization of new Agent Object via CLI, Gadget ditch, New Agent logic

leonjza commented 2 years ago

edit: attaching by $pid has been ditched as it seems.

If you provide a pid to --name it should work ok.