From 945e95ff5d79a6ce50035820777659d4be2c2e53 Mon Sep 17 00:00:00 2001 From: spv420 Date: Wed, 27 Jul 2022 15:34:46 -0400 Subject: backup --- src/gen/stage2.c | 2 +- src/js/kexp/exploit.js | 1 - src/js/primitives/call.js | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/gen/stage2.c b/src/gen/stage2.c index 7e611c8..64aeec8 100644 --- a/src/gen/stage2.c +++ b/src/gen/stage2.c @@ -219,7 +219,7 @@ } while (0) #define PRINT_STILL_HERE() do { \ -/* CALL_1ARG(base + printf_addr, 0x109000); */\ + CALL_1ARG(base + printf_addr, 0x109000); \ } while (0) uintptr_t get_dyld_shc_slide(void) { diff --git a/src/js/kexp/exploit.js b/src/js/kexp/exploit.js index 6992b6d..7ec7cc3 100755 --- a/src/js/kexp/exploit.js +++ b/src/js/kexp/exploit.js @@ -454,7 +454,6 @@ again: while (true) { release_port_ptrs(read_u32(fp + (i << 2))); } - return; var arrmpt = shit_heap(8); write_u32(arrmpt, 0); diff --git a/src/js/primitives/call.js b/src/js/primitives/call.js index e38026f..760ca40 100644 --- a/src/js/primitives/call.js +++ b/src/js/primitives/call.js @@ -1,7 +1,7 @@ var N94AP_13G37 = 0x0; var N78AP_13G36 = 0x1; -var build_for = N94AP_13G37; +var build_for = N78AP_13G36; if (build_for == N94AP_13G37) { var __stack_chk_fail_lazy_addy = 0x346afc48; -- cgit v1.2.3