Skip to content

Instantly share code, notes, and snippets.

@Perterually
Last active March 11, 2024 10:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Perterually/9d28b64368f70627c224ad168c25b054 to your computer and use it in GitHub Desktop.
Save Perterually/9d28b64368f70627c224ad168c25b054 to your computer and use it in GitHub Desktop.

objection安装

Use the package manager pip to install foobar.

pip install objection

常用命令

#hook指定app
objection --gadget asvid.github.io.fridaapp explore

#查看内存中加载的库
memory list modules

#查看所有激活的程序
android hooking list activities

#查看当前激活的窗口
android hooking get current_activity

#搜索类
android hooking search classes asvid.github.io.fridaapp

#搜索类的所有方法
android hooking search methods asvid.github.io.fridaapp MainActivity

#查看类的所有方法
android hooking list class_methods asvid.github.io.fridaapp.MainActivity


#hook指定类的方法,查看返回值,以及跟踪方法
android hooking watch class_method asvid.github.io.fridaapp.MainActivity.sum --dump-args --dump-backtrace --dump-return

#hook整个类 查看返回值,以及跟踪方法
android hooking watch class asvid.github.io.fridaapp.MainActivity --dump-args --dump-args --dump-backtrace --dump-return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment