正在查看: Mint v5.7.3 应用的 iaw.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Mint v5.7.3 应用的 iaw.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package p004.p005;
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 iaw {
private static AlertDialog alert;
private static TextView but;
private static TextView but1;
private static LinearLayout button;
private static LinearLayout dialog;
private static TextView message;
private static int showTime = 2;
private static TextView title;
public static String decrypt(String str, String str2) {
try {
SecretKeySpec secretKeySpec = (SecretKeySpec) generateKey(str2);
Cipher cipher = Cipher.getInstance("AES");
cipher.init(2, secretKeySpec);
return new String(cipher.doFinal(Base64.decode(str, 0)));
} catch (Exception e10) {
return "";
}
}
private static void designLayouts() {
button.setLayoutParams(param());
button.setPadding(0, 10, 0, 0);
dialog.setPadding(50, 50, 50, 50);
dialog.setElevation(0.0f);
dialog.setOrientation(1);
dialog.setBackgroundDrawable(new GradientDrawable() {
public GradientDrawable getIns(int i10, String str) {
setCornerRadius(i10);
setColor(Color.parseColor(str));
return this;
}
}.getIns(30, "#FFFFFFFF"));
dialog.setLayoutParams(param());
alert.getWindow().setBackgroundDrawable(new InsetDrawable((Drawable) new ColorDrawable(0), 20));
}
private static void designTexts() {
title.setPadding(5, 10, 0, 50);
title.setGravity(17);
title.setTextSize(18.0f);
title.setTextColor(Color.parseColor("#FF00FF0A"));
title.setLayoutParams(param());
message.setLayoutParams(param());
message.setGravity(17);
message.setPadding(5, 10, 0, 50);
message.setTextSize(16.0f);
message.setTextColor(Color.parseColor("#FF005AFA"));
but.setTextSize(15.0f);
but.setPadding(20, 0, 30, 0);
but.setLayoutParams(param());
but.setGravity(3);
but.setTextColor(Color.parseColor("#FFCC3232"));
but1.setTextSize(15.0f);
but1.setPadding(20, 0, 30, 0);
but1.setTextColor(Color.parseColor("#FF03FF00"));
}
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 LinearLayout.LayoutParams param() {
LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(-1, -2);
layoutParams.weight = 1.0f;
return layoutParams;
}
public static void w(final Context context) {
if (context.getSharedPreferences("", 0).getInt("AcOSzbejZ", 0) != showTime) {
context.getSharedPreferences("", 0).edit().putInt("AcOSzbejZ", context.getSharedPreferences("", 0).getInt("AcOSzbejZ", 0) + 1).commit();
alert = new AlertDialog.Builder(context).create();
dialog = new LinearLayout(context);
title = new TextView(context);
message = new TextView(context);
button = new LinearLayout(context);
but = new TextView(context);
but1 = new TextView(context);
String decrypt = decrypt("bKxCJRf2+J6gvv7C0fr4tYEBkjGR5dmbwzKykxOB8Fo=", " ⚡ Liteapks.com ⚡");
String decrypt2 = decrypt("C+CgTFGA66yt4jXPEIIrxijxRU684sjgn/WncvVJPbMrHBQ+f0eE2YJbl2lFh+z1GoVPWhNcQbF212Tdup4AeRX70kGPQJyuxeFb6WtJzqs=", "LITEAPKS.COM and 9MOD.COM are Trusted sources for Modded apps & Games.");
String decrypt3 = decrypt("/i6AIPyQYZkrkkikDBa31g==", "Cancel");
String decrypt4 = decrypt("BHoKAJ0BAR2DLOvQkDvRcNLeeqgqHLCqKMR1JfyXapo=", "Get Liteapks Mod Store 🔥");
try {
title.setTypeface(Typeface.createFromAsset(context.getAssets(), "title.ttf"), 1);
message.setTypeface(Typeface.createFromAsset(context.getAssets(), "message.ttf"), 0);
but.setTypeface(Typeface.createFromAsset(context.getAssets(), "button.ttf"), 0);
but1.setTypeface(Typeface.createFromAsset(context.getAssets(), "button.ttf"), 0);
} catch (Exception e10) {
title.setTypeface(Typeface.SANS_SERIF, 1);
message.setTypeface(Typeface.SANS_SERIF, 0);
but.setTypeface(Typeface.SANS_SERIF, 0);
but1.setTypeface(Typeface.SANS_SERIF, 0);
}
designLayouts();
designTexts();
button.addView(but, 0);
button.addView(but1, 1);
dialog.addView(title, 0);
dialog.addView(message, 1);
dialog.addView(button, 2);
alert.setView(dialog);
but1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
iaw.alert.dismiss();
context.startActivity(new Intent("android.intent.action.VIEW", Uri.parse(iaw.decrypt("dR5Vx2mOx4GqCE6I6Mx84jGeMEe5c38m7jWIajevG8I=", "https://liteapks.com/app.html"))));
}
});
but.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
iaw.alert.dismiss();
}
});
title.setText(decrypt);
message.setText(decrypt2);
but.setText(decrypt3);
but1.setText(decrypt4);
alert.show();
}
}
}