Skip to content

Commit 7ef35a0

Browse files
committed
fix typo in .data segment copying logic
1 parent 0721351 commit 7ef35a0

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
@@ -1419,7 +1419,7 @@ async function userland() {
14191419
let dest = mapping_addr.add32(program_vaddr);
14201420
for (let j = 0; j < program_memsz; j += 0x8) {
14211421
let src_qword = p.read8(elf_store.add32(program_offset + j));
1422-
p.write8(dest, src_qword);
1422+
p.write8(dest.add32(j), src_qword);
14231423
}
14241424
}
14251425
}

0 commit comments

Comments
 (0)