Skip to content

Commit 88d8e37

Browse files
authored
Merge pull request #17 from john-tornblom/main
ensure elf payload args is backed by enough heap memory
2 parents 1c52cc5 + b586d4a commit 88d8e37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

document/en/ps5/exploit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1505,7 +1505,7 @@ async function userland() {
15051505
let test_payload_store = p.malloc(0x8);
15061506
let pthread_handle_store = p.malloc(0x8);
15071507
let pthread_value_store = p.malloc(0x8);
1508-
let args = p.malloc(0x8 * 3);
1508+
let args = p.malloc(0x8 * 6);
15091509

15101510
// Pass master/victim pair to payload so it can do read/write
15111511
p.write4(rwpair_mem.add32(0x00), master_sock);

0 commit comments

Comments
 (0)