2023年7月3日发(作者:)
使⽤r0capture通⽤安卓抓包脚本1.⾸先安装python环境下载python环境安装即可安装pip⼯具 运⾏下⾯命令安装依赖库pip install win_inet_ptonpip install hexdump2.安装Frida⼯具install fridainstall frida-tools2.1查看frida版本frida --version2.2需要下载ABD⼯具 输⼊adb shell 进⼊终端如果是⼿机需要插上数据线,打开USB调试,打开root如果是模拟器则需要开启root查看Android⼿机设备设置getprop ge根据cpu版本去下载相应frida-server,⼿机是arm64-v8a的,找到相应的服务器server,如下image将frida-server下载下来,加压出来,为了简单,重命名为frida-server,在此⽬录打开cmd 运⾏下⾯的命令adb push frida-server /data/local/tmpadb forward tcp:27042 tcp:27042adb forward tcp:27043 tcp:27043adb shell cd /data/local/tmp chmod 755 frida chmod 755 frida-server 如果运⾏不了,关闭liunx的SELinux: echo 0 > /sys/fs/selinux/enforce。另打开⼀个cmd,查看frida-server是否运⾏成功。进⼊Frida位于python的Scripts路径下运⾏cmd窗⼝ 执⾏frida-ps -U成功会显⽰进程列表模拟器或者⼿机打开app运⾏脚本``⽤法Spawn 模式: -U -f ttach 模式,抓包内容保存成pcap⽂件供后续分析: -U -p 建议使⽤Attach模式,从感兴趣的地⽅开始抓包,并且保存成pcap⽂件,供后续使⽤Wireshark进⾏分析。
发布者:admin,转转请注明出处:http://www.yc00.com/xiaochengxu/1688341553a123444.html
评论列表(0条)