{"id":70123,"date":"2026-02-01T15:35:36","date_gmt":"2026-02-01T07:35:36","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/70123.html"},"modified":"2026-02-01T15:35:36","modified_gmt":"2026-02-01T07:35:36","slug":"%e7%ac%ac%e5%8d%81%e4%b8%89%e8%8a%82_android_app_%e7%9b%ae%e5%bd%95%e7%bb%93%e6%9e%84","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/70123.html","title":{"rendered":"\u7b2c\u5341\u4e09\u8282_Android_APP_\u76ee\u5f55\u7ed3\u6784"},"content":{"rendered":"<h2>\u7b2c\u5341\u4e09\u8282 Android APP \u76ee\u5f55\u7ed3\u6784<\/h2>\n<p>&#xff08;\u7b2c1\u7ae0 \u5b89\u5353\u9006\u5411\u6982\u8bba&#xff09;<\/p>\n<h3>\u5b66\u4e60\u76ee\u6807<\/h3>\n<p>\u5b66\u5b8c\u672c\u8282&#xff0c;\u5e0c\u671b\u4f60\u80fd\u591f&#xff1a;\u641e\u6e05 APP \u76ee\u5f55\u7ed3\u6784&#xff0c;\u5c24\u5176\u662f \/data\/data\/\u5305\u540d \u4e0b\u90fd\u6709\u5565&#xff1b;\u4f1a SharedPreferences\u3001SQLite\u3001\u5185\u90e8\/\u5916\u90e8\u5b58\u50a8&#xff1b;\u77e5\u9053 APK \u5b89\u88c5\u540e\u6587\u4ef6\u548b\u5206\u5e03&#xff0c;\u80fd\u5907\u4efd\u3001\u8fc1\u79fb\u3001\u9006\u5411&#xff1b;\u4f1a\u63d0\u53d6 APP \u6570\u636e\u505a\u9006\u5411\u548c\u8c03\u8bd5\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001APP \u5b89\u88c5\u540e\u76ee\u5f55\u957f\u5565\u6837&#xff1f;<\/h3>\n<p>Android APP \u5b89\u88c5\u540e&#xff0c;\u5176\u6570\u636e\u4e3b\u8981\u5b58\u653e\u5728 \/data\/data\/&lt;package_name&gt;\/ \u76ee\u5f55\u4e0b&#xff08;\u9700 Root \u8bbf\u95ee&#xff09;\u3002<\/p>\n<p>\u67e5\u770b\u6240\u6709\u5df2\u5b89\u88c5 APP \u7684\u6570\u636e\u76ee\u5f55<\/p>\n<p>adb shell <span class=\"token function\">ls<\/span> \/data\/data\/<\/p>\n<p>\u793a\u4f8b&#xff1a;\u67d0 APP \u7684\u76ee\u5f55\u7ed3\u6784<\/p>\n<p>\/data\/data\/com.example.app\/<br \/>\n\u251c\u2500\u2500 cache\/                  # \u7f13\u5b58\u6587\u4ef6&#xff08;\u4e34\u65f6\u6570\u636e&#xff09;<br \/>\n\u251c\u2500\u2500 code_cache\/             # ART \u7f16\u8bd1\u7f13\u5b58<br \/>\n\u251c\u2500\u2500 databases\/              # SQLite \u6570\u636e\u5e93\u5b58\u50a8\u76ee\u5f55<br \/>\n\u2502   \u251c\u2500\u2500 user.db             # \u4e3b\u8981\u6570\u636e\u5e93\u6587\u4ef6<br \/>\n\u2502   \u251c\u2500\u2500 user.db-shm         # SQLite \u5171\u4eab\u5185\u5b58\u6587\u4ef6<br \/>\n\u2502   \u251c\u2500\u2500 user.db-wal         # SQLite WAL \u65e5\u5fd7\u6587\u4ef6<br \/>\n\u251c\u2500\u2500 files\/                  # \u5e94\u7528\u5b58\u50a8\u7684\u6587\u4ef6&#xff08;\u9ed8\u8ba4\u76ee\u5f55&#xff09;<br \/>\n\u2502   \u251c\u2500\u2500 logs\/               # \u65e5\u5fd7\u6587\u4ef6<br \/>\n\u2502   \u251c\u2500\u2500 config.json         # \u914d\u7f6e\u6587\u4ef6<br \/>\n\u251c\u2500\u2500 shared_prefs\/           # SharedPreferences&#xff08;XML \u683c\u5f0f\u5b58\u50a8&#xff09;<br \/>\n\u2502   \u251c\u2500\u2500 settings.xml        # APP \u8bbe\u7f6e\u5b58\u50a8<br \/>\n\u2502   \u251c\u2500\u2500 user_data.xml       # \u7528\u6237\u6570\u636e<br \/>\n\u251c\u2500\u2500 lib\/                    # Native C\/C&#043;&#043; so \u5e93<br \/>\n\u2502   \u251c\u2500\u2500 libnative.so        # \u672c\u5730\u5171\u4eab\u5e93<br \/>\n\u251c\u2500\u2500 app_webview\/            # WebView \u5b58\u50a8\u6570\u636e<br \/>\n\u251c\u2500\u2500 app_flutter\/            # Flutter APP \u8d44\u6e90<br \/>\n\u2514\u2500\u2500 cache\/                  # \u4e34\u65f6\u7f13\u5b58\u6587\u4ef6<\/p>\n<p>\u67e5\u770b\u7279\u5b9a APP \u7684\u76ee\u5f55<\/p>\n<p>adb shell <span class=\"token function\">ls<\/span> -l \/data\/data\/com.example.app\/<\/p>\n<hr \/>\n<hr \/>\n<h3>\u4e8c\u3001\u5404\u76ee\u5f55\u5728\u5e72\u5565&#xff1f;<\/h3>\n<table>\n<tr>\u76ee\u5f55\u4f5c\u7528\u5b58\u50a8\u65b9\u5f0f\u662f\u5426\u53ef\u8bbf\u95ee<\/tr>\n<tbody>\n<tr>\n<td>cache\/<\/td>\n<td>\u4e34\u65f6\u7f13\u5b58\u6570\u636e<\/td>\n<td>\u6587\u4ef6<\/td>\n<td>\u53ef\u8bfb\u5199&#xff08;\u5e94\u7528\u5185&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>code_cache\/<\/td>\n<td>ART \u7f16\u8bd1\u7f13\u5b58<\/td>\n<td>OAT \u6587\u4ef6<\/td>\n<td>&#x1f6ab; \u4ec5 Root \u8bbf\u95ee<\/td>\n<\/tr>\n<tr>\n<td>databases\/<\/td>\n<td>APP \u7684 SQLite \u6570\u636e\u5e93<\/td>\n<td>SQLite3<\/td>\n<td>&#x1f6ab; \u4ec5 Root \u8bbf\u95ee<\/td>\n<\/tr>\n<tr>\n<td>files\/<\/td>\n<td>APP \u5b58\u50a8\u7684\u6587\u4ef6<\/td>\n<td>\u666e\u901a\u6587\u4ef6<\/td>\n<td>\u53ef\u8bfb\u5199&#xff08;\u5e94\u7528\u5185&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>shared_prefs\/<\/td>\n<td>\u5171\u4eab\u5b58\u50a8&#xff0c;\u5b58\u50a8\u5e94\u7528\u8bbe\u7f6e<\/td>\n<td>XML<\/td>\n<td>&#x1f6ab; \u4ec5 Root \u8bbf\u95ee<\/td>\n<\/tr>\n<tr>\n<td>lib\/<\/td>\n<td>\u5b58\u50a8 Native .so \u5e93<\/td>\n<td>ELF \u6587\u4ef6<\/td>\n<td>&#x1f6ab; \u4ec5 Root \u8bbf\u95ee<\/td>\n<\/tr>\n<tr>\n<td>app_webview\/<\/td>\n<td>WebView \u672c\u5730\u5b58\u50a8<\/td>\n<td>Cache<\/td>\n<td>&#x1f6ab; \u4ec5 Root \u8bbf\u95ee<\/td>\n<\/tr>\n<tr>\n<td>cache\/<\/td>\n<td>\u4e34\u65f6\u7f13\u5b58<\/td>\n<td>Cache<\/td>\n<td>\u53ef\u8bfb\u5199&#xff08;\u5e94\u7528\u5185&#xff09;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u67e5\u770b\u6570\u636e\u5e93\u6587\u4ef6<\/p>\n<p>adb shell <span class=\"token function\">ls<\/span> \/data\/data\/com.example.app\/databases\/<\/p>\n<p>\u67e5\u770b SharedPreferences<\/p>\n<p>adb shell <span class=\"token function\">cat<\/span> \/data\/data\/com.example.app\/shared_prefs\/settings.xml<\/p>\n<hr \/>\n<hr \/>\n<h3>\u4e09\u3001APP \u548b\u5b58\u6570\u636e&#xff1f;<\/h3>\n<h4>1. \u5185\u90e8\u5b58\u50a8&#xff08;Internal Storage&#xff09;<\/h4>\n<p>APP \u79c1\u6709\u5b58\u50a8&#xff0c;\u5176\u4ed6 APP \u4e0d\u80fd\u8bbf\u95ee&#xff08;\u65e0 Root \u6743\u9650&#xff09;\u3002<\/p>\n<p><span class=\"token class-name\">File<\/span> file <span class=\"token operator\">&#061;<\/span> <span class=\"token keyword\">new<\/span> <span class=\"token class-name\">File<\/span><span class=\"token punctuation\">(<\/span><span class=\"token function\">getFilesDir<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;config.json&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>\u67e5\u770b APP \u5185\u90e8\u5b58\u50a8<\/p>\n<p>adb shell run-as com.example.app <span class=\"token function\">ls<\/span> -l \/data\/data\/com.example.app\/files\/<\/p>\n<hr \/>\n<h4>2. \u5916\u90e8\u5b58\u50a8&#xff08;External Storage&#xff09;<\/h4>\n<p>\u53ef\u88ab\u5176\u4ed6 APP \u8bbf\u95ee&#xff08;\u9700\u8981\u6743\u9650 WRITE_EXTERNAL_STORAGE&#xff09;\u3002<\/p>\n<p><span class=\"token class-name\">File<\/span> file <span class=\"token operator\">&#061;<\/span> <span class=\"token keyword\">new<\/span> <span class=\"token class-name\">File<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">Environment<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">getExternalStorageDirectory<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;myfile.txt&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>\u67e5\u770b\u5916\u90e8\u5b58\u50a8\u6587\u4ef6<\/p>\n<p>adb shell <span class=\"token function\">ls<\/span> -l \/sdcard\/Android\/data\/com.example.app\/<\/p>\n<hr \/>\n<h4>3. SharedPreferences&#xff08;\u8f7b\u91cf\u7ea7\u5b58\u50a8&#xff09;<\/h4>\n<p>\u5b58\u50a8\u7b80\u5355\u7684\u952e\u503c\u5bf9\u6570\u636e&#xff08;XML \u683c\u5f0f&#xff09;\u3002<\/p>\n<p><span class=\"token class-name\">SharedPreferences<\/span> prefs <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">getSharedPreferences<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;settings&#034;<\/span><span class=\"token punctuation\">,<\/span> MODE_PRIVATE<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\nprefs<span class=\"token punctuation\">.<\/span><span class=\"token function\">edit<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">putString<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;username&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;admin&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">apply<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>\u67e5\u770b SharedPreferences<\/p>\n<p>adb shell <span class=\"token function\">cat<\/span> \/data\/data\/com.example.app\/shared_prefs\/settings.xml<\/p>\n<hr \/>\n<h4>4. SQLite \u6570\u636e\u5e93<\/h4>\n<p>\u5b58\u50a8\u7ed3\u6784\u5316\u6570\u636e<\/p>\n<p><span class=\"token class-name\">SQLiteDatabase<\/span> db <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">openOrCreateDatabase<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;user.db&#034;<\/span><span class=\"token punctuation\">,<\/span> MODE_PRIVATE<span class=\"token punctuation\">,<\/span> <span class=\"token keyword\">null<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\ndb<span class=\"token punctuation\">.<\/span><span class=\"token function\">execSQL<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;CREATE TABLE IF NOT EXISTS users (id INTEGER PRIMARY KEY, name TEXT)&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>Dump SQLite \u6570\u636e\u5e93<\/p>\n<p>adb shell <span class=\"token string\">&#034;sqlite3 \/data\/data\/com.example.app\/databases\/user.db &#039;SELECT * FROM users;&#039;&#034;<\/span><\/p>\n<hr \/>\n<hr \/>\n<h3>\u56db\u3001\u9006\u5411\u91cc\u548b\u770b APP \u76ee\u5f55&#xff1f;<\/h3>\n<h4>1. \u63d0\u53d6 APK \u8d44\u6e90<\/h4>\n<p>adb pull \/data\/app\/com.example.app\/base.apk <span class=\"token builtin class-name\">.<\/span><br \/>\napktool d base.apk -o output\/<\/p>\n<p>\u4fee\u6539 AndroidManifest.xml \u4ee5\u67e5\u770b\u6587\u4ef6\u5b58\u50a8\u6743\u9650<\/p>\n<p><span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>uses-permission<\/span> <span class=\"token attr-name\"><span class=\"token namespace\">android:<\/span>name<\/span><span class=\"token attr-value\"><span class=\"token punctuation attr-equals\">&#061;<\/span><span class=\"token punctuation\">&#034;<\/span>android.permission.READ_EXTERNAL_STORAGE<span class=\"token punctuation\">&#034;<\/span><\/span><span class=\"token punctuation\">\/&gt;<\/span><\/span><br \/>\n<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>uses-permission<\/span> <span class=\"token attr-name\"><span class=\"token namespace\">android:<\/span>name<\/span><span class=\"token attr-value\"><span class=\"token punctuation attr-equals\">&#061;<\/span><span class=\"token punctuation\">&#034;<\/span>android.permission.WRITE_EXTERNAL_STORAGE<span class=\"token punctuation\">&#034;<\/span><\/span><span class=\"token punctuation\">\/&gt;<\/span><\/span><\/p>\n<p>\u91cd\u65b0\u6253\u5305&#xff1a;<\/p>\n<p>apktool b output -o modded.apk<br \/>\njarsigner -verbose -keystore my.keystore modded.apk alias_name<br \/>\nadb <span class=\"token function\">install<\/span> modded.apk<\/p>\n<hr \/>\n<h4>2. \u83b7\u53d6\u6570\u636e\u5e93\u6570\u636e<\/h4>\n<p>Dump SQLite \u6570\u636e\u5e93<\/p>\n<p>adb shell <span class=\"token string\">&#034;sqlite3 \/data\/data\/com.example.app\/databases\/user.db .dump&#034;<\/span><\/p>\n<p>\u590d\u5236\u6570\u636e\u5e93\u5230\u672c\u5730<\/p>\n<p>adb pull \/data\/data\/com.example.app\/databases\/user.db <span class=\"token builtin class-name\">.<\/span><br \/>\nsqlite3 user.db<\/p>\n<hr \/>\n<h4>3. Hook SharedPreferences<\/h4>\n<p>\u4f7f\u7528 Frida Hook \u8bfb\u53d6 SharedPreferences<\/p>\n<p>Java<span class=\"token punctuation\">.<\/span><span class=\"token function\">perform<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">function<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">var<\/span> SharedPreferences <span class=\"token operator\">&#061;<\/span> Java<span class=\"token punctuation\">.<\/span><span class=\"token function\">use<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;android.app.SharedPreferencesImpl&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    SharedPreferences<span class=\"token punctuation\">.<\/span>getString<span class=\"token punctuation\">.<\/span><span class=\"token function-variable function\">implementation<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token keyword\">function<\/span><span class=\"token punctuation\">(<\/span><span class=\"token parameter\">key<span class=\"token punctuation\">,<\/span> defValue<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        console<span class=\"token punctuation\">.<\/span><span class=\"token function\">log<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;Hooked SharedPreferences: &#034;<\/span> <span class=\"token operator\">&#043;<\/span> key<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> <span class=\"token keyword\">this<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">getString<\/span><span class=\"token punctuation\">(<\/span>key<span class=\"token punctuation\">,<\/span> defValue<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>\u6267\u884c&#xff1a;<\/p>\n<p>frida -U -n com.example.app -e <span class=\"token string\">&#034;&#8230;&#034;<\/span><\/p>\n<hr \/>\n<h4>4. \u62e6\u622a\u6587\u4ef6\u5b58\u53d6<\/h4>\n<p>\u4f7f\u7528 Xposed Hook open \u8bfb\u53d6 config.json<\/p>\n<p><span class=\"token function\">findAndHookMethod<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;java.io.FileInputStream&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;open&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token class-name\">String<\/span><span class=\"token punctuation\">.<\/span><span class=\"token keyword\">class<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token keyword\">new<\/span> <span class=\"token class-name\">XC_MethodHook<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token annotation punctuation\">&#064;Override<\/span><br \/>\n    <span class=\"token keyword\">protected<\/span> <span class=\"token keyword\">void<\/span> <span class=\"token function\">beforeHookedMethod<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">MethodHookParam<\/span> param<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token class-name\">Log<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">d<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;Xposed&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;File opened: &#034;<\/span> <span class=\"token operator\">&#043;<\/span> param<span class=\"token punctuation\">.<\/span>args<span class=\"token punctuation\">[<\/span><span class=\"token number\">0<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<hr \/>\n<hr \/>\n<h3>\u52a8\u624b\u7ec3\u4e00\u7ec3<\/h3>\n<li>\u67e5\u8be2\u67d0\u5e94\u7528\u7684\u5b58\u50a8\u8def\u5f84<\/li>\n<p>adb shell <span class=\"token function\">ls<\/span> -l \/data\/data\/com.example.app\/<\/p>\n<li>\u63d0\u53d6 SQLite \u6570\u636e<\/li>\n<p>adb pull \/data\/data\/com.example.app\/databases\/user.db <span class=\"token builtin class-name\">.<\/span><br \/>\nsqlite3 user.db<\/p>\n<li>\u4fee\u6539 SharedPreferences<\/li>\n<p>adb shell <span class=\"token function\">cat<\/span> \/data\/data\/com.example.app\/shared_prefs\/settings.xml<br \/>\nadb shell <span class=\"token string\">&#034;echo &#039;&lt;string name&#061;<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>is_premium<span class=\"token entity\" title=\"\\\\&#034;\">\\\\&#034;<\/span>&gt;true&lt;\/string&gt;&#039; &gt;&gt; \/data\/data\/com.example.app\/shared_prefs\/settings.xml&#034;<\/span><\/p>\n<li>Hook \u6587\u4ef6\u8bbf\u95ee<\/li>\n<p>Java<span class=\"token punctuation\">.<\/span><span class=\"token function\">perform<\/span><span class=\"token punctuation\">(<\/span><span class=\"token keyword\">function<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">var<\/span> File <span class=\"token operator\">&#061;<\/span> Java<span class=\"token punctuation\">.<\/span><span class=\"token function\">use<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;java.io.File&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    File<span class=\"token punctuation\">.<\/span>getAbsolutePath<span class=\"token punctuation\">.<\/span><span class=\"token function-variable function\">implementation<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token keyword\">function<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        console<span class=\"token punctuation\">.<\/span><span class=\"token function\">log<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;File Accessed: &#034;<\/span> <span class=\"token operator\">&#043;<\/span> <span class=\"token keyword\">this<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">getAbsolutePath<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> <span class=\"token keyword\">this<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">getAbsolutePath<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<hr \/>\n<h3>\u672c\u8282\u5c0f\u7ed3<\/h3>\n<p>\u4f60\u53ea\u8981\u8bb0\u4f4f\u8fd9\u51e0\u6761\u5c31\u884c&#xff1a;APP \u6570\u636e\u5728 \/data\/data\/\u5305\u540d\/ \u4e0b&#xff0c;\u6709 cache\u3001databases\u3001shared_prefs\u3001files\u3001lib \u7b49&#xff1b;SharedPreferences \u662f XML&#xff0c;SQLite \u5728 databases&#xff1b;\u9700 Root \u6216 run-as \u624d\u80fd\u8bfb&#xff1b;\u9006\u5411\u53ef pull \u6570\u636e\u5e93\u3001\u6539 shared_prefs\u3001Hook \u8bfb\u5199\u3002<\/p>\n<hr \/>\n<h3>\u672c\u8282\u601d\u8003\u4e0e\u7ec3\u4e60<\/h3>\n<li>\u6982\u5ff5&#xff1a;\u5185\u90e8\u5b58\u50a8\u548c\u5916\u90e8\u5b58\u50a8\u6709\u5565\u533a\u522b&#xff1f;shared_prefs \u548c databases \u5404\u5b58\u5565&#xff1f;<\/li>\n<li>\u52a8\u624b&#xff1a;\u7528 adb shell run-as \u5305\u540d ls \u6216 Root \u4e0b ls \u770b\u67d0 APP \u7684\u76ee\u5f55\u3002<\/li>\n<li>\u52a8\u624b&#xff1a;pull \u67d0 APP \u7684 shared_prefs \u6216 databases&#xff0c;\u7528 sqlite3 \u67e5\u8868\u3002<\/li>\n<li>\u52a8\u624b&#xff1a;\u7528 Frida Hook SharedPreferences \u7684 get&#xff0c;\u6253\u5370 key\u3002<\/li>\n<p>\u4e0b\u4e00\u8282\u9884\u544a&#xff1a;\u4e0b\u4e00\u8282\u8bb2 APK \u662f\u5982\u4f55\u52a0\u8f7d\u7684&#xff08;\u7b2c\u5341\u56db\u8282&#xff09;&#xff0c;\u628a DEX \u52a0\u8f7d\u3001OAT\u3001ClassLoader \u8bb2\u6e05\u695a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7b2c\u5341\u4e09\u8282 Android APP \u76ee\u5f55\u7ed3\u6784<br \/>\n&#xff08;\u7b2c1\u7ae0 \u5b89\u5353\u9006\u5411\u6982\u8bba&#xff09;<br \/>\n\u5b66\u4e60\u76ee\u6807<br \/>\n\u5b66\u5b8c\u672c\u8282&#xff0c;\u5e0c\u671b\u4f60\u80fd\u591f&#xff1a;\u641e\u6e05 APP \u76ee\u5f55\u7ed3\u6784&#xff0c;\u5c24\u5176\u662f \/data\/data\/\u5305\u540d \u4e0b\u90fd\u6709\u5565&#xff1b;\u4f1a SharedPreferences\u3001SQLite\u3001\u5185\u90e8\/\u5916\u90e8\u5b58\u50a8&#xff1b;\u77e5\u9053 APK \u5b89\u88c5\u540e\u6587\u4ef6\u548b\u5206\u5e03&#xff0c;\u80fd\u5907\u4efd\u3001\u8fc1\u79fb\u3001\u9006\u5411&#xff1b;\u4f1a\u63d0\u53d6 APP \u6570\u636e\u505a\u9006\u5411\u548c\u8c03\u8bd5\u3002\u4e00\u3001APP \u5b89\u88c5\u540e\u76ee\u5f55\u957f\u5565<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7365,7364],"topic":[],"class_list":["post-70123","post","type-post","status-publish","format-standard","hentry","category-server","tag-7365","tag-7364"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u7b2c\u5341\u4e09\u8282_Android_APP_\u76ee\u5f55\u7ed3\u6784 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/70123.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u7b2c\u5341\u4e09\u8282_Android_APP_\u76ee\u5f55\u7ed3\u6784 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u7b2c\u5341\u4e09\u8282 Android APP \u76ee\u5f55\u7ed3\u6784 &#xff08;\u7b2c1\u7ae0 \u5b89\u5353\u9006\u5411\u6982\u8bba&#xff09; \u5b66\u4e60\u76ee\u6807 \u5b66\u5b8c\u672c\u8282&#xff0c;\u5e0c\u671b\u4f60\u80fd\u591f&#xff1a;\u641e\u6e05 APP \u76ee\u5f55\u7ed3\u6784&#xff0c;\u5c24\u5176\u662f \/data\/data\/\u5305\u540d \u4e0b\u90fd\u6709\u5565&#xff1b;\u4f1a SharedPreferences\u3001SQLite\u3001\u5185\u90e8\/\u5916\u90e8\u5b58\u50a8&#xff1b;\u77e5\u9053 APK \u5b89\u88c5\u540e\u6587\u4ef6\u548b\u5206\u5e03&#xff0c;\u80fd\u5907\u4efd\u3001\u8fc1\u79fb\u3001\u9006\u5411&#xff1b;\u4f1a\u63d0\u53d6 APP \u6570\u636e\u505a\u9006\u5411\u548c\u8c03\u8bd5\u3002\u4e00\u3001APP \u5b89\u88c5\u540e\u76ee\u5f55\u957f\u5565\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/70123.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-01T07:35:36+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/70123.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/70123.html\",\"name\":\"\u7b2c\u5341\u4e09\u8282_Android_APP_\u76ee\u5f55\u7ed3\u6784 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-01T07:35:36+00:00\",\"dateModified\":\"2026-02-01T07:35:36+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/70123.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/70123.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/70123.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u7b2c\u5341\u4e09\u8282_Android_APP_\u76ee\u5f55\u7ed3\u6784\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u7b2c\u5341\u4e09\u8282_Android_APP_\u76ee\u5f55\u7ed3\u6784 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/70123.html","og_locale":"zh_CN","og_type":"article","og_title":"\u7b2c\u5341\u4e09\u8282_Android_APP_\u76ee\u5f55\u7ed3\u6784 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u7b2c\u5341\u4e09\u8282 Android APP \u76ee\u5f55\u7ed3\u6784 &#xff08;\u7b2c1\u7ae0 \u5b89\u5353\u9006\u5411\u6982\u8bba&#xff09; \u5b66\u4e60\u76ee\u6807 \u5b66\u5b8c\u672c\u8282&#xff0c;\u5e0c\u671b\u4f60\u80fd\u591f&#xff1a;\u641e\u6e05 APP \u76ee\u5f55\u7ed3\u6784&#xff0c;\u5c24\u5176\u662f \/data\/data\/\u5305\u540d \u4e0b\u90fd\u6709\u5565&#xff1b;\u4f1a SharedPreferences\u3001SQLite\u3001\u5185\u90e8\/\u5916\u90e8\u5b58\u50a8&#xff1b;\u77e5\u9053 APK \u5b89\u88c5\u540e\u6587\u4ef6\u548b\u5206\u5e03&#xff0c;\u80fd\u5907\u4efd\u3001\u8fc1\u79fb\u3001\u9006\u5411&#xff1b;\u4f1a\u63d0\u53d6 APP \u6570\u636e\u505a\u9006\u5411\u548c\u8c03\u8bd5\u3002\u4e00\u3001APP \u5b89\u88c5\u540e\u76ee\u5f55\u957f\u5565","og_url":"https:\/\/www.wsisp.com\/helps\/70123.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-01T07:35:36+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/70123.html","url":"https:\/\/www.wsisp.com\/helps\/70123.html","name":"\u7b2c\u5341\u4e09\u8282_Android_APP_\u76ee\u5f55\u7ed3\u6784 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-01T07:35:36+00:00","dateModified":"2026-02-01T07:35:36+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/70123.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/70123.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/70123.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u7b2c\u5341\u4e09\u8282_Android_APP_\u76ee\u5f55\u7ed3\u6784"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/70123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=70123"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/70123\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=70123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=70123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=70123"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=70123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}