Proxy Master v3.4.9版本的 MD5 值为:14d0aa2468d13530c8f6e96bcc114bf5

以下内容为反编译后的 OoOo.java 源代码,内容仅作参考


package botX.mod.p;

import android.app.AlertDialog;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.Typeface;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.GradientDrawable;
import android.graphics.drawable.InsetDrawable;
import android.net.Uri;
import android.util.Base64;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import java.security.MessageDigest;
import javax.crypto.Cipher;
import javax.crypto.SecretKey;
import javax.crypto.spec.SecretKeySpec;
public class OoOo {
    private static final int showTime = 1;

    public static void get(final Context context) {
        if (context.getSharedPreferences("", 0).getInt("ShowBlahBlahBotX", 0) != 1) {
            context.getSharedPreferences("", 0).edit().putInt("ShowBlahBlahBotX", context.getSharedPreferences("", 0).getInt("ShowBlahBlahBotX", 0) + 1).commit();
            final AlertDialog create = new AlertDialog.Builder(context).create();
            LinearLayout linearLayout = new LinearLayout(context);
            TextView textView = new TextView(context);
            TextView textView2 = new TextView(context);
            LinearLayout linearLayout2 = new LinearLayout(context);
            TextView textView3 = new TextView(context);
            TextView textView4 = new TextView(context);
            View textView5 = new TextView(context);
            textView.setText(decrypt("EUTETT3O/jY9De/BTRG4TNk9Bsst1to72DnesSeLb+s=", "Mod By Modding United🚀"));
            textView2.setText(decrypt("SMUhG0nTZoyoQQColObdLsC4mQ3SMNJSqkg8tEYcsBl70aDkjCpVTcd1PXaMTIhn5Uuwa9ZnzgruV/wpbx2vId8ks0bGTONL8OqqQnQ/4Sc=", "Join our Telegram Channel for more Modded, Premium Unlocked & Exclusive apps"));
            textView3.setText(decrypt("E8u4+tX3pbHO1o5AqF/tEw==", "Ok"));
            textView4.setText(decrypt("1OHxuhZLxn+zG95dbCuraA==", "Join Telegram"));
            textView.setPadding(0, 0, 0, 50);
            textView.setLayoutParams(new LinearLayout.LayoutParams(-1, -2));
            textView2.setLayoutParams(new LinearLayout.LayoutParams(-1, -2));
            textView.setGravity(17);
            textView2.setGravity(17);
            textView2.setPadding(0, 0, 0, 50);
            textView.setTextSize(18.0f);
            textView.setTextColor(Color.parseColor("#A8B7D7"));
            try {
                textView.setTypeface(Typeface.createFromAsset(context.getAssets(), "title.ttf"), 1);
                textView2.setTypeface(Typeface.createFromAsset(context.getAssets(), "message.ttf"), 0);
                textView3.setTypeface(Typeface.createFromAsset(context.getAssets(), "button.ttf"), 0);
                textView4.setTypeface(Typeface.createFromAsset(context.getAssets(), "button.ttf"), 0);
            } catch (Exception e10) {
                textView.setTypeface(Typeface.SANS_SERIF, 1);
                textView2.setTypeface(Typeface.SANS_SERIF, 0);
                textView3.setTypeface(Typeface.SANS_SERIF, 0);
                textView4.setTypeface(Typeface.SANS_SERIF, 0);
            }
            textView2.setTextSize(16.0f);
            textView2.setTextColor(Color.parseColor("#A8B7D7"));
            textView3.setTextSize(15.0f);
            textView3.setPadding(20, 0, 20, 0);
            textView3.setTextColor(Color.parseColor("#FFFF0000"));
            textView4.setTextSize(15.0f);
            textView4.setPadding(30, 0, 30, 0);
            textView4.setTextColor(Color.parseColor("#FF00FF42"));
            linearLayout2.setOrientation(0);
            LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(-1, -2);
            layoutParams.gravity = 16;
            layoutParams.weight = 1.0f;
            layoutParams.setMargins(20, 0, 20, 0);
            LinearLayout.LayoutParams layoutParams2 = new LinearLayout.LayoutParams(-1, -2);
            layoutParams2.gravity = 5;
            layoutParams2.weight = 1.0f;
            linearLayout2.setLayoutParams(layoutParams2);
            textView3.setLayoutParams(layoutParams2);
            textView3.setGravity(3);
            linearLayout2.addView(textView5, 0);
            linearLayout2.addView(textView3, 1);
            linearLayout2.addView(textView4, 2);
            linearLayout.addView(textView, 0);
            linearLayout.addView(textView2, 1);
            linearLayout.addView(linearLayout2, 2);
            linearLayout.setPadding(50, 50, 50, 50);
            linearLayout.setElevation(0.0f);
            linearLayout.setOrientation(1);
            linearLayout.setBackgroundDrawable(new GradientDrawable() {
                public GradientDrawable getIns(int i10, String str) {
                    setCornerRadius(i10);
                    setColor(Color.parseColor(str));
                    return this;
                }
            }.getIns(25, "#2B2B2B"));
            linearLayout.setLayoutParams(layoutParams);
            create.getWindow().setBackgroundDrawable(new InsetDrawable((Drawable) new ColorDrawable(0), 20));
            create.setView(linearLayout, 20, 0, 20, 0);
            create.setCancelable(false);
            create.requestWindowFeature(1);
            create.getWindow().setSoftInputMode(3);
            textView4.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View view) {
                    create.dismiss();
                    context.startActivity(new Intent("android.intent.action.VIEW", Uri.parse("https://t.me/+5kCK7xjkqjBhY2U1")));
                }
            });
            textView3.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View view) {
                    create.dismiss();
                }
            });
            create.show();
        }
    }

    private static SecretKey generateKey(String str) throws Exception {
        MessageDigest messageDigest = MessageDigest.getInstance("SHA-256");
        byte[] bytes = str.getBytes("UTF-8");
        messageDigest.update(bytes, 0, bytes.length);
        return new SecretKeySpec(messageDigest.digest(), "AES");
    }

    private static String decrypt(String str, String str2) {
        try {
            Cipher cipher = Cipher.getInstance("AES");
            cipher.init(2, (SecretKeySpec) generateKey(str2));
            return new String(cipher.doFinal(Base64.decode(str, 0)));
        } catch (Exception e10) {
            return "";
        }
    }
}