一、摘要
预先善其事,必先利其器。
本文介绍了对pixle3刷机,并配置好逆向环境的过程。
其中刷机采用安卓定制系统,root采用apatch,代码注入采用frida,抓包采用reqable。
二、刷机
参考文章:https://mp.weixin.qq.com/s/1EySfXSucGdiuEBTfLsymA?
官方安装包地址:https://developers.google.com/android/images
点击:flash-all.bat 等待完成即可
开启开发者模式,并允许usb调试连接
三、root
apatch下载地址:https://github.com/bmax121/APatch
adb install xx 推送到手机adb push boot.img /sdcard/download/boot.img
adb pull /storage/emulated/0/Download/apatch-patched_10763_0.10.7_ktjI.img ./new_boot.img
手机进入bootloader模式adb reboot bootloader
,然后fastboot flash boot new_boot.img
,最后fastboot reboot
,重启手机。
打开apatch,
输入之前设置的密钥:abcd1234
四、frida配置
pc端运行命令:pip install frida-tools
输入pip list | Select-String -Pattern "frida"
去github找对应的frida-server
github地址:https://github.com/frida/frida/releases/tag/16.6.4 (版本号要和pc端一致)
将文件解压缩后推送到手机:adb push frida-server-16.6.4-android-arm64 /data/local/tmp/fs
frida-server 安装成功。
四、reqable抓包
reqable下载地址:https://reqable.com/zh-CN/
pc端和安卓端都安装
pc端引导安装证书到手机
手机端打开reqable扫描协同二维码
手机浏览器访问https://httpbin.org/get
抓包成功。
转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达,如有问题请邮件至2454612285@qq.com。