Files
workphone-sdk/sdk/agent/hook/__init__.py

23 lines
662 B
Python

"""
Hook 模块 — Frida 注入通道
组件:
- FridaManager: 管理 Frida 与微信进程的连接
- HookExecutor: 将 unified 动作映射到 RPC 调用
- EventReporter: 将 Hook 事件上报到服务端
使用:
from hook import FridaManager, HookExecutor, EventReporter
mgr = FridaManager(on_event=reporter.on_hook_event)
mgr.start()
executor = HookExecutor(mgr)
result = executor.execute("send_message", {"to_id": "xxx", "content": "hello"})
"""
from .frida_manager import FridaManager
from .hook_executor import HookExecutor
from .event_reporter import EventReporter
__all__ = ["FridaManager", "HookExecutor", "EventReporter"]