日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > Android >内容正文

Android

Android 抓包工具r0capture使用

發布時間:2024/10/14 Android 33 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Android 抓包工具r0capture使用 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

目錄

1.安裝frIDA運行依賴庫及frida-tools

2.安裝frida

3.下載安裝frida-server 查看安卓手機內核

4.運行frida-server

5.轉發android TCP端口到本地

6.windows 啟動python服務

7.檢查命令 在windows cmd 敲

8.使用WiresharkPortable查看抓到的內容

9.異常情況:

10.參考資料


?

運行平臺:

Windows 10

Python 3.7.3

MT8788 ARM64


1.安裝frIDA運行依賴庫及frida-tools

pip install -i https://mirrors.aliyun.com/pypi/simple/ numpy matplotlib pip install -i https://mirrors.aliyun.com/pypi/simple/ frida-tools

2.安裝frida

pip install -i https://mirrors.aliyun.com/pypi/simple/ frida

3.下載安裝frida-server 查看安卓手機內核

adb shell getpropro.product.cpu.abi MT8788s對應arm64-v8a > frida-server-14.2.8-android-arm64

4.運行frida-server

adb push frida-server-14.2.8-android-arm64 /data/local/ chmod 777 /data/local/frida-server-14.2.8-android-arm64 ./data/local/frida-server-14.2.8-android-arm64

5.轉發android TCP端口到本地

adb forward tcp:27042 tcp:27042 adb forward tcp:27043 tcp:27043

6.windows 啟動python服務

Spawn 模式: python??r0capture.py -U com.aligames.sgzzlb:channel -v -p com.aligames.sgzzlb.pcap Attach 模式,抓包內容保存成pcap文件供后續Wireshark分析: python r0capture.py -U -f com.videogo

7.檢查命令 在windows cmd 敲

frida-ps -U 命令檢查Frida是否正常運行,如果正常運行則會列出Android設備上當前正在運行的進程.參數-U 代表USB,意思讓Frida檢查USB設備

8.使用WiresharkPortable查看抓到的內容

9.異常情況:

如果啟動第4點出現這個問題 重啟android主板 windows 啟動程序端口被占用Address already in use: bind解決方案 netstat -ano | grep 31696 taskkill -pid 31696 -f

10.參考資料

https://github.com/r0ysue/r0capture

https://www.52pojie.cn/thread-1349195-1-1.html

總結

以上是生活随笔為你收集整理的Android 抓包工具r0capture使用的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。