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,43 @@
|
||||
package com.adif.elcanomovil.lifecycle;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlin.enums.EnumEntries;
|
||||
import kotlin.enums.EnumEntriesKt;
|
||||
|
||||
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
|
||||
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
|
||||
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0006\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005j\u0002\b\u0006¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/lifecycle/AppStatus;", "", "(Ljava/lang/String;I)V", "ON_START", "ON_STOP", "ON_RESUME", "ON_PAUSE", "app_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class AppStatus {
|
||||
private static final /* synthetic */ EnumEntries $ENTRIES;
|
||||
private static final /* synthetic */ AppStatus[] $VALUES;
|
||||
public static final AppStatus ON_START = new AppStatus("ON_START", 0);
|
||||
public static final AppStatus ON_STOP = new AppStatus("ON_STOP", 1);
|
||||
public static final AppStatus ON_RESUME = new AppStatus("ON_RESUME", 2);
|
||||
public static final AppStatus ON_PAUSE = new AppStatus("ON_PAUSE", 3);
|
||||
|
||||
private static final /* synthetic */ AppStatus[] $values() {
|
||||
return new AppStatus[]{ON_START, ON_STOP, ON_RESUME, ON_PAUSE};
|
||||
}
|
||||
|
||||
static {
|
||||
AppStatus[] $values = $values();
|
||||
$VALUES = $values;
|
||||
$ENTRIES = EnumEntriesKt.enumEntries($values);
|
||||
}
|
||||
|
||||
private AppStatus(String str, int i) {
|
||||
}
|
||||
|
||||
public static EnumEntries<AppStatus> getEntries() {
|
||||
return $ENTRIES;
|
||||
}
|
||||
|
||||
public static AppStatus valueOf(String str) {
|
||||
return (AppStatus) Enum.valueOf(AppStatus.class, str);
|
||||
}
|
||||
|
||||
public static AppStatus[] values() {
|
||||
return (AppStatus[]) $VALUES.clone();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
package com.adif.elcanomovil.lifecycle;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import androidx.lifecycle.A;
|
||||
import androidx.lifecycle.I;
|
||||
import androidx.lifecycle.Z;
|
||||
import com.google.android.gms.common.internal.ServiceSpecificExtraArgs;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0002\b\u0004\u0018\u0000 \f2\u00020\u0001:\u0001\fB\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u000f\u0010\u0005\u001a\u00020\u0004H\u0007¢\u0006\u0004\b\u0005\u0010\u0003J\u000f\u0010\u0006\u001a\u00020\u0004H\u0007¢\u0006\u0004\b\u0006\u0010\u0003J\u000f\u0010\u0007\u001a\u00020\u0004H\u0007¢\u0006\u0004\b\u0007\u0010\u0003J\u000f\u0010\b\u001a\u00020\u0004H\u0007¢\u0006\u0004\b\b\u0010\u0003R\u0014\u0010\n\u001a\u00020\t8\u0002X\u0082D¢\u0006\u0006\n\u0004\b\n\u0010\u000b¨\u0006\r"}, d2 = {"Lcom/adif/elcanomovil/lifecycle/DefaultLifecycleProvider;", "Landroidx/lifecycle/I;", "<init>", "()V", "", "onStartCalled", "onStopCalled", "onResumeCalled", "onPauseCalled", "", "TAG", "Ljava/lang/String;", "Companion", "app_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class DefaultLifecycleProvider implements I {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
private static StatusApp listener;
|
||||
private final String TAG = "TAG.DefaultLifecycleProvider";
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u001c\u0010\u0003\u001a\u0004\u0018\u00010\u0004X\u0080\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0005\u0010\u0006\"\u0004\b\u0007\u0010\b¨\u0006\t"}, d2 = {"Lcom/adif/elcanomovil/lifecycle/DefaultLifecycleProvider$Companion;", "", "()V", ServiceSpecificExtraArgs.CastExtraArgs.LISTENER, "Lcom/adif/elcanomovil/lifecycle/StatusApp;", "getListener$app_proNon_corporateRelease", "()Lcom/adif/elcanomovil/lifecycle/StatusApp;", "setListener$app_proNon_corporateRelease", "(Lcom/adif/elcanomovil/lifecycle/StatusApp;)V", "app_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final StatusApp getListener$app_proNon_corporateRelease() {
|
||||
return DefaultLifecycleProvider.listener;
|
||||
}
|
||||
|
||||
public final void setListener$app_proNon_corporateRelease(StatusApp statusApp) {
|
||||
DefaultLifecycleProvider.listener = statusApp;
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
@Z(A.ON_PAUSE)
|
||||
@SuppressLint({"LongLogTag"})
|
||||
public final void onPauseCalled() {
|
||||
}
|
||||
|
||||
@Z(A.ON_RESUME)
|
||||
@SuppressLint({"LongLogTag"})
|
||||
public final void onResumeCalled() {
|
||||
}
|
||||
|
||||
@Z(A.ON_START)
|
||||
@SuppressLint({"LongLogTag"})
|
||||
public final void onStartCalled() {
|
||||
StatusApp statusApp = listener;
|
||||
if (statusApp != null) {
|
||||
statusApp.statusApp(AppStatus.ON_START);
|
||||
}
|
||||
}
|
||||
|
||||
@Z(A.ON_STOP)
|
||||
@SuppressLint({"LongLogTag"})
|
||||
public final void onStopCalled() {
|
||||
StatusApp statusApp = listener;
|
||||
if (statusApp != null) {
|
||||
statusApp.statusApp(AppStatus.ON_STOP);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.adif.elcanomovil.lifecycle;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\bf\u0018\u00002\u00020\u0001J\u0010\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0005H&¨\u0006\u0006"}, d2 = {"Lcom/adif/elcanomovil/lifecycle/StatusApp;", "", "statusApp", "", "status", "Lcom/adif/elcanomovil/lifecycle/AppStatus;", "app_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface StatusApp {
|
||||
void statusApp(AppStatus status);
|
||||
}
|
||||
Reference in New Issue
Block a user