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:
100
apk_decompiled/sources/kotlin/ranges/IntRange.java
Normal file
100
apk_decompiled/sources/kotlin/ranges/IntRange.java
Normal file
@@ -0,0 +1,100 @@
|
||||
package kotlin.ranges;
|
||||
|
||||
import kotlin.Deprecated;
|
||||
import kotlin.ExperimentalStdlibApi;
|
||||
import kotlin.Metadata;
|
||||
import kotlin.SinceKotlin;
|
||||
import kotlin.WasExperimental;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
|
||||
@Metadata(d1 = {"\u00000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\b\n\u0002\u0018\u0002\n\u0002\b\u000b\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0002\u0018\u0000 \u00192\u00020\u00012\b\u0012\u0004\u0012\u00020\u00030\u00022\b\u0012\u0004\u0012\u00020\u00030\u0004:\u0001\u0019B\u0015\u0012\u0006\u0010\u0005\u001a\u00020\u0003\u0012\u0006\u0010\u0006\u001a\u00020\u0003¢\u0006\u0002\u0010\u0007J\u0011\u0010\u000f\u001a\u00020\u00102\u0006\u0010\u0011\u001a\u00020\u0003H\u0096\u0002J\u0013\u0010\u0012\u001a\u00020\u00102\b\u0010\u0013\u001a\u0004\u0018\u00010\u0014H\u0096\u0002J\b\u0010\u0015\u001a\u00020\u0003H\u0016J\b\u0010\u0016\u001a\u00020\u0010H\u0016J\b\u0010\u0017\u001a\u00020\u0018H\u0016R\u001a\u0010\b\u001a\u00020\u00038VX\u0097\u0004¢\u0006\f\u0012\u0004\b\t\u0010\n\u001a\u0004\b\u000b\u0010\fR\u0014\u0010\u0006\u001a\u00020\u00038VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\r\u0010\fR\u0014\u0010\u0005\u001a\u00020\u00038VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u000e\u0010\f¨\u0006\u001a"}, d2 = {"Lkotlin/ranges/IntRange;", "Lkotlin/ranges/IntProgression;", "Lkotlin/ranges/ClosedRange;", "", "Lkotlin/ranges/OpenEndRange;", "start", "endInclusive", "(II)V", "endExclusive", "getEndExclusive$annotations", "()V", "getEndExclusive", "()Ljava/lang/Integer;", "getEndInclusive", "getStart", "contains", "", "value", "equals", "other", "", "hashCode", "isEmpty", "toString", "", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public final class IntRange extends IntProgression implements ClosedRange<Integer>, OpenEndRange<Integer> {
|
||||
|
||||
/* renamed from: Companion, reason: from kotlin metadata */
|
||||
public static final Companion INSTANCE = new Companion(null);
|
||||
private static final IntRange EMPTY = new IntRange(1, 0);
|
||||
|
||||
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lkotlin/ranges/IntRange$Companion;", "", "()V", "EMPTY", "Lkotlin/ranges/IntRange;", "getEMPTY", "()Lkotlin/ranges/IntRange;", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
|
||||
/* loaded from: classes3.dex */
|
||||
public static final class Companion {
|
||||
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
||||
this();
|
||||
}
|
||||
|
||||
public final IntRange getEMPTY() {
|
||||
return IntRange.EMPTY;
|
||||
}
|
||||
|
||||
private Companion() {
|
||||
}
|
||||
}
|
||||
|
||||
public IntRange(int i, int i4) {
|
||||
super(i, i4, 1);
|
||||
}
|
||||
|
||||
@Deprecated(message = "Can throw an exception when it's impossible to represent the value with Int type, for example, when the range includes MAX_VALUE. It's recommended to use 'endInclusive' property that doesn't throw.")
|
||||
@SinceKotlin(version = "1.9")
|
||||
@WasExperimental(markerClass = {ExperimentalStdlibApi.class})
|
||||
public static /* synthetic */ void getEndExclusive$annotations() {
|
||||
}
|
||||
|
||||
/* JADX WARN: Multi-variable type inference failed */
|
||||
@Override // kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public /* bridge */ /* synthetic */ boolean contains(Comparable comparable) {
|
||||
return contains(((Number) comparable).intValue());
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.IntProgression
|
||||
public boolean equals(Object other) {
|
||||
if (!(other instanceof IntRange)) {
|
||||
return false;
|
||||
}
|
||||
if (isEmpty() && ((IntRange) other).isEmpty()) {
|
||||
return true;
|
||||
}
|
||||
IntRange intRange = (IntRange) other;
|
||||
return getFirst() == intRange.getFirst() && getLast() == intRange.getLast();
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.IntProgression
|
||||
public int hashCode() {
|
||||
if (isEmpty()) {
|
||||
return -1;
|
||||
}
|
||||
return getLast() + (getFirst() * 31);
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.IntProgression, kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public boolean isEmpty() {
|
||||
return getFirst() > getLast();
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.IntProgression
|
||||
public String toString() {
|
||||
return getFirst() + ".." + getLast();
|
||||
}
|
||||
|
||||
public boolean contains(int value) {
|
||||
return getFirst() <= value && value <= getLast();
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.OpenEndRange
|
||||
public Integer getEndExclusive() {
|
||||
if (getLast() != Integer.MAX_VALUE) {
|
||||
return Integer.valueOf(getLast() + 1);
|
||||
}
|
||||
throw new IllegalStateException("Cannot return the exclusive upper bound of a range that includes MAX_VALUE.");
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange
|
||||
public Integer getEndInclusive() {
|
||||
return Integer.valueOf(getLast());
|
||||
}
|
||||
|
||||
@Override // kotlin.ranges.ClosedRange, kotlin.ranges.OpenEndRange
|
||||
public Integer getStart() {
|
||||
return Integer.valueOf(getFirst());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user