sensepost / objection

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

How to use a declare function from an imported javascript file? #447

Closed abcdefgnihao closed 3 years ago

abcdefgnihao commented 3 years ago

for example, if i type "import /root/test.js" on commandline, my console will automatically execute my startup function. But what if I wanna using other function later?

leonjza commented 3 years ago

Hey! Unfortunately this is not something we support yet without some code changes. Your best bet will be to use vanilla Frida for this which arguably does a really good job at it too :)

abcdefgnihao commented 3 years ago

OK