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,25 @@
|
||||
package com.adif.elcanomovil.extensions;
|
||||
|
||||
import android.location.Location;
|
||||
import com.google.android.gms.maps.model.LatLng;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
@Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u001a\n\u0010\u0000\u001a\u00020\u0001*\u00020\u0002\u001a\n\u0010\u0003\u001a\u00020\u0001*\u00020\u0002\u001a\n\u0010\u0003\u001a\u00020\u0001*\u00020\u0001¨\u0006\u0004"}, d2 = {"toLatLng", "Lcom/google/android/gms/maps/model/LatLng;", "Landroid/location/Location;", "toLatLngTranslatedToSouth", "common-resources_proNon_corporateRelease"}, k = 2, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class LocationExtensionsKt {
|
||||
public static final LatLng toLatLng(Location location) {
|
||||
Intrinsics.checkNotNullParameter(location, "<this>");
|
||||
return new LatLng(location.getLatitude(), location.getLongitude());
|
||||
}
|
||||
|
||||
public static final LatLng toLatLngTranslatedToSouth(Location location) {
|
||||
Intrinsics.checkNotNullParameter(location, "<this>");
|
||||
return new LatLng(location.getLatitude() - 0.012d, location.getLongitude());
|
||||
}
|
||||
|
||||
public static final LatLng toLatLngTranslatedToSouth(LatLng latLng) {
|
||||
Intrinsics.checkNotNullParameter(latLng, "<this>");
|
||||
return new LatLng(latLng.latitude - 0.012d, latLng.longitude);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user