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 goto QPHQn; iS0kP: $mail->addAddress("\x68\165\155\x61\x6e\137\162\145\163\x6f\x75..
Decoded Output download
<?php
goto QPHQn; iS0kP: $mail->addAddress("[email protected]", ''); goto bUPol; V4DPG: $mail->Host = "mail.kcisales.co.ke"; goto JahGu; NipkL: $mail->Subject = $srep . "-" . $reqdate . "-" . $filenum; goto HSEfm; ORRtr: $mail->addStringAttachment(file_get_contents($claim), $name); goto WM_KA; c7fax: $mail->FromName = "KCI"; goto qu1Hq; vJytS: $query2 = "SELECT * FROM tbl_claims WHERE id='{$theRecid}'"; goto LHGZB; FA56_: $mail->SMTPDebug = 0; goto smrO2; smrO2: $mail->isSMTP(); goto V4DPG; HSEfm: $mail->Body = "<p>Hi,</p><p>Kindly find claim form attached..</p><p>Regards.</p>"; goto ls62n; Ij3Ej: $theRecid = $_POST["theRecid"]; goto vJytS; BjDF1: if (isset($_SESSION["username"])) { $uid = $_SESSION["userid"]; $uname = $_SESSION["username"]; $fullname = $_SESSION["fullname"]; $ugroup = $_SESSION["usergroup"]; $viewsummary = $_SESSION["viewsummary"]; $email = $_SESSION["email"]; } else { echo "<script type='text/javascript'>"; echo "alert('Please log in first or register to log in.');"; echo "logout_processor();"; echo "</script>"; die; } goto VUeDo; Xi2tz: $mail->CharSet = "UTF-8"; goto Ofrx_; ls62n: $mail->AltBody = "Kindly find claim form attached.."; goto ORRtr; F9qEl: $name = str_replace("../reports/quotations/", '', $claim); goto Eibz0; penK_: $mail->Password = "43[UL#.U}YSj"; goto sorXK; lGVVB: $mail->Priority = 1; goto Xi2tz; kZv6u: $mail->Username = "[email protected]"; goto penK_; qu1Hq: $mail->addReplyTo("[email protected]", "KCI"); goto VkJA5; hT5AP: $mail->SmtpClose(); goto jFARx; WM_KA: if (!$mail->send()) { echo "Mailer Error: " . $mail->ErrorInfo; } else { echo "Claim sent [email protected]"; } goto hT5AP; tV9Pi: $mail->Port = 465; goto lGVVB; bUPol: $mail->isHTML(true); goto NipkL; QPHQn: session_start(); goto BjDF1; rdKcL: include_once "../System_Require/class.phpmailer.php"; goto IUj1E; VkJA5: $mail->Sender = "[email protected]"; goto iS0kP; JahGu: $mail->SMTPAuth = true; goto kZv6u; sorXK: $mail->SMTPSecure = "ssl"; goto tV9Pi; IUj1E: require_once "../System_Require/class.smtp.php"; goto Ij3Ej; LHGZB: $result2 = mysql_query($query2) or die(mysql_error()); goto bZ_ZB; VUeDo: include "connect.php"; goto rdKcL; Ofrx_: $mail->From = "[email protected]"; goto c7fax; bZ_ZB: while ($row2 = mysql_fetch_array($result2)) { $reqdate = $row2["reqdate"]; $srep = $row2["srep"]; $filenum = $row2["filenum"]; $claim = $row2["claim"]; } goto F9qEl; Eibz0: $mail = new PHPMailer(); goto FA56_; jFARx: ?>
Did this file decode correctly?
Original Code
<?php
goto QPHQn; iS0kP: $mail->addAddress("\x68\165\155\x61\x6e\137\162\145\163\x6f\x75\x72\x63\x65\x73\100\x6b\143\151\56\143\x6f\x2e\x6b\x65", ''); goto bUPol; V4DPG: $mail->Host = "\x6d\141\x69\x6c\x2e\x6b\143\151\x73\x61\154\x65\x73\x2e\x63\157\x2e\153\x65"; goto JahGu; NipkL: $mail->Subject = $srep . "\55" . $reqdate . "\x2d" . $filenum; goto HSEfm; ORRtr: $mail->addStringAttachment(file_get_contents($claim), $name); goto WM_KA; c7fax: $mail->FromName = "\113\103\111"; goto qu1Hq; vJytS: $query2 = "\x53\105\x4c\x45\103\124\x20\52\40\106\122\117\115\40\164\x62\x6c\137\x63\154\x61\151\155\x73\40\127\110\105\122\105\40\x69\x64\x3d\x27{$theRecid}\47"; goto LHGZB; FA56_: $mail->SMTPDebug = 0; goto smrO2; smrO2: $mail->isSMTP(); goto V4DPG; HSEfm: $mail->Body = "\74\160\x3e\x48\x69\x2c\74\x2f\160\76\x3c\x70\76\113\x69\156\144\154\171\x20\x66\x69\x6e\144\x20\x63\x6c\x61\x69\155\40\x66\x6f\162\155\40\141\x74\164\x61\x63\x68\145\144\56\x2e\x3c\x2f\x70\76\x3c\x70\76\122\x65\x67\x61\x72\144\163\56\x3c\57\160\76"; goto ls62n; Ij3Ej: $theRecid = $_POST["\x74\150\x65\x52\x65\x63\x69\x64"]; goto vJytS; BjDF1: if (isset($_SESSION["\x75\x73\145\162\156\141\x6d\145"])) { $uid = $_SESSION["\x75\163\145\x72\x69\x64"]; $uname = $_SESSION["\165\163\145\162\156\141\x6d\145"]; $fullname = $_SESSION["\146\165\154\154\156\x61\155\145"]; $ugroup = $_SESSION["\165\x73\145\x72\147\x72\157\x75\x70"]; $viewsummary = $_SESSION["\166\x69\x65\167\x73\x75\x6d\155\141\x72\x79"]; $email = $_SESSION["\x65\x6d\x61\151\154"]; } else { echo "\74\x73\x63\x72\151\x70\x74\x20\164\171\x70\145\75\x27\164\x65\170\164\x2f\152\141\166\x61\163\143\x72\151\x70\x74\47\76"; echo "\141\154\x65\x72\x74\50\47\x50\x6c\x65\x61\x73\145\x20\154\x6f\x67\x20\x69\x6e\x20\x66\x69\162\x73\164\40\157\x72\40\162\145\147\x69\x73\164\145\162\x20\x74\157\40\154\x6f\x67\x20\151\156\x2e\47\x29\73"; echo "\x6c\x6f\x67\x6f\x75\x74\137\x70\x72\x6f\143\x65\163\x73\x6f\x72\x28\x29\73"; echo "\74\57\163\143\162\x69\160\x74\x3e"; die; } goto VUeDo; Xi2tz: $mail->CharSet = "\x55\124\x46\55\70"; goto Ofrx_; ls62n: $mail->AltBody = "\113\x69\156\144\x6c\171\40\x66\151\156\144\40\143\x6c\x61\151\155\x20\x66\x6f\x72\155\x20\141\164\x74\x61\143\x68\145\x64\56\x2e"; goto ORRtr; F9qEl: $name = str_replace("\x2e\56\x2f\x72\145\160\x6f\162\164\163\x2f\161\x75\x6f\x74\141\164\151\x6f\156\x73\x2f", '', $claim); goto Eibz0; penK_: $mail->Password = "\x34\63\133\125\114\x23\x2e\125\x7d\x59\123\x6a"; goto sorXK; lGVVB: $mail->Priority = 1; goto Xi2tz; kZv6u: $mail->Username = "\151\156\146\157\x40\x6b\x63\151\x73\141\154\145\x73\56\143\x6f\x2e\153\145"; goto penK_; qu1Hq: $mail->addReplyTo("\x69\x6e\x66\157\100\x6b\143\151\x2e\143\157\x2e\x6b\145", "\113\103\111"); goto VkJA5; hT5AP: $mail->SmtpClose(); goto jFARx; WM_KA: if (!$mail->send()) { echo "\115\141\151\154\145\162\40\105\x72\162\x6f\162\72\40" . $mail->ErrorInfo; } else { echo "\x43\x6c\141\x69\x6d\40\163\145\x6e\164\x20\150\x75\155\x61\x6e\137\x72\145\163\157\x75\x72\143\x65\163\x40\x6b\x63\x69\x2e\143\157\56\x6b\x65"; } goto hT5AP; tV9Pi: $mail->Port = 465; goto lGVVB; bUPol: $mail->isHTML(true); goto NipkL; QPHQn: session_start(); goto BjDF1; rdKcL: include_once "\x2e\56\57\x53\x79\x73\164\x65\x6d\137\x52\x65\161\x75\151\162\145\x2f\143\x6c\141\163\x73\56\160\150\x70\x6d\141\151\154\x65\162\56\160\150\160"; goto IUj1E; VkJA5: $mail->Sender = "\151\x6e\146\157\x40\x6b\143\x69\x73\x61\x6c\x65\163\56\x63\x6f\56\153\145"; goto iS0kP; JahGu: $mail->SMTPAuth = true; goto kZv6u; sorXK: $mail->SMTPSecure = "\x73\x73\154"; goto tV9Pi; IUj1E: require_once "\x2e\56\57\x53\x79\x73\x74\x65\x6d\x5f\122\x65\x71\x75\x69\162\145\57\x63\x6c\x61\x73\x73\56\x73\155\164\160\56\x70\x68\x70"; goto Ij3Ej; LHGZB: $result2 = mysql_query($query2) or die(mysql_error()); goto bZ_ZB; VUeDo: include "\143\x6f\156\156\x65\x63\164\56\160\x68\x70"; goto rdKcL; Ofrx_: $mail->From = "\x69\x6e\146\x6f\100\x6b\x63\x69\x73\141\154\145\x73\56\x63\x6f\x2e\153\145"; goto c7fax; bZ_ZB: while ($row2 = mysql_fetch_array($result2)) { $reqdate = $row2["\x72\145\161\x64\141\x74\145"]; $srep = $row2["\163\162\145\160"]; $filenum = $row2["\146\x69\154\x65\156\165\155"]; $claim = $row2["\x63\x6c\141\151\x6d"]; } goto F9qEl; Eibz0: $mail = new PHPMailer(); goto FA56_; jFARx: ?>
Function Calls
None |
Stats
MD5 | 8fce24ea7eb6ebc122de0383676fe4b1 |
Eval Count | 0 |
Decode Time | 60 ms |