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 require "vendor/autoload.php"; include "./config.php"; use PHPMailer\PHPMailer\PH..

Decoded Output download

<?php  
 require "vendor/autoload.php"; include "./config.php"; use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; goto UbcB1; Lypc2: if (strpos($edzonmxVerif, base64_decode("I2Vkem9uX29rIw=="))) { echo "\33[31m [+] \x1b[32mVotre \33[33mlicense \33[34mest \x1b[35mvalide \x1b[36m:)\33[0m 
"; echo "\33[31m [+] \33[32mEnvoi \x1b[33men \33[34mcour \33[35m:)\x1b[0m\xa"; echo " 
"; $emails = file("./files/email.txt", FILE_IGNORE_NEW_LINES); $Letter = file_get_contents("./files/letter.html"); $smtp_lines = file("./files/smtp.txt", FILE_IGNORE_NEW_LINES); $smtp_configs = array(); foreach ($smtp_lines as $line) { $smtp_configs[] = explode("|", $line); } $smtp_index = 0; $email_count = 0; $total_lots = ceil(count($emails) / $coupureEmailist); $sent_lots = 0; $mail = new PHPMailer(true); foreach ($emails as $email) { $rand_value__2 = random(11); if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { continue; } try { $mail->isSMTP(); $mail->Host = $smtp_configs[$smtp_index][0]; $mail->SMTPAuth = true; $mail->Username = $smtp_configs[$smtp_index][1]; $mail->Password = $smtp_configs[$smtp_index][2]; $mail->SMTPSecure = "tls"; $mail->Port = $smtp_configs[$smtp_index][3]; if ($activeReply === "oui") { $mail->addReplyTo($replyTo, $NameReplyTo); } $mail->addAddress($champTo, $nameTo); if ($AddFromMail === "oui") { $mail->setFrom($ThisFromMail, $nomEnvoie); } else { $mail->setFrom($smtp_configs[$smtp_index][1], $nomEnvoie); } $mail->addBCC($email); $mail->CharSet = "UTF-8"; $mail->Encoding = "base64"; if ($Attachement === "oui") { $mail->addAttachment("./files/{$pathAttachement}"); } $real_letter_path = str_replace("##RAND##", $rand_value__2, $Letter); $mail->isHTML(true); $mail->Subject = $sujetEnvoie; $mail->Body = $real_letter_path; $email_count++; if ($email_count == $coupureEmailist) { $mail->send(); sleep($tempsAttente); $email_count = 0; $smtp_index++; $sent_lots++; echo "\33[31m [*]\x1b[0m \x1b[32m:\x1b[0m \x1b[33m{$sent_lots}\33[0m \33[34m/\33[0m \33[35m{$total_lots}\x1b[0m 
"; if ($smtp_index >= count($smtp_configs)) { $smtp_index = 0; } $mail->clearAllRecipients(); } } catch (Exception $e) { echo "\33[31m [+] Erreur: {$mail->ErrorInfo}\x1b[0m\xa\xa"; continue; } } if ($email_count > 0) { $mail->send(); $sent_lots++; echo "\x1b[31m [*] \33[32mTotal : \33[33m{$sent_lots} \33[34m/ \33[35m{$total_lots}\33[0m\xa"; } } else { echo "\33[31m [+] Vous n'\303\252tes pas autoris\xc3\xa9 \xc3\xa0 utiliser le sender!\33[0m 
"; echo "\33[33m [+] Veuillez Contacter @EdzonMX\x1b[0m\xa\xa"; die; } goto QtCJi; UbcB1: echo "\x1b[31m \342\225\x94\xe2\x95\220\xe2\x95\x90\xe2\x95\220\xe2\225\xa6\xe2\x95\220\xe2\x95\x90\xe2\x95\x90\xe2\225\246\342\x95\220\342\225\x90\xe2\x95\x90\xe2\225\220\342\x95\246\342\225\220\342\x95\220\342\225\220\xe2\x95\xa6\xe2\225\220\342\225\x97\xe2\x94\x80\xe2\x95\x94\xe2\225\x97 \342\225\x94\342\225\x90\342\x95\x97\xe2\225\224\342\225\220\xe2\225\xa6\xe2\x95\x90\xe2\x95\227\342\225\224\342\x95\x90\xe2\x95\227\x1b[0m\xa"; goto WBUj1; mSkB9: echo "\xa"; goto Zmhyr; WBUj1: echo "\33[33m \342\x95\x91\342\x95\224\xe2\225\220\342\x95\x90\342\225\xa9\xe2\225\x97\342\225\x94\342\225\x97\342\225\xa0\xe2\x95\x90\xe2\x95\x90\342\x95\x97\342\x95\220\xe2\x95\221\342\x95\x94\342\x95\220\342\x95\x97\xe2\225\x91\xe2\x95\221\xe2\x95\232\342\225\227\342\225\221\342\x95\221 \xe2\x95\221\xe2\x95\221\xe2\x95\x9a\xe2\225\x9d\xe2\225\x91\xe2\225\240\342\225\x97\xe2\225\232\342\x95\235\xe2\225\x94\xe2\225\235\33[0m 
"; goto VDobv; m3qY_: echo "\33[35m \342\225\221\342\225\232\xe2\x95\220\342\x95\220\xe2\225\246\342\225\235\xe2\225\232\342\225\x9d\342\225\xa0\342\x95\235\342\x95\x90\xe2\x95\x9a\342\225\x90\xe2\225\243\xe2\225\232\342\x95\220\xe2\225\x9d\342\225\x91\xe2\225\221\xe2\224\200\342\x95\x91\xe2\x95\221\342\225\221 \xe2\x95\x91\342\x95\221\342\x95\221\342\225\221\xe2\x95\x91\xe2\x95\xa0\xe2\x95\x9d\342\x95\x94\342\x95\x97\xe2\x95\x9a\xe2\225\227\33[0m 
"; goto eYrRR; eYrRR: echo "\x1b[36m \xe2\x95\x9a\342\225\x90\342\225\x90\xe2\225\220\xe2\x95\xa9\342\x95\220\xe2\x95\220\342\225\x90\xe2\x95\251\342\225\x90\xe2\225\220\xe2\x95\x90\xe2\x95\220\342\225\251\342\x95\x90\342\x95\220\xe2\225\220\342\x95\251\342\x95\x9d\xe2\x94\200\342\x95\232\xe2\225\x90\342\x95\x9d \342\225\232\342\225\235\342\x95\x9a\xe2\225\x9d\342\x95\x9a\342\x95\xa9\342\225\x90\xe2\x95\x9d\342\225\232\xe2\x95\220\342\225\235 v1.0\33[0m 
"; goto mSkB9; VDobv: echo "\33[32m \xe2\x95\x91\xe2\x95\x9a\xe2\x95\220\342\225\220\342\225\x97\xe2\225\x91\xe2\x95\x91\xe2\x95\221\342\x95\221\342\x94\200\xe2\225\x94\xe2\225\x9d\xe2\x95\224\342\x95\xa3\xe2\225\221\342\x94\200\342\x95\221\342\225\221\xe2\x95\x94\342\225\227\342\x95\232\342\225\x9d\xe2\x95\221 \xe2\x95\221\342\225\224\xe2\225\227\342\x95\224\xe2\x95\227\342\x95\221\xe2\225\232\xe2\225\227\342\x95\x94\342\225\x9d\x1b[0m 
"; goto Z9g9E; Zmhyr: $edzonmxVerif = file_get_contents(base64_decode("aHR0cHM6Ly95b2JvdWFtYWxpY2trLndpeHNpdGUuY29tL3ZlcmlmaWNhdGlvbm4=")); goto Lypc2; Z9g9E: echo "\33[34m \xe2\225\221\342\x95\x94\342\225\x90\xe2\225\220\342\225\235\xe2\x95\x91\342\225\221\342\225\221\xe2\x95\221\xe2\x95\x94\342\x95\235\342\225\x94\342\225\x9d\xe2\225\221\xe2\x95\221\xe2\224\x80\342\225\221\342\225\221\xe2\225\221\xe2\x95\x9a\xe2\225\227\xe2\x95\221\xe2\x95\221 \342\225\x91\342\225\221\342\x95\221\xe2\225\x91\342\x95\x91\xe2\x95\x91\342\x95\x94\342\x95\x9d\xe2\x95\x9a\342\x95\227\x1b[0m 
"; goto m3qY_; QtCJi: function random($length) { $characters = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; $string = ''; for ($i = 0; $i < $length; $i++) { $string .= $characters[rand(0, strlen($characters) - 1)]; } return $string; } ?>

Did this file decode correctly?

Original Code

<?php 
 require "vendor/autoload.php"; include "./config.php"; use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; goto UbcB1; Lypc2: if (strpos($edzonmxVerif, base64_decode("I2Vkem9uX29rIw=="))) { echo "\33[31m [+] \x1b[32mVotre \33[33mlicense \33[34mest \x1b[35mvalide \x1b[36m:)\33[0m
"; echo "\33[31m [+] \33[32mEnvoi \x1b[33men \33[34mcour \33[35m:)\x1b[0m\xa"; echo "
"; $emails = file("./files/email.txt", FILE_IGNORE_NEW_LINES); $Letter = file_get_contents("./files/letter.html"); $smtp_lines = file("./files/smtp.txt", FILE_IGNORE_NEW_LINES); $smtp_configs = array(); foreach ($smtp_lines as $line) { $smtp_configs[] = explode("|", $line); } $smtp_index = 0; $email_count = 0; $total_lots = ceil(count($emails) / $coupureEmailist); $sent_lots = 0; $mail = new PHPMailer(true); foreach ($emails as $email) { $rand_value__2 = random(11); if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { continue; } try { $mail->isSMTP(); $mail->Host = $smtp_configs[$smtp_index][0]; $mail->SMTPAuth = true; $mail->Username = $smtp_configs[$smtp_index][1]; $mail->Password = $smtp_configs[$smtp_index][2]; $mail->SMTPSecure = "tls"; $mail->Port = $smtp_configs[$smtp_index][3]; if ($activeReply === "oui") { $mail->addReplyTo($replyTo, $NameReplyTo); } $mail->addAddress($champTo, $nameTo); if ($AddFromMail === "oui") { $mail->setFrom($ThisFromMail, $nomEnvoie); } else { $mail->setFrom($smtp_configs[$smtp_index][1], $nomEnvoie); } $mail->addBCC($email); $mail->CharSet = "UTF-8"; $mail->Encoding = "base64"; if ($Attachement === "oui") { $mail->addAttachment("./files/{$pathAttachement}"); } $real_letter_path = str_replace("##RAND##", $rand_value__2, $Letter); $mail->isHTML(true); $mail->Subject = $sujetEnvoie; $mail->Body = $real_letter_path; $email_count++; if ($email_count == $coupureEmailist) { $mail->send(); sleep($tempsAttente); $email_count = 0; $smtp_index++; $sent_lots++; echo "\33[31m [*]\x1b[0m \x1b[32m:\x1b[0m \x1b[33m{$sent_lots}\33[0m \33[34m/\33[0m \33[35m{$total_lots}\x1b[0m
"; if ($smtp_index >= count($smtp_configs)) { $smtp_index = 0; } $mail->clearAllRecipients(); } } catch (Exception $e) { echo "\33[31m [+] Erreur: {$mail->ErrorInfo}\x1b[0m\xa\xa"; continue; } } if ($email_count > 0) { $mail->send(); $sent_lots++; echo "\x1b[31m [*] \33[32mTotal : \33[33m{$sent_lots} \33[34m/ \33[35m{$total_lots}\33[0m\xa"; } } else { echo "\33[31m [+] Vous n'\303\252tes pas autoris\xc3\xa9 \xc3\xa0 utiliser le sender!\33[0m
"; echo "\33[33m [+] Veuillez Contacter @EdzonMX\x1b[0m\xa\xa"; die; } goto QtCJi; UbcB1: echo "\x1b[31m \342\225\x94\xe2\x95\220\xe2\x95\x90\xe2\x95\220\xe2\225\xa6\xe2\x95\220\xe2\x95\x90\xe2\x95\x90\xe2\225\246\342\x95\220\342\225\x90\xe2\x95\x90\xe2\225\220\342\x95\246\342\225\220\342\x95\220\342\225\220\xe2\x95\xa6\xe2\225\220\342\225\x97\xe2\x94\x80\xe2\x95\x94\xe2\225\x97 \342\225\x94\342\225\x90\342\x95\x97\xe2\225\224\342\225\220\xe2\225\xa6\xe2\x95\x90\xe2\x95\227\342\225\224\342\x95\x90\xe2\x95\227\x1b[0m\xa"; goto WBUj1; mSkB9: echo "\xa"; goto Zmhyr; WBUj1: echo "\33[33m \342\x95\x91\342\x95\224\xe2\225\220\342\x95\x90\342\225\xa9\xe2\225\x97\342\225\x94\342\225\x97\342\225\xa0\xe2\x95\x90\xe2\x95\x90\342\x95\x97\342\x95\220\xe2\x95\221\342\x95\x94\342\x95\220\342\x95\x97\xe2\225\x91\xe2\x95\221\xe2\x95\232\342\225\227\342\225\221\342\x95\221 \xe2\x95\221\xe2\x95\221\xe2\x95\x9a\xe2\225\x9d\xe2\225\x91\xe2\225\240\342\225\x97\xe2\225\232\342\x95\235\xe2\225\x94\xe2\225\235\33[0m
"; goto VDobv; m3qY_: echo "\33[35m \342\225\221\342\225\232\xe2\x95\220\342\x95\220\xe2\225\246\342\225\235\xe2\225\232\342\225\x9d\342\225\xa0\342\x95\235\342\x95\x90\xe2\x95\x9a\342\225\x90\xe2\225\243\xe2\225\232\342\x95\220\xe2\225\x9d\342\225\x91\xe2\225\221\xe2\224\200\342\x95\x91\xe2\x95\221\342\225\221 \xe2\x95\x91\342\x95\221\342\x95\221\342\225\221\xe2\x95\x91\xe2\x95\xa0\xe2\x95\x9d\342\x95\x94\342\x95\x97\xe2\x95\x9a\xe2\225\227\33[0m
"; goto eYrRR; eYrRR: echo "\x1b[36m \xe2\x95\x9a\342\225\x90\342\225\x90\xe2\225\220\xe2\x95\xa9\342\x95\220\xe2\x95\220\342\225\x90\xe2\x95\251\342\225\x90\xe2\225\220\xe2\x95\x90\xe2\x95\220\342\225\251\342\x95\x90\342\x95\220\xe2\225\220\342\x95\251\342\x95\x9d\xe2\x94\200\342\x95\232\xe2\225\x90\342\x95\x9d \342\225\232\342\225\235\342\x95\x9a\xe2\225\x9d\342\x95\x9a\342\x95\xa9\342\225\x90\xe2\x95\x9d\342\225\232\xe2\x95\220\342\225\235 v1.0\33[0m
"; goto mSkB9; VDobv: echo "\33[32m \xe2\x95\x91\xe2\x95\x9a\xe2\x95\220\342\225\220\342\225\x97\xe2\225\x91\xe2\x95\x91\xe2\x95\221\342\x95\221\342\x94\200\xe2\225\x94\xe2\225\x9d\xe2\x95\224\342\x95\xa3\xe2\225\221\342\x94\200\342\x95\221\342\225\221\xe2\x95\x94\342\225\227\342\x95\232\342\225\x9d\xe2\x95\221 \xe2\x95\221\342\225\224\xe2\225\227\342\x95\224\xe2\x95\227\342\x95\221\xe2\225\232\xe2\225\227\342\x95\x94\342\225\x9d\x1b[0m
"; goto Z9g9E; Zmhyr: $edzonmxVerif = file_get_contents(base64_decode("aHR0cHM6Ly95b2JvdWFtYWxpY2trLndpeHNpdGUuY29tL3ZlcmlmaWNhdGlvbm4=")); goto Lypc2; Z9g9E: echo "\33[34m \xe2\225\221\342\x95\x94\342\225\x90\xe2\225\220\342\225\235\xe2\x95\x91\342\225\221\342\225\221\xe2\x95\221\xe2\x95\x94\342\x95\235\342\225\x94\342\225\x9d\xe2\225\221\xe2\x95\221\xe2\224\x80\342\225\221\342\225\221\xe2\225\221\xe2\x95\x9a\xe2\225\227\xe2\x95\221\xe2\x95\221 \342\225\x91\342\225\221\342\x95\221\xe2\225\x91\342\x95\x91\xe2\x95\x91\342\x95\x94\342\x95\x9d\xe2\x95\x9a\342\x95\227\x1b[0m
"; goto m3qY_; QtCJi: function random($length) { $characters = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; $string = ''; for ($i = 0; $i < $length; $i++) { $string .= $characters[rand(0, strlen($characters) - 1)]; } return $string; } ?>

Function Calls

None

Variables

None

Stats

MD5 10bdceb580ebe5f65725e598c821b7b4
Eval Count 0
Decode Time 48 ms