Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Login {
- public $username = "user1";
- public $password = "password";
- public $role = "USER";
- }
- $test = unserialize($argv[1]);
- if ($test->role== "ADMIN") {
- $flag = file_get_contents("/etc/passwd");
- echo $flag;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement