summaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
authorspv420 <spv@spv.sh>2022-07-27 16:14:03 -0400
committerspv420 <spv@spv.sh>2022-07-27 16:14:03 -0400
commit21744449381360e43025dbc2e9861adbcdc0625e (patch)
treefaf15ae1bc42aa902ca7eded242d3e7d9335da58 /src/js
parent5039c6d16ee4e2cfaa9374a941afee789556eeca (diff)
fuck it pt 2 backup
Diffstat (limited to 'src/js')
-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)));
}
}