命令速查表
⌨️ r0capture 常用命令速查。
基础
bash
# spawn 抓包写 pcap
r0capture -U -f <包名> -p out.pcap
# attach 抓包
r0capture -U <包名> -p out.pcap
# 只看明文不写 pcap
r0capture -U -f <包名>
# 指定 SSL 库
r0capture -U -f <包名> -ssllib /path/libssl.so
# 自检
r0capture --selftest参数速查
| 参数 | 含义 |
|---|---|
-U | USB 设备 |
-f <包名> | spawn 启动 |
-p <file> | 写 pcap |
-H <host:port> | 远程 frida |
-v | 详细输出 |
--selftest | 自检 |
-ssllib <path> | 指定 SSL 库 |
详见 CLI 参数。
frida 辅助
bash
frida-ps -U # 列进程
frida-ps -Ua # 列 App(含包名)
frida-ps -Uai # 含未运行 App
frida --version # PC 版本
adb shell getprop ro.product.cpu.abi # 设备架构分析
bash
# 看 pcap
wireshark out.pcap
# tshark 提取流
tshark -r out.pcap -z follow,tcp,ascii,0
# 看 p12(密码 r0ysue)
keytool -list -v -keystore client.p12 -storepass r0ysue