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:
85
apk_decompiled/sources/com/google/firebase/FirebaseKt.java
Normal file
85
apk_decompiled/sources/com/google/firebase/FirebaseKt.java
Normal file
@@ -0,0 +1,85 @@
|
||||
package com.google.firebase;
|
||||
|
||||
import android.content.Context;
|
||||
import com.google.android.gms.measurement.api.AppMeasurementSdk;
|
||||
import com.google.firebase.components.Component;
|
||||
import com.google.firebase.components.ComponentContainer;
|
||||
import com.google.firebase.components.ComponentFactory;
|
||||
import com.google.firebase.components.Dependency;
|
||||
import com.google.firebase.components.Qualified;
|
||||
import java.lang.annotation.Annotation;
|
||||
import java.util.concurrent.Executor;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlinx.coroutines.CoroutineDispatcher;
|
||||
import kotlinx.coroutines.ExecutorsKt;
|
||||
|
||||
@Metadata(d1 = {"\u00004\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u001b\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\u001a\u001b\u0010\t\u001a\b\u0012\u0004\u0012\u00020\u000b0\n\"\n\b\u0000\u0010\f\u0018\u0001*\u00020\rH\u0082\b\u001a\u0012\u0010\u0000\u001a\u00020\u0001*\u00020\u00022\u0006\u0010\u000e\u001a\u00020\u000f\u001a\u0014\u0010\u0010\u001a\u0004\u0018\u00010\u0001*\u00020\u00022\u0006\u0010\u0011\u001a\u00020\u0012\u001a\u001a\u0010\u0010\u001a\u00020\u0001*\u00020\u00022\u0006\u0010\u0011\u001a\u00020\u00122\u0006\u0010\u0005\u001a\u00020\u0006\u001a\"\u0010\u0010\u001a\u00020\u0001*\u00020\u00022\u0006\u0010\u0011\u001a\u00020\u00122\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u000e\u001a\u00020\u000f\"\u0015\u0010\u0000\u001a\u00020\u0001*\u00020\u00028F¢\u0006\u0006\u001a\u0004\b\u0003\u0010\u0004\"\u0015\u0010\u0005\u001a\u00020\u0006*\u00020\u00028F¢\u0006\u0006\u001a\u0004\b\u0007\u0010\b¨\u0006\u0013"}, d2 = {"app", "Lcom/google/firebase/FirebaseApp;", "Lcom/google/firebase/Firebase;", "getApp", "(Lcom/google/firebase/Firebase;)Lcom/google/firebase/FirebaseApp;", "options", "Lcom/google/firebase/FirebaseOptions;", "getOptions", "(Lcom/google/firebase/Firebase;)Lcom/google/firebase/FirebaseOptions;", "coroutineDispatcher", "Lcom/google/firebase/components/Component;", "Lkotlinx/coroutines/CoroutineDispatcher;", "T", "", AppMeasurementSdk.ConditionalUserProperty.NAME, "", "initialize", "context", "Landroid/content/Context;", "com.google.firebase-firebase-common"}, k = 2, mv = {1, 7, 1}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class FirebaseKt {
|
||||
public static final FirebaseApp app(Firebase firebase, String name) {
|
||||
Intrinsics.checkNotNullParameter(firebase, "<this>");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
FirebaseApp firebaseApp = FirebaseApp.getInstance(name);
|
||||
Intrinsics.checkNotNullExpressionValue(firebaseApp, "getInstance(name)");
|
||||
return firebaseApp;
|
||||
}
|
||||
|
||||
private static final /* synthetic */ <T extends Annotation> Component<CoroutineDispatcher> coroutineDispatcher() {
|
||||
Intrinsics.reifiedOperationMarker(4, "T");
|
||||
Component.Builder builder = Component.builder(Qualified.qualified(Annotation.class, CoroutineDispatcher.class));
|
||||
Intrinsics.reifiedOperationMarker(4, "T");
|
||||
Component.Builder add = builder.add(Dependency.required((Qualified<?>) Qualified.qualified(Annotation.class, Executor.class)));
|
||||
Intrinsics.needClassReification();
|
||||
Component<CoroutineDispatcher> build = add.factory(new ComponentFactory() { // from class: com.google.firebase.FirebaseKt$coroutineDispatcher$1
|
||||
@Override // com.google.firebase.components.ComponentFactory
|
||||
public final CoroutineDispatcher create(ComponentContainer componentContainer) {
|
||||
Intrinsics.reifiedOperationMarker(4, "T");
|
||||
Object obj = componentContainer.get(Qualified.qualified(Annotation.class, Executor.class));
|
||||
Intrinsics.checkNotNullExpressionValue(obj, "c.get(Qualified.qualifie…a, Executor::class.java))");
|
||||
return ExecutorsKt.from((Executor) obj);
|
||||
}
|
||||
}).build();
|
||||
Intrinsics.checkNotNullExpressionValue(build, "builder(Qualified.qualif…cher()\n }\n .build()");
|
||||
return build;
|
||||
}
|
||||
|
||||
public static final FirebaseApp getApp(Firebase firebase) {
|
||||
Intrinsics.checkNotNullParameter(firebase, "<this>");
|
||||
FirebaseApp firebaseApp = FirebaseApp.getInstance();
|
||||
Intrinsics.checkNotNullExpressionValue(firebaseApp, "getInstance()");
|
||||
return firebaseApp;
|
||||
}
|
||||
|
||||
public static final FirebaseOptions getOptions(Firebase firebase) {
|
||||
Intrinsics.checkNotNullParameter(firebase, "<this>");
|
||||
FirebaseOptions options = getApp(Firebase.INSTANCE).getOptions();
|
||||
Intrinsics.checkNotNullExpressionValue(options, "Firebase.app.options");
|
||||
return options;
|
||||
}
|
||||
|
||||
public static final FirebaseApp initialize(Firebase firebase, Context context) {
|
||||
Intrinsics.checkNotNullParameter(firebase, "<this>");
|
||||
Intrinsics.checkNotNullParameter(context, "context");
|
||||
return FirebaseApp.initializeApp(context);
|
||||
}
|
||||
|
||||
public static final FirebaseApp initialize(Firebase firebase, Context context, FirebaseOptions options) {
|
||||
Intrinsics.checkNotNullParameter(firebase, "<this>");
|
||||
Intrinsics.checkNotNullParameter(context, "context");
|
||||
Intrinsics.checkNotNullParameter(options, "options");
|
||||
FirebaseApp initializeApp = FirebaseApp.initializeApp(context, options);
|
||||
Intrinsics.checkNotNullExpressionValue(initializeApp, "initializeApp(context, options)");
|
||||
return initializeApp;
|
||||
}
|
||||
|
||||
public static final FirebaseApp initialize(Firebase firebase, Context context, FirebaseOptions options, String name) {
|
||||
Intrinsics.checkNotNullParameter(firebase, "<this>");
|
||||
Intrinsics.checkNotNullParameter(context, "context");
|
||||
Intrinsics.checkNotNullParameter(options, "options");
|
||||
Intrinsics.checkNotNullParameter(name, "name");
|
||||
FirebaseApp initializeApp = FirebaseApp.initializeApp(context, options, name);
|
||||
Intrinsics.checkNotNullExpressionValue(initializeApp, "initializeApp(context, options, name)");
|
||||
return initializeApp;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user