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:
2025-12-04 13:59:54 +01:00
parent f2fd1c3bf5
commit e0133d2ca2
10432 changed files with 1019085 additions and 1 deletions

View File

@@ -0,0 +1,74 @@
package com.google.android.gms.common;
import android.os.IBinder;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.RemoteException;
import android.util.Log;
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
import com.google.android.gms.common.internal.safeparcel.SafeParcelWriter;
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
import com.google.android.gms.dynamic.IObjectWrapper;
import com.google.android.gms.dynamic.ObjectWrapper;
@SafeParcelable.Class(creator = "GoogleCertificatesQueryCreator")
/* loaded from: classes3.dex */
public final class zzs extends AbstractSafeParcelable {
public static final Parcelable.Creator<zzs> CREATOR = new zzt();
@SafeParcelable.Field(getter = "getCallingPackage", id = 1)
private final String zza;
@SafeParcelable.Field(getter = "getCallingCertificateBinder", id = 2, type = "android.os.IBinder")
private final zzj zzb;
@SafeParcelable.Field(getter = "getAllowTestKeys", id = 3)
private final boolean zzc;
@SafeParcelable.Field(defaultValue = "false", getter = "getIgnoreTestKeysOverride", id = 4)
private final boolean zzd;
public zzs(String str, zzj zzjVar, boolean z3, boolean z4) {
this.zza = str;
this.zzb = zzjVar;
this.zzc = z3;
this.zzd = z4;
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
int beginObjectHeader = SafeParcelWriter.beginObjectHeader(parcel);
SafeParcelWriter.writeString(parcel, 1, this.zza, false);
zzj zzjVar = this.zzb;
if (zzjVar == null) {
Log.w("GoogleCertificatesQuery", "certificate binder is null");
zzjVar = null;
}
SafeParcelWriter.writeIBinder(parcel, 2, zzjVar, false);
SafeParcelWriter.writeBoolean(parcel, 3, this.zzc);
SafeParcelWriter.writeBoolean(parcel, 4, this.zzd);
SafeParcelWriter.finishObjectHeader(parcel, beginObjectHeader);
}
@SafeParcelable.Constructor
public zzs(@SafeParcelable.Param(id = 1) String str, @SafeParcelable.Param(id = 2) IBinder iBinder, @SafeParcelable.Param(id = 3) boolean z3, @SafeParcelable.Param(id = 4) boolean z4) {
this.zza = str;
zzk zzkVar = null;
if (iBinder != null) {
try {
IObjectWrapper zzd = com.google.android.gms.common.internal.zzy.zzg(iBinder).zzd();
byte[] bArr = zzd == null ? null : (byte[]) ObjectWrapper.unwrap(zzd);
if (bArr != null) {
zzkVar = new zzk(bArr);
} else {
Log.e("GoogleCertificatesQuery", "Could not unwrap certificate");
}
} catch (RemoteException e4) {
Log.e("GoogleCertificatesQuery", "Could not unwrap certificate", e4);
}
}
this.zzb = zzkVar;
this.zzc = z3;
this.zzd = z4;
}
}