feat: publish workphone SDK deployment and API docs
This commit is contained in:
22
sdk/agent/hook/__init__.py
Normal file
22
sdk/agent/hook/__init__.py
Normal file
@@ -0,0 +1,22 @@
|
||||
"""
|
||||
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"]
|
||||
Reference in New Issue
Block a user