Skip to content

Instantly share code, notes, and snippets.

@irever
Last active December 25, 2018 09:31
Show Gist options
  • Save irever/e9bfdf203db3e07a0b2bc16b26796160 to your computer and use it in GitHub Desktop.
Save irever/e9bfdf203db3e07a0b2bc16b26796160 to your computer and use it in GitHub Desktop.
frida #frida #r2 #hook #root #adb

安卓root:

magisk install

如果是小米手机,装开发版,在授权管理中有root,然后再装magisk

setenforce 0 关闭SE

shell(mac/linux):

pip3 install frida 下载frida-server brew install frida-tools

unxz frida-server-***.xz //解压xz adb push frida-server

adb shell

su setenforce 0 //关闭selinux cd /data/local/tmp ./frida-server

mac:

adb forward tcp:27043 tcp:27043 adb forward tcp:27042 tcp:27042 frida-ps -R frida -R com.xxx.xxx

r2:

\iEa XXXXX /x 303132 //通过hex搜索

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment