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,9 @@
|
||||
package com.adif.elcanomovil.domain.providers;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\bf\u0018\u00002\u00020\u0001R\u0012\u0010\u0002\u001a\u00020\u0003X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0004\u0010\u0005¨\u0006\u0006"}, d2 = {"Lcom/adif/elcanomovil/domain/providers/AppVersionProvider;", "", "version", "", "getVersion", "()Ljava/lang/String;", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface AppVersionProvider {
|
||||
String getVersion();
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package com.adif.elcanomovil.domain.providers;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\bf\u0018\u00002\u00020\u0001J\u0012\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0003H&¨\u0006\u0005"}, d2 = {"Lcom/adif/elcanomovil/domain/providers/Check24hProvider;", "", "checkfetchInfo", "", "shouldFetch", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface Check24hProvider {
|
||||
|
||||
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public static final class DefaultImpls {
|
||||
public static /* synthetic */ boolean checkfetchInfo$default(Check24hProvider check24hProvider, boolean z3, int i, Object obj) {
|
||||
if (obj != null) {
|
||||
throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: checkfetchInfo");
|
||||
}
|
||||
if ((i & 1) != 0) {
|
||||
z3 = false;
|
||||
}
|
||||
return check24hProvider.checkfetchInfo(z3);
|
||||
}
|
||||
}
|
||||
|
||||
boolean checkfetchInfo(boolean shouldFetch);
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.adif.elcanomovil.domain.providers;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\bf\u0018\u00002\u00020\u0001J\b\u0010\u0002\u001a\u00020\u0003H&J\b\u0010\u0004\u001a\u00020\u0003H&J\b\u0010\u0005\u001a\u00020\u0003H&¨\u0006\u0006"}, d2 = {"Lcom/adif/elcanomovil/domain/providers/CredentialsProvider;", "", "generatePassword", "", "generateUserId", "getPersistentUserId", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface CredentialsProvider {
|
||||
String generatePassword();
|
||||
|
||||
String generateUserId();
|
||||
|
||||
String getPersistentUserId();
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.adif.elcanomovil.domain.providers;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
import com.adif.elcanomovil.domain.entities.deeplink.SocialMetaTag;
|
||||
import com.google.firebase.dynamiclinks.DynamicLink;
|
||||
import com.google.firebase.messaging.Constants;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.coroutines.Continuation;
|
||||
|
||||
@Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\bf\u0018\u00002\u00020\u0001JH\u0010\u0002\u001a\u0004\u0018\u00010\u00032\u0006\u0010\u0004\u001a\u00020\u00052\u0006\u0010\u0006\u001a\u00020\u00052\u0006\u0010\u0007\u001a\u00020\u00052\u0006\u0010\b\u001a\u00020\u00052\u0006\u0010\t\u001a\u00020\u00052\u0006\u0010\n\u001a\u00020\u00052\u0006\u0010\u000b\u001a\u00020\fH¦@¢\u0006\u0002\u0010\rJ\u0018\u0010\u000e\u001a\u0004\u0018\u00010\u00032\u0006\u0010\u000f\u001a\u00020\u0010H¦@¢\u0006\u0002\u0010\u0011¨\u0006\u0012"}, d2 = {"Lcom/adif/elcanomovil/domain/providers/DynamicLinkFacade;", "", "create", "Landroid/net/Uri;", Constants.MessagePayloadKeys.FROM, "", "domainURIPrefix", "falloutLink", "appStoreId", "androidPackage", "bundleId", "metatag", "Lcom/adif/elcanomovil/domain/entities/deeplink/SocialMetaTag;", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/adif/elcanomovil/domain/entities/deeplink/SocialMetaTag;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", DynamicLink.Builder.KEY_DYNAMIC_LINK, "intent", "Landroid/content/Intent;", "(Landroid/content/Intent;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface DynamicLinkFacade {
|
||||
Object create(String str, String str2, String str3, String str4, String str5, String str6, SocialMetaTag socialMetaTag, Continuation<? super Uri> continuation);
|
||||
|
||||
Object dynamicLink(Intent intent, Continuation<? super Uri> continuation);
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.adif.elcanomovil.domain.providers;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\bf\u0018\u00002\u00020\u0001R\u0012\u0010\u0002\u001a\u00020\u0003X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0002\u0010\u0004¨\u0006\u0005"}, d2 = {"Lcom/adif/elcanomovil/domain/providers/GooglePlayVersionProvider;", "", "isActive", "", "()Z", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface GooglePlayVersionProvider {
|
||||
boolean isActive();
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.adif.elcanomovil.domain.providers;
|
||||
|
||||
import android.location.Location;
|
||||
import com.google.firebase.analytics.FirebaseAnalytics;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.coroutines.Continuation;
|
||||
import kotlinx.coroutines.flow.Flow;
|
||||
|
||||
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0007\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0000\bf\u0018\u00002\u00020\u0001J\u0010\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0005H&J\u0016\u0010\u0006\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\u00050\u0007H¦@¢\u0006\u0002\u0010\bJ\n\u0010\t\u001a\u0004\u0018\u00010\u0005H&J\b\u0010\n\u001a\u00020\u000bH&¨\u0006\f"}, d2 = {"Lcom/adif/elcanomovil/domain/providers/LocationProvider;", "", "distanceTo", "", FirebaseAnalytics.Param.LOCATION, "Landroid/location/Location;", "fetchLastLocation", "Lkotlinx/coroutines/flow/Flow;", "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "fetchLastSyncLocation", "isLocated", "", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface LocationProvider {
|
||||
float distanceTo(Location location);
|
||||
|
||||
Object fetchLastLocation(Continuation<? super Flow<? extends Location>> continuation);
|
||||
|
||||
Location fetchLastSyncLocation();
|
||||
|
||||
boolean isLocated();
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.adif.elcanomovil.domain.providers;
|
||||
|
||||
import kotlin.Metadata;
|
||||
import kotlinx.coroutines.flow.SharedFlow;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u000b\n\u0002\b\u0003\bf\u0018\u00002\u00020\u0001R\u0018\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/domain/providers/LocationStatusProvider;", "", "locationStatus", "Lkotlinx/coroutines/flow/SharedFlow;", "", "getLocationStatus", "()Lkotlinx/coroutines/flow/SharedFlow;", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface LocationStatusProvider {
|
||||
SharedFlow<Boolean> getLocationStatus();
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.adif.elcanomovil.domain.providers;
|
||||
|
||||
import android.graphics.drawable.Drawable;
|
||||
import com.google.android.gms.common.internal.ImagesContract;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.coroutines.Continuation;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\bf\u0018\u00002\u00020\u0001J\u0018\u0010\u0002\u001a\u0004\u0018\u00010\u00032\u0006\u0010\u0004\u001a\u00020\u0005H¦@¢\u0006\u0002\u0010\u0006¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/domain/providers/LogoProvider;", "", "download", "Landroid/graphics/drawable/Drawable;", ImagesContract.URL, "", "(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface LogoProvider {
|
||||
Object download(String str, Continuation<? super Drawable> continuation);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.adif.elcanomovil.domain.providers;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0002\bf\u0018\u00002\u00020\u0001J\u0010\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0005H&J\b\u0010\u0006\u001a\u00020\u0005H&J\b\u0010\u0007\u001a\u00020\bH&J\b\u0010\t\u001a\u00020\u0003H&¨\u0006\n"}, d2 = {"Lcom/adif/elcanomovil/domain/providers/PushIdTokenProvider;", "", "saveToken", "", "newToken", "", "token", "tokenHasChanged", "", "tokenRead", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface PushIdTokenProvider {
|
||||
void saveToken(String newToken);
|
||||
|
||||
String token();
|
||||
|
||||
boolean tokenHasChanged();
|
||||
|
||||
void tokenRead();
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.adif.elcanomovil.domain.providers;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\bf\u0018\u00002\u00020\u0001R\u0012\u0010\u0002\u001a\u00020\u0003X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0004\u0010\u0005¨\u0006\u0006"}, d2 = {"Lcom/adif/elcanomovil/domain/providers/TokenJwtProvider;", "", "tokenJwt", "", "getTokenJwt", "()Ljava/lang/String;", "domain_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public interface TokenJwtProvider {
|
||||
String getTokenJwt();
|
||||
}
|
||||
Reference in New Issue
Block a user