HEX
Server: Apache
System: Linux webm004.cluster129.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: windevelwb (110072)
PHP: 8.5.0
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/windevelwb/www/liste.php.bak.1776505858
<?php
/**
 * liste.php
 * Version compatible PHP 5.6 → 8.5
 */

// Désactiver les warnings pour éviter de casser le JSON
ini_set('display_errors', 0);
error_reporting(0);

// Portals
$portals = array(
    'http://dm700700.org:8080',
    'http://dm799799.org:8080',
    'http://280360.org:8080',
    'http://dob-1.com:8080',
    'http://150250.org:8080',
);

// Génération Stalker (ajout de /c)
$stalker = array();
foreach ($portals as $u) {
    $stalker[] = rtrim($u, '/') . '/c';
}

// Adresses MAC (ton tableau propre)
$AdresseMac = array(
    '00:1E:A1:00:00:00',
    '00:1E:A1:00:00:01',
    '00:1E:A1:00:00:02',
    '00:1E:A1:00:00:03',
    '00:1E:A1:00:00:04',
    '00:1E:A1:00:00:05',
    '00:1E:A1:00:00:06',
    '00:1E:A1:00:00:07',
    '00:1E:A1:00:00:08',
    '00:1E:A1:00:00:09',
    '00:1E:A1:00:00:0A',
    '00:1E:A1:00:00:0B',
    '00:1E:A1:00:00:0C',
    '00:1E:A1:00:00:0D',
    '00:1E:A1:00:00:0E',
    '00:1E:A1:00:00:0F',
    '00:1E:A1:00:00:10',
    '00:1E:A1:00:00:11',
    '00:1E:A1:00:00:12',
    '00:1E:A1:00:00:13'
);

// Résultat final renvoyé en JSON
$result = array(
    'xtream'  => $portals,
    'stalker' => $stalker,
    'macs'    => $AdresseMac
);

header('Content-Type: application/json; charset=utf-8');
echo json_encode($result, JSON_UNESCAPED_SLASHES);
exit;