You can sometimes read source code by appending a tilde (~
) to a filename to retrieve an editor-generated backup file.
Lab: Developing a custom gadget chain for PHP deserialization
This lab uses a serialization-based session mechanism. By deploying a custom gadget chain, you can exploit its insecure deserialization to achieve remote code execution. To solve the lab, delete the morale.txt
file from Carlos's home directory.
You can log in to your own account using the following credentials: wiener:peter