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:
36
apk_decompiled/sources/retrofit2/Invocation.java
Normal file
36
apk_decompiled/sources/retrofit2/Invocation.java
Normal file
@@ -0,0 +1,36 @@
|
||||
package retrofit2;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public final class Invocation {
|
||||
private final List<?> arguments;
|
||||
private final Method method;
|
||||
|
||||
public Invocation(Method method, List<?> list) {
|
||||
this.method = method;
|
||||
this.arguments = Collections.unmodifiableList(list);
|
||||
}
|
||||
|
||||
public static Invocation of(Method method, List<?> list) {
|
||||
Objects.requireNonNull(method, "method == null");
|
||||
Objects.requireNonNull(list, "arguments == null");
|
||||
return new Invocation(method, new ArrayList(list));
|
||||
}
|
||||
|
||||
public List<?> arguments() {
|
||||
return this.arguments;
|
||||
}
|
||||
|
||||
public Method method() {
|
||||
return this.method;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return String.format("%s.%s() %s", this.method.getDeclaringClass().getName(), this.method.getName(), this.arguments);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user