{"id":4690,"date":"2021-09-03T10:56:16","date_gmt":"2021-09-03T02:56:16","guid":{"rendered":"http:\/\/122.152.205.50\/wordpress\/?p=4690"},"modified":"2021-09-03T10:56:16","modified_gmt":"2021-09-03T02:56:16","slug":"fupk3","status":"publish","type":"post","link":"http:\/\/xinyiworld.top\/wordpress_it\/?p=4690","title":{"rendered":"FUPK3"},"content":{"rendered":"<p>\u5b9e\u9a8c\u5bf9\u8c61\uff1a\u51c6\u9898\u5e93APP\u3002<br \/>\n\u6309\u7167<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/github.com\/F8LEFT\/FUPK3\">https:\/\/github.com\/F8LEFT\/FUPK3<\/a><br \/>\n\u91cc\u7684\u8bf4\u660e<\/p>\n<h1>1.\u641e\u51fa\u58f3\u5185\u771f\u6b63\u7684dex\u6587\u4ef6<\/h1>\n<p>1.\u6539\u6e90\u7801\uff0c\u5237\u7cfb\u7edf\u3002 (\u53ea\u9650\u5236Nexus5 hammerhead\u624b\u673a\uff0c4.4\u6e90\u7801\u3002)<br \/>\n2.\u7f16\u8bd1Fupk3.apk\uff08\u4f5c\u8005\u7684\u8fd9\u4e2a\u5de5\u5177\u6709\u70b9\u540a\uff0c\u4f46\u662f\u5e03\u5c40\u529f\u5e95\u6709\u70b9\u5dee\u52b2\uff1a\u8fd9\u4e2aAPK\u7684dump\u65f6\u663e\u793a\u7684\u4fe1\u606f\u5982\u679c\u8fc7\u957f\uff0c\u4f1a\u663e\u793a\u4e0d\u6e05\u695a\uff0c\u53d1\u73b0\u4f5c\u8005\u7528\u7684\u662f\u8868\u683c\u5e03\u5c40\u3002\u7acb\u9a6c\u7ed9\u4ed6\u6539\u6210ListView\u663e\u793a\uff09<br \/>\n3.\u7f16\u8bd1FUnpackServer\u4f1a\u751f\u6210\u4e00\u4e2ajar\u5305\uff0c\u8fd9\u4e2a\u5305\u662f\u7528\u6765\u4fee\u590ddump\u540e\u7684dex\u6587\u4ef6\u7684\u3002<\/p>\n<h1>2.\u91cd\u65b0\u6253\u5305apk<\/h1>\n<p>\u53c2\u7167<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.52pojie.cn\/thread-632562-1-1.html\">https:\/\/www.52pojie.cn\/thread-632562-1-1.html<\/a>\u8fd9\u4e2a\uff0c\u91cd\u65b0\u6253\u5305apk\u3002<br \/>\n- \u5feb\u901f\u627e\u5230\u539f\u5e94\u7528\u771f\u6b63\u7684application\u7c7b<br \/>\n\u5148\u4e0d\u8981\u4fee\u6b63application\u7684name\uff0c\u8ba9\u5b83\u62a5\u9519\uff0c\u65e5\u5fd7\u91cc\u5c31\u80fd\u5206\u6790\u51fa\u6765\u3002<br \/>\n\u6216\u8005\u641c\u7d22\u5173\u952e\u5b57<br \/>\n```.super Landroid\/support\/multidex\/MultiDexApplication```\u6216\u8005```.super Landroid\/app\/Application```<\/p>\n<ul>\n<li>\u53bb\u9664\u67d0\u6570\u5b57\u7684\u4e1c\u897f<br \/>\n1.\u6e05\u5355\u6587\u4ef6\u91cc<br \/>\n2.\u4e00\u822cSplashActivity\u4f1a\u6709\u4e2amark()\u65b9\u6cd5\uff0c\u6ce8\u91ca\u6389\u3002<\/li>\n<\/ul>\n<h1>3.\u8fd0\u884c\u91cd\u65b0\u6253\u5305\u7b7e\u540d\u540eapk<\/h1>\n<p>\u9664\u4e86<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.52pojie.cn\/thread-632562-1-1.html\">https:\/\/www.52pojie.cn\/thread-632562-1-1.html<\/a>\u6587\u7ae0\u91cc\u63d0\u5230\u7684\u51e0\u5904\u8981\u4fee\u6539\u7684\u67d0\u6570\u5b57\u7684\u4e1c\u897f\u5916\uff0c\u53ef\u80fd\u4e0d\u540c\u7684\u5e94\u7528\u8fd8\u5f97\u6709\u5730\u65b9\u8981\u4fee\u6539\uff0c\u89c6\u60c5\u51b5\u800c\u5b9a\u3002\u6bd4\u5982\u6211\u7684BaseApplication.smali\uff1a<\/p>\n<pre><code class=\"language-smali line-numbers\"> #.line 37\n    #invoke-virtual {p0}, Lapp\/wangxiao\/cn\/base\/BaseApplication;-&gt;getApplicationContext()Landroid\/content\/Context;\n\n    #move-result-object v0\n\n    #invoke-static\/range {v0 .. v0}, Lcom\/stub\/StubApp;-&gt;getOrigApplicationContext(Landroid\/content\/Context;)Landroid\/content\/Context;\n\n    #move-result-object v0\n\n    #sput-object v0, Lapp\/wangxiao\/cn\/base\/BaseApplication;-&gt;c:Landroid\/content\/Context;\n<\/code><\/pre>\n<p>\u8fd9\u51e0\u884c\u7684\u610f\u601d\u662f\u628acom.stub.StubApp\u7684application\u5b58\u5230\u4e00\u4e2a\u53d8\u91cf\uff0c\u4f46\u662f\u73b0\u5728\u8fd9\u4e2a\u7c7b\u6211\u80af\u5b9a\u8981\u8ba9\u5b83\u6d88\u5931\uff0c\u4f46\u662f\u8fd9\u4e2a\u53d8\u91cf\u8fd8\u662f\u8981\u8d4b\u503c\uff0c\u540e\u9762\u4f1a\u7528\u5230\u3002\u4e8e\u662f\u6211\u6539\u6210\uff1a<\/p>\n<pre><code class=\"language-smali line-numbers\">    sput-object p0, Lapp\/wangxiao\/cn\/base\/BaseApplication;-&gt;c:Landroid\/content\/Context;\n<\/code><\/pre>\n<p>\u76f4\u63a5\u628athis\u8d4b\u503c\u7ed9\u8fd9\u4e2a\u53d8\u91cf\u3002<br \/>\n<strong>\u8fd0\u884c\u65f6\uff0c\u62a5\u5404\u79cd\u9519\u8bef\uff0c \u4e0d\u540c\u624b\u673a\u73af\u5883\u62a5\u9519\u8fd8\u4e0d\u4e00\u6837 \u3002<\/strong><br \/>\n- 4.4 nexus\u624b\u673a<\/p>\n<p>```java.lang.RuntimeException: Unable to instantiate application cn.wangxiao.application.SysApplication: java.lang.ClassNotFoundException: Didn't find class \"cn.wangxiao.application.SysApplication\" on path: DexPathList[[zip file \"\/data\/app\/cn.wangxiao.zhuntiku-1.apk\"],nativeLibraryDirectories=[\/data\/app-lib\/cn.wangxiao.zhuntiku-1, \/vendor\/lib, \/system\/lib]]```<br \/>\n\u56e0\u4e3a\u6211\u8fd9\u4e2a\u9879\u76ee\u6709Tinker\uff0c\u4e3a\u4e86\u6392\u9664\u5b83\u7684\u5f71\u54cd\uff0c\u81ea\u5df1\u641e\u4e2a\u7b80\u5355\u7684app\uff0c\u4e5f\u662f\u62a5\u6700\u5148\u52a0\u8f7d\u7684\u7c7b\u627e\u4e0d\u5230\u3002<br \/>\n- 9.0 vivo iqoo\u624b\u673a<br \/>\n```java.lang.VerifyError: Verifier rejected class com.scwang.smartrefresh.layout.SmartRefreshLayout: void com.scwang.smartrefresh.layout.SmartRefreshLayout.<init>(android.content.Context, android.util.AttributeSet, int, int) failed to verify: void com.scwang.smartrefresh.layout.SmartRefreshLayout.<init>(android.content.Context, android.util.AttributeSet, int, int): [0x6E] 'this' arg must be initialized (declaration of 'com.scwang.smartrefresh.layout.SmartRefreshLayout' appears in base.apk)```<br \/>\n\u7f51\u4e0a\u627e\u5230\u4e00\u4e9b\u529e\u6cd5\uff0c\u4f46\u662f\u90fd\u6ca1\u6709\u89e3\u51b3\u95ee\u9898\uff1a<br \/>\n1.\u9996\u5148\u542f\u52a8\u7684\u7c7b\u6ca1\u6709\u653e\u5230\u4e3bdex<br \/>\n[https:\/\/blog.csdn.net\/daitu_liang\/article\/details\/72987378](https:\/\/blog.csdn.net\/daitu_liang\/article\/details\/72987378)<br \/>\n\u6211\u5c1d\u8bd5\u5c06application\u76f8\u5173\u7684\u7c7b\u632a\u5230smali\u6587\u4ef6\u5939\u4e0b\uff0c\u6ca1\u6709\u89e3\u51b3\u95ee\u9898\u3002<br \/>\n2.\u53cd\u7f16\u8bd1\u548c\u9006\u5411\u51fa\u73b0:java.lang.VerifyError(\u65b0\u95ee\u9898\u6837\u672c)<br \/>\n[https:\/\/blog.csdn.net\/u011728480\/article\/details\/78874137](https:\/\/blog.csdn.net\/u011728480\/article\/details\/78874137)<br \/>\n\u6211\u53d1\u73b0\u6211\u7684BaseApplication.smali\u786e\u5b9e\u786e\u5b9e.locals\u53ef\u58f0\u660e\u4e86\u4e00\u4e2a\uff0c\u660e\u660e\u6700\u5927\u662fv2\uff0c.locals\u5374\u662f4,<br \/>\n\u82e5\u6539\u62103\u7684\u8bdd\uff0c9.0\u624b\u673a\u53c8\u4f1a\u51fa\u73b0\u522b\u7684\u95ee\u9898\u3002<br \/>\n3.multidex\u8bba<br \/>\n[https:\/\/blog.csdn.net\/heqiangflytosky\/article\/details\/50974317](https:\/\/blog.csdn.net\/heqiangflytosky\/article\/details\/50974317)<\/p>\n<p>\u6c42\u8def\u8fc7\u7684\u5927\u4f6c\uff0c\u53ef\u4ee5\u6307\u70b9\u4e00\u4e0b\u5982\u4f55\u89e3\u51b3\u4e0a\u9762\u7684\u95ee\u9898\u5462\uff1f\uff08<strong>\u5982\u4f55\u5c06\u8131\u58f3\u7684\u540e\u7684dex\u91cd\u6253\u5305\uff0c\u80fd\u6b63\u5e38\u8fd0\u884c\uff1f<\/strong>\uff09<\/p>\n<p>\u540e\u6765\u542c\u884c\u4e1a\u4eba\u58eb\u8bf4\uff0cdalvik\u4e0b\u6839\u672c\u65e0\u6cd5\u7834\u89e3vmp\u4fdd\u62a4\u7684apk\u3002\u6211\u4e4b\u524d\u51fa\u4e8e\u61d2\u60f0\uff0c\u90fd\u662f\u57fa\u4e8e4.4\u7684dalvik\u6e90\u7801\u3002\u51c6\u5907\u7528art\u6e90\u7801\u641e\u641e\u770b\u3002<\/p>\n<hr \/>\n<p>\u5982\u6709\u7591\u60d1\u6216\u8005\u597d\u7684\u5efa\u8bae\uff0c\u6216\u8005\u60f3\u7ea0\u6b63\u4f5c\u8005\u7684\u535a\u6587\uff0c\u8bf7\u8054\u7cfb\u5982\u4e0b<br \/>\n\u516c\u4f17\u53f7\uff1a\u5fae\u4fe1\u516c\u4f17\u53f7\u641c\u7d22\u201c\u4fee\u7b26\u9053\u4eba\u201d\u6216\u8005\u626b\u63cf\u4e0b\u65b9\u4e8c\u7ef4\u7801<br \/>\n<img src=\"https:\/\/upload-images.jianshu.io\/upload_images\/18328858-59371629ef391585.jpg?imageMogr2\/auto-orient\/strip%7CimageView2\/2\/w\/1240\" alt=\"qrcode_for_gh_97ef1213cc5b_258.jpg\" \/><\/p>\n<p>\u5fae\u4fe1\u53f7\uff1aXinYi1349308479<br \/>\nQQ\u90ae\u7bb1\uff1a1349308479@qq.com<\/p>\n<button class=\"simplefavorite-button\" data-postid=\"4690\" data-siteid=\"1\" data-groupid=\"1\" data-favoritecount=\"0\" style=\"\">\u6536\u85cf <i class=\"sf-icon-star-empty\"><\/i><\/button>","protected":false},"excerpt":{"rendered":"<p>\u5b9e\u9a8c\u5bf9\u8c61\uff1a\u51c6\u9898\u5e93APP\u3002 \u6309\u7167https:\/\/github.com\/F8LEFT\/FUPK3 \u91cc\u7684\u8bf4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[224],"tags":[],"_links":{"self":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/4690"}],"collection":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4690"}],"version-history":[{"count":1,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/4690\/revisions"}],"predecessor-version":[{"id":4691,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/4690\/revisions\/4691"}],"wp:attachment":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4690"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}