Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php $testa = $_POST['veio']; if($testa != "") { $recemail = $_POST['recemail']; $message..
Decoded Output download
<?php $testa = $_POST['veio']; if($testa != "") { $recemail = $_POST['recemail']; $message = $_POST['bodys']; $subject = $_POST['ssubject']; $nome = $_POST['nome']; $from = $_POST['de']; $from_mail = $nome.'<'.$from.'>'; $to = $_POST['emails']; $email = explode("
", $to); $message = stripslashes($message); $i = 0; $count = 1; while($email[$i]) { $driv3r = $email[$i]; $message = stripslashes($message); $msgx = str_replace("$recemail", $driv3r, $message); $ok = "ok"; $headers = "MIME-Version: 1.0
"; $headers .= "Content-Type: text/html; charset=UTF-8
"; $headers .= 'From: ' . $from_mail . "
"; if(mail($email[$i], $subject, $msgx, $headers)) echo "<font color=DarkCyan>Number: $count <b>".$email[$i]."</b> <font color=DarkCyan>Sent Successfully....! :) </font><br><hr>"; else echo "<font color=red>Number: $count <b>".$email[$i]."</b> <font color=red>send failure ! :( </font><br><hr>"; $i++; $count++; } $count--; if($ok == "ok") echo ""; }
?>
Did this file decode correctly?
Original Code
<?php $testa = $_POST['veio']; if($testa != "") { $recemail = $_POST['recemail']; $message = $_POST['bodys']; $subject = $_POST['ssubject']; $nome = $_POST['nome']; $from = $_POST['de']; $from_mail = $nome.'<'.$from.'>'; $to = $_POST['emails']; $email = explode("\n", $to); $message = stripslashes($message); $i = 0; $count = 1; while($email[$i]) { $driv3r = $email[$i]; $message = stripslashes($message); $msgx = str_replace("$recemail", $driv3r, $message); $ok = "ok"; $headers = "MIME-Version: 1.0\n"; $headers .= "Content-Type: text/html; charset=UTF-8\n"; $headers .= 'From: ' . $from_mail . "\r\n"; if(mail($email[$i], $subject, $msgx, $headers)) echo "<font color=DarkCyan>Number: $count <b>".$email[$i]."</b> <font color=DarkCyan>Sent Successfully....! :) </font><br><hr>"; else echo "<font color=red>Number: $count <b>".$email[$i]."</b> <font color=red>send failure ! :( </font><br><hr>"; $i++; $count++; } $count--; if($ok == "ok") echo ""; }
?>
Function Calls
| explode | 1 |
| stripslashes | 1 |
Stats
| MD5 | a3922bb0e8dd8a93455416dbd92d204b |
| Eval Count | 0 |
| Decode Time | 134 ms |