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,41 @@
|
||||
package com.google.android.gms.location;
|
||||
|
||||
import com.google.android.gms.common.api.CommonStatusCodes;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class GeofenceStatusCodes extends CommonStatusCodes {
|
||||
public static final int GEOFENCE_INSUFFICIENT_LOCATION_PERMISSION = 1004;
|
||||
public static final int GEOFENCE_NOT_AVAILABLE = 1000;
|
||||
public static final int GEOFENCE_REQUEST_TOO_FREQUENT = 1005;
|
||||
public static final int GEOFENCE_TOO_MANY_GEOFENCES = 1001;
|
||||
public static final int GEOFENCE_TOO_MANY_PENDING_INTENTS = 1002;
|
||||
|
||||
private GeofenceStatusCodes() {
|
||||
}
|
||||
|
||||
public static String getStatusCodeString(int i) {
|
||||
switch (i) {
|
||||
case 1000:
|
||||
return "GEOFENCE_NOT_AVAILABLE";
|
||||
case 1001:
|
||||
return "GEOFENCE_TOO_MANY_GEOFENCES";
|
||||
case 1002:
|
||||
return "GEOFENCE_TOO_MANY_PENDING_INTENTS";
|
||||
case 1003:
|
||||
default:
|
||||
return CommonStatusCodes.getStatusCodeString(i);
|
||||
case GEOFENCE_INSUFFICIENT_LOCATION_PERMISSION /* 1004 */:
|
||||
return "GEOFENCE_INSUFFICIENT_LOCATION_PERMISSION";
|
||||
}
|
||||
}
|
||||
|
||||
public static int zza(int i) {
|
||||
if (i == 0) {
|
||||
return i;
|
||||
}
|
||||
if (i < 1000 || i >= 1006) {
|
||||
return 13;
|
||||
}
|
||||
return i;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user