Primer paso de la investigacion. Se aportan el .apk, las carpetas con el apk extraido y el apk descompilado. El archivo API_DOCUMENTATION.md es un archivo donde se anotaran los descubrimientos del funcionamiento de la API, y los .py son scripts para probar la funcionalidad de la API con los métodos que vayamos encontrando. Finalmente, los archivos .js son scripts de Frida para extraer informacion de la APP durante la ejecucion.
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
package androidx.core.app;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.AppComponentFactory;
|
||||
import android.app.Application;
|
||||
import android.app.Service;
|
||||
import android.content.BroadcastReceiver;
|
||||
import android.content.ContentProvider;
|
||||
import android.content.Intent;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class CoreComponentFactory extends AppComponentFactory {
|
||||
public static <T> T checkCompatWrapper(T t2) {
|
||||
return t2;
|
||||
}
|
||||
|
||||
@Override // android.app.AppComponentFactory
|
||||
public Activity instantiateActivity(ClassLoader classLoader, String str, Intent intent) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
|
||||
return (Activity) checkCompatWrapper(super.instantiateActivity(classLoader, str, intent));
|
||||
}
|
||||
|
||||
@Override // android.app.AppComponentFactory
|
||||
public Application instantiateApplication(ClassLoader classLoader, String str) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
|
||||
return (Application) checkCompatWrapper(super.instantiateApplication(classLoader, str));
|
||||
}
|
||||
|
||||
@Override // android.app.AppComponentFactory
|
||||
public ContentProvider instantiateProvider(ClassLoader classLoader, String str) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
|
||||
return (ContentProvider) checkCompatWrapper(super.instantiateProvider(classLoader, str));
|
||||
}
|
||||
|
||||
@Override // android.app.AppComponentFactory
|
||||
public BroadcastReceiver instantiateReceiver(ClassLoader classLoader, String str, Intent intent) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
|
||||
return (BroadcastReceiver) checkCompatWrapper(super.instantiateReceiver(classLoader, str, intent));
|
||||
}
|
||||
|
||||
@Override // android.app.AppComponentFactory
|
||||
public Service instantiateService(ClassLoader classLoader, String str, Intent intent) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
|
||||
return (Service) checkCompatWrapper(super.instantiateService(classLoader, str, intent));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package androidx.core.app;
|
||||
|
||||
import D0.d;
|
||||
import android.app.PendingIntent;
|
||||
import androidx.core.graphics.drawable.IconCompat;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class RemoteActionCompat implements d {
|
||||
|
||||
/* renamed from: a, reason: collision with root package name */
|
||||
public IconCompat f2777a;
|
||||
|
||||
/* renamed from: b, reason: collision with root package name */
|
||||
public CharSequence f2778b;
|
||||
|
||||
/* renamed from: c, reason: collision with root package name */
|
||||
public CharSequence f2779c;
|
||||
|
||||
/* renamed from: d, reason: collision with root package name */
|
||||
public PendingIntent f2780d;
|
||||
|
||||
/* renamed from: e, reason: collision with root package name */
|
||||
public boolean f2781e;
|
||||
|
||||
/* renamed from: f, reason: collision with root package name */
|
||||
public boolean f2782f;
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
package androidx.core.app;
|
||||
|
||||
import D0.b;
|
||||
import D0.c;
|
||||
import D0.d;
|
||||
import android.app.PendingIntent;
|
||||
import android.os.Parcel;
|
||||
import android.text.TextUtils;
|
||||
import androidx.core.graphics.drawable.IconCompat;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class RemoteActionCompatParcelizer {
|
||||
public static RemoteActionCompat read(b bVar) {
|
||||
RemoteActionCompat remoteActionCompat = new RemoteActionCompat();
|
||||
d dVar = remoteActionCompat.f2777a;
|
||||
boolean z3 = true;
|
||||
if (bVar.e(1)) {
|
||||
dVar = bVar.g();
|
||||
}
|
||||
remoteActionCompat.f2777a = (IconCompat) dVar;
|
||||
CharSequence charSequence = remoteActionCompat.f2778b;
|
||||
if (bVar.e(2)) {
|
||||
charSequence = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(((c) bVar).f365e);
|
||||
}
|
||||
remoteActionCompat.f2778b = charSequence;
|
||||
CharSequence charSequence2 = remoteActionCompat.f2779c;
|
||||
if (bVar.e(3)) {
|
||||
charSequence2 = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(((c) bVar).f365e);
|
||||
}
|
||||
remoteActionCompat.f2779c = charSequence2;
|
||||
remoteActionCompat.f2780d = (PendingIntent) bVar.f(remoteActionCompat.f2780d, 4);
|
||||
boolean z4 = remoteActionCompat.f2781e;
|
||||
if (bVar.e(5)) {
|
||||
z4 = ((c) bVar).f365e.readInt() != 0;
|
||||
}
|
||||
remoteActionCompat.f2781e = z4;
|
||||
boolean z5 = remoteActionCompat.f2782f;
|
||||
if (!bVar.e(6)) {
|
||||
z3 = z5;
|
||||
} else if (((c) bVar).f365e.readInt() == 0) {
|
||||
z3 = false;
|
||||
}
|
||||
remoteActionCompat.f2782f = z3;
|
||||
return remoteActionCompat;
|
||||
}
|
||||
|
||||
public static void write(RemoteActionCompat remoteActionCompat, b bVar) {
|
||||
bVar.getClass();
|
||||
IconCompat iconCompat = remoteActionCompat.f2777a;
|
||||
bVar.h(1);
|
||||
bVar.i(iconCompat);
|
||||
CharSequence charSequence = remoteActionCompat.f2778b;
|
||||
bVar.h(2);
|
||||
Parcel parcel = ((c) bVar).f365e;
|
||||
TextUtils.writeToParcel(charSequence, parcel, 0);
|
||||
CharSequence charSequence2 = remoteActionCompat.f2779c;
|
||||
bVar.h(3);
|
||||
TextUtils.writeToParcel(charSequence2, parcel, 0);
|
||||
PendingIntent pendingIntent = remoteActionCompat.f2780d;
|
||||
bVar.h(4);
|
||||
parcel.writeParcelable(pendingIntent, 0);
|
||||
boolean z3 = remoteActionCompat.f2781e;
|
||||
bVar.h(5);
|
||||
parcel.writeInt(z3 ? 1 : 0);
|
||||
boolean z4 = remoteActionCompat.f2782f;
|
||||
bVar.h(6);
|
||||
parcel.writeInt(z4 ? 1 : 0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user