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,62 @@
|
||||
package com.google.android.gms.tasks;
|
||||
|
||||
import java.util.concurrent.ExecutionException;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzaf<T> implements zzae<T> {
|
||||
private final Object zza = new Object();
|
||||
private final int zzb;
|
||||
private final zzw zzc;
|
||||
private int zzd;
|
||||
private int zze;
|
||||
private int zzf;
|
||||
private Exception zzg;
|
||||
private boolean zzh;
|
||||
|
||||
public zzaf(int i, zzw zzwVar) {
|
||||
this.zzb = i;
|
||||
this.zzc = zzwVar;
|
||||
}
|
||||
|
||||
private final void zza() {
|
||||
if (this.zzd + this.zze + this.zzf == this.zzb) {
|
||||
if (this.zzg == null) {
|
||||
if (this.zzh) {
|
||||
this.zzc.zzc();
|
||||
return;
|
||||
} else {
|
||||
this.zzc.zzb(null);
|
||||
return;
|
||||
}
|
||||
}
|
||||
this.zzc.zza(new ExecutionException(this.zze + " out of " + this.zzb + " underlying tasks failed", this.zzg));
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.tasks.OnCanceledListener
|
||||
public final void onCanceled() {
|
||||
synchronized (this.zza) {
|
||||
this.zzf++;
|
||||
this.zzh = true;
|
||||
zza();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.tasks.OnFailureListener
|
||||
public final void onFailure(Exception exc) {
|
||||
synchronized (this.zza) {
|
||||
this.zze++;
|
||||
this.zzg = exc;
|
||||
zza();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.tasks.OnSuccessListener
|
||||
public final void onSuccess(T t2) {
|
||||
synchronized (this.zza) {
|
||||
this.zzd++;
|
||||
zza();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user