Advertisement
Guest User

Untitled

a guest
May 14th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  1. class Login {
  2.     public $username = "user1";
  3.     public $password = "password";
  4.     public $role = "USER";
  5. }
  6.  
  7. $test = unserialize($argv[1]);
  8. if ($test->role== "ADMIN") {
  9.     $flag = file_get_contents("/etc/passwd");
  10.     echo $flag;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement