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:
2025-12-04 13:59:54 +01:00
parent f2fd1c3bf5
commit e0133d2ca2
10432 changed files with 1019085 additions and 1 deletions

View File

@@ -0,0 +1,37 @@
package dagger.hilt.android;
import android.content.ComponentCallbacks2;
import android.content.Context;
import dagger.hilt.EntryPoints;
import dagger.hilt.android.internal.Contexts;
import dagger.hilt.internal.GeneratedComponentManager;
import dagger.hilt.internal.GeneratedComponentManagerHolder;
import dagger.hilt.internal.Preconditions;
import dagger.hilt.internal.TestSingletonComponentManager;
import java.lang.annotation.Annotation;
/* loaded from: classes3.dex */
public final class EarlyEntryPoints {
private EarlyEntryPoints() {
}
public static <T> T get(Context context, Class<T> cls) {
ComponentCallbacks2 application = Contexts.getApplication(context);
Preconditions.checkState(application instanceof GeneratedComponentManagerHolder, "Expected application to implement GeneratedComponentManagerHolder. Check that you're passing in an application context that uses Hilt. Application class found: %s", application.getClass());
GeneratedComponentManager<?> componentManager = ((GeneratedComponentManagerHolder) application).componentManager();
if (!(componentManager instanceof TestSingletonComponentManager)) {
return (T) EntryPoints.get(application, cls);
}
Preconditions.checkState(hasAnnotationReflection(cls, EarlyEntryPoint.class), "%s should be called with EntryPoints.get() rather than EarlyEntryPoints.get()", cls.getCanonicalName());
return cls.cast(((TestSingletonComponentManager) componentManager).earlySingletonComponent());
}
private static boolean hasAnnotationReflection(Class<?> cls, Class<? extends Annotation> cls2) {
for (Annotation annotation : cls.getAnnotations()) {
if (annotation.annotationType().equals(cls2)) {
return true;
}
}
return false;
}
}