inspect_app_data
Reads and queries an app's private SharedPreferences and SQLite databases via Root, without opening the app UI, to verify config states, cached data, and internal table records.
Instructions
【零界面数据穿透工具】直接通过 Root 读取或查询 /data/data/<package>/ 下的 SharedPreferences 配置与 SQLite 数据库!
无需打开应用界面,直接核查开关状态、缓存数据与内部表记录。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 操作模式: - 'list': 列出应用私有目录下的 shared_prefs、databases 和 files - 'read_prefs': 读取 SharedPreferences XML 配置内容 - 'sql_query': 对应用私有 SQLite 数据库执行 SQL 查询 | list |
| package | Yes | 目标应用包名(如 'com.example.app') | |
| pref_key | No | 当 mode='read_prefs' 时可选过滤的配置键名关键词 | |
| sql_query | No | 当 mode='sql_query' 时执行的 SQL 语句(留空默认查询所有表名与表结构) | |
| target_file | No | 当 mode 为 'read_prefs' 时填 XML 文件名(留空读全部);当 mode 为 'sql_query' 时填数据库文件名(如 'data.db') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |