summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/js/kexp/exploit.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/js/kexp/exploit.js b/src/js/kexp/exploit.js
index 55ac673..d42457e 100755
--- a/src/js/kexp/exploit.js
+++ b/src/js/kexp/exploit.js
@@ -386,7 +386,9 @@ function mach_ports_lookup_shit_dealloc() {
for (var i = 0; i < read_u32(sz); i++) {
if (read_u32(read_u32(arrz) + (i << 2)) != 0) {
+ printf("destroying %p\n", read_u32(read_u32(arrz) + (i << 2)));
mach_port_destroy(mach_task_self(), read_u32(read_u32(arrz) + (i << 2)));
+ printf("destroyed %p\n", read_u32(read_u32(arrz) + (i << 2)));
}
}