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,63 @@
|
||||
package androidx.startup;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.content.ContentProvider;
|
||||
import android.content.ContentValues;
|
||||
import android.content.Context;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.database.Cursor;
|
||||
import android.net.Uri;
|
||||
import android.os.Trace;
|
||||
import z0.C0665a;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class InitializationProvider extends ContentProvider {
|
||||
@Override // android.content.ContentProvider
|
||||
public final int delete(Uri uri, String str, String[] strArr) {
|
||||
throw new IllegalStateException("Not allowed.");
|
||||
}
|
||||
|
||||
@Override // android.content.ContentProvider
|
||||
public final String getType(Uri uri) {
|
||||
throw new IllegalStateException("Not allowed.");
|
||||
}
|
||||
|
||||
@Override // android.content.ContentProvider
|
||||
public final Uri insert(Uri uri, ContentValues contentValues) {
|
||||
throw new IllegalStateException("Not allowed.");
|
||||
}
|
||||
|
||||
@Override // android.content.ContentProvider
|
||||
public final boolean onCreate() {
|
||||
Context context = getContext();
|
||||
if (context == null) {
|
||||
throw new RuntimeException("Context cannot be null");
|
||||
}
|
||||
if (context.getApplicationContext() == null) {
|
||||
return true;
|
||||
}
|
||||
C0665a c4 = C0665a.c(context);
|
||||
Context context2 = c4.f9003c;
|
||||
try {
|
||||
try {
|
||||
Trace.beginSection("Startup");
|
||||
c4.a(context2.getPackageManager().getProviderInfo(new ComponentName(context2.getPackageName(), InitializationProvider.class.getName()), 128).metaData);
|
||||
return true;
|
||||
} catch (PackageManager.NameNotFoundException e4) {
|
||||
throw new RuntimeException(e4);
|
||||
}
|
||||
} finally {
|
||||
Trace.endSection();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.content.ContentProvider
|
||||
public final Cursor query(Uri uri, String[] strArr, String str, String[] strArr2, String str2) {
|
||||
throw new IllegalStateException("Not allowed.");
|
||||
}
|
||||
|
||||
@Override // android.content.ContentProvider
|
||||
public final int update(Uri uri, ContentValues contentValues, String str, String[] strArr) {
|
||||
throw new IllegalStateException("Not allowed.");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user