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;
import dagger.hilt.internal.GeneratedComponent;
import dagger.hilt.internal.GeneratedComponentManager;
import dagger.hilt.internal.Preconditions;
import dagger.hilt.internal.TestSingletonComponent;
import java.lang.annotation.Annotation;
/* loaded from: classes3.dex */
public final class EntryPoints {
private static final String EARLY_ENTRY_POINT = "dagger.hilt.android.EarlyEntryPoint";
private EntryPoints() {
}
public static <T> T get(Object obj, Class<T> cls) {
if (obj instanceof GeneratedComponent) {
if (obj instanceof TestSingletonComponent) {
Preconditions.checkState(!hasAnnotationReflection(cls, EARLY_ENTRY_POINT), "Interface, %s, annotated with @EarlyEntryPoint should be called with EarlyEntryPoints.get() rather than EntryPoints.get()", cls.getCanonicalName());
}
return cls.cast(obj);
}
if (obj instanceof GeneratedComponentManager) {
return (T) get(((GeneratedComponentManager) obj).generatedComponent(), cls);
}
throw new IllegalStateException("Given component holder " + obj.getClass() + " does not implement " + GeneratedComponent.class + " or " + GeneratedComponentManager.class);
}
private static boolean hasAnnotationReflection(Class<?> cls, String str) {
for (Annotation annotation : cls.getAnnotations()) {
if (annotation.annotationType().getCanonicalName().contentEquals(str)) {
return true;
}
}
return false;
}
}