Skip to content

模块依赖关系 ​

🔗 三个源文件及外部库的依赖关系图。

文件间依赖 ​

  • r0capture.py 在 ssl_log 里 open("script.js").read() 读取脚本内容注入
  • r0capture.py import myhexdump as hexdump,在 on_message 里调 hexdump.hexdump(...)

外部依赖 ​

依赖用途必需
frida与设备通信、注入脚本✅
frida_toolsfrida17 下提供 bridges 源码frida17 必需
loguru日志(文件轮转)✅
click彩色 banner❌(降级 print)
myhexdumphexdump 渲染✅(内联)
win_inet_ptonWindows IP 转换仅 Windows

设备端依赖 ​

script.js 依赖目标进程内的:

  • libssl.so:SSL_read/SSL_write/SSL_get_fd/SSL_get_session/SSL_SESSION_get_id
  • libc.so:ntohs/ntohl/getpeername/getsockname
  • Conscrypt 类:SSLOutputStream/SSLInputStream
  • java.security.KeyStore$PrivateKeyEntry
  • java.io.File

相关文档 ​

基于 VitePress 构建 · 教学用途