Android逆向hook框架frida的安裝

環境,win+小米手機python

1,python安裝frida模塊,pip install frida 而後注意查看版本號:>pip list |findstr /i fridaandroid


2,我這裏爲11.0.13,而後https://github.com/frida/frida/releases中下載對應版本的server和手機cpu型號,放在安卓下運行git

若是查看本身手機是arm仍是x64呢?查看/proc/cpuinfo信息,詳見https://blog.csdn.net/qq_37858386/article/details/78905342github

個人下載的frida-server-11.0.13-android-arm.xz
3,adb把文件放到手機,運行frida-server.
 shell

adb shell 
su 
cd /data/local/tmp 
ls -al frida-server //能夠查看有沒有 
chmod 777 frida-server //賦予運行權限 
./frida-servertcp

//轉發android TCP端口到本地 
adb forward tcp:27042 tcp:27042 
adb forward tcp:27043 tcp:27043ui

驗證:.net

frida-ps -R
出現進程就是能夠了code

 

主要遇到的問題,就是手機內核版本,和python 安裝frida版本 對應 須要下載的frida-server 不符致使server

Failed to enumerate processes: unable to communicate with remote frida-server; please ensure that major versions match and that the remote Frida has the feature you are trying to use
相關文章
相關標籤/搜索