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,31 @@
|
||||
package com.google.firebase.messaging;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public final class ProxyNotificationPreferences {
|
||||
private static final String FCM_PREFERENCES = "com.google.firebase.messaging";
|
||||
|
||||
private ProxyNotificationPreferences() {
|
||||
}
|
||||
|
||||
private static SharedPreferences getPreference(Context context) {
|
||||
Context applicationContext = context.getApplicationContext();
|
||||
if (applicationContext != null) {
|
||||
context = applicationContext;
|
||||
}
|
||||
return context.getSharedPreferences("com.google.firebase.messaging", 0);
|
||||
}
|
||||
|
||||
public static boolean isProxyNotificationInitialized(Context context) {
|
||||
return getPreference(context).getBoolean("proxy_notification_initialized", false);
|
||||
}
|
||||
|
||||
public static void setProxyNotificationsInitialized(Context context, boolean z3) {
|
||||
SharedPreferences.Editor edit = getPreference(context).edit();
|
||||
edit.putBoolean("proxy_notification_initialized", z3);
|
||||
edit.apply();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user