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.cloudmessaging;
|
||||
|
||||
import android.os.IBinder;
|
||||
import android.os.Message;
|
||||
import android.os.Messenger;
|
||||
import android.os.RemoteException;
|
||||
import android.util.Log;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzp {
|
||||
private final Messenger zza;
|
||||
private final zze zzb;
|
||||
|
||||
public zzp(IBinder iBinder) throws RemoteException {
|
||||
String interfaceDescriptor = iBinder.getInterfaceDescriptor();
|
||||
if (zzo.zza(interfaceDescriptor, "android.os.IMessenger")) {
|
||||
this.zza = new Messenger(iBinder);
|
||||
this.zzb = null;
|
||||
} else {
|
||||
if (!zzo.zza(interfaceDescriptor, IMessengerCompat.DESCRIPTOR)) {
|
||||
Log.w("MessengerIpcClient", "Invalid interface descriptor: ".concat(String.valueOf(interfaceDescriptor)));
|
||||
throw new RemoteException();
|
||||
}
|
||||
this.zzb = new zze(iBinder);
|
||||
this.zza = null;
|
||||
}
|
||||
}
|
||||
|
||||
public final void zza(Message message) throws RemoteException {
|
||||
Messenger messenger = this.zza;
|
||||
if (messenger != null) {
|
||||
messenger.send(message);
|
||||
return;
|
||||
}
|
||||
zze zzeVar = this.zzb;
|
||||
if (zzeVar == null) {
|
||||
throw new IllegalStateException("Both messengers are null");
|
||||
}
|
||||
zzeVar.zzb(message);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user