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:
45
apk_decompiled/sources/u0/AbstractC0631a.java
Normal file
45
apk_decompiled/sources/u0/AbstractC0631a.java
Normal file
@@ -0,0 +1,45 @@
|
||||
package u0;
|
||||
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
import kotlin.text.StringsKt__StringsKt;
|
||||
|
||||
/* renamed from: u0.a, reason: case insensitive filesystem */
|
||||
/* loaded from: classes.dex */
|
||||
public abstract class AbstractC0631a {
|
||||
public static boolean a(String current, String str) {
|
||||
CharSequence trim;
|
||||
Intrinsics.checkNotNullParameter(current, "current");
|
||||
if (Intrinsics.areEqual(current, str)) {
|
||||
return true;
|
||||
}
|
||||
if (current.length() != 0) {
|
||||
int i = 0;
|
||||
int i4 = 0;
|
||||
int i5 = 0;
|
||||
while (true) {
|
||||
if (i < current.length()) {
|
||||
char charAt = current.charAt(i);
|
||||
int i6 = i5 + 1;
|
||||
if (i5 == 0 && charAt != '(') {
|
||||
break;
|
||||
}
|
||||
if (charAt != '(') {
|
||||
if (charAt == ')' && i4 - 1 == 0 && i5 != current.length() - 1) {
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
i4++;
|
||||
}
|
||||
i++;
|
||||
i5 = i6;
|
||||
} else if (i4 == 0) {
|
||||
String substring = current.substring(1, current.length() - 1);
|
||||
Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String…ing(startIndex, endIndex)");
|
||||
trim = StringsKt__StringsKt.trim((CharSequence) substring);
|
||||
return Intrinsics.areEqual(trim.toString(), str);
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user