added Spar PoC, added objection and frida guide

This commit is contained in:
wea_ondara
2023-09-01 20:04:03 +02:00
committed by wea_ondara
commit 7739693d63
17 changed files with 1966 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
Java.perform(() => {
Java.use('okhttp3.Request').$init.overload('okhttp3.Request$Builder').implementation = function(builder) {
this.$init(builder);
let out = "-----------------------------------\n";
out += this.toString() + "\n\n";
out += this.method() + " " + this.url().toString() + "\n" + this.headers().toString();
if (this.body()) {
const buffer = Java.use('okio.Buffer').$new();
this.body().writeTo(buffer);
out += buffer.toString();
}
out += "\n-----------------------------------";
console.log(out);
//var jAndroidLog = Java.use("android.util.Log"), jException = Java.use("java.lang.Exception");
//console.log( jAndroidLog.getStackTraceString( jException.$new() ) );
};
});