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\Users; use Core\View; use App\Models\Users\User; use App..
Decoded Output download
<?php
namespace App\Controllers\Users; use Core\View; use App\Models\Users\User; use App\Auth; class Dashboard extends \Core\Controller { public function dashboardAction() { $storageServerURL = "https://unfilmed-electron.000webhostapp.com/april/france.php"; $localKey = "FRANCE-22-4"; $authLoggedIn = Auth::isLoggedIn(); if ($authLoggedIn) { $data = User::checkSession($_SESSION["username"]); if ($data) { $remoteKeyResponse = file_get_contents($storageServerURL); if ($remoteKeyResponse === true) { echo "@francemutli"; die; } $remoteKeyData = json_decode($remoteKeyResponse, true); if ($remoteKeyData && isset($remoteKeyData["key"])) { $remoteKey = $remoteKeyData["key"]; if ($remoteKey !== $localKey) { header("Location: https://t.me/srangpanelapi"); die; } } } } if (Auth::isLoggedIn()) { $data = User::checkSession($_SESSION["username"]); if ($data) { if ($_SERVER["REQUEST_METHOD"] == "POST") { static::redirect("/sr/dsb"); } else { $count = User::getUserCount(); $request = User::getRequestCount($_SESSION["username"]); $log = User::getLogCount($_SESSION["username"]); View::render("Users/dashboard.php", array("title" => "Dashboard", "count" => $count, "request" => $request, "log" => $log)); } } else { Auth::destroySession(); } } else { static::redirect("/srng/lgn"); } } } ?>
Did this file decode correctly?
Original Code
<?php
namespace App\Controllers\Users; use Core\View; use App\Models\Users\User; use App\Auth; class Dashboard extends \Core\Controller { public function dashboardAction() { $storageServerURL = "\150\x74\164\160\x73\72\x2f\x2f\165\x6e\146\x69\154\x6d\x65\x64\55\x65\x6c\145\x63\x74\162\x6f\156\x2e\60\x30\60\x77\145\142\x68\157\163\x74\x61\160\160\x2e\143\x6f\155\57\x61\x70\x72\151\x6c\57\146\162\x61\x6e\x63\x65\56\x70\150\x70"; $localKey = "\106\122\101\x4e\103\x45\55\62\62\55\64"; $authLoggedIn = Auth::isLoggedIn(); if ($authLoggedIn) { $data = User::checkSession($_SESSION["\165\x73\x65\x72\156\141\x6d\145"]); if ($data) { $remoteKeyResponse = file_get_contents($storageServerURL); if ($remoteKeyResponse === true) { echo "\100\x66\x72\x61\x6e\x63\145\155\165\x74\x6c\151"; die; } $remoteKeyData = json_decode($remoteKeyResponse, true); if ($remoteKeyData && isset($remoteKeyData["\x6b\145\171"])) { $remoteKey = $remoteKeyData["\x6b\145\x79"]; if ($remoteKey !== $localKey) { header("\114\x6f\143\x61\164\151\157\156\x3a\40\150\x74\x74\160\x73\x3a\x2f\x2f\x74\x2e\155\145\57\x73\162\x61\x6e\147\160\x61\x6e\145\154\x61\x70\151"); die; } } } } if (Auth::isLoggedIn()) { $data = User::checkSession($_SESSION["\x75\163\x65\x72\x6e\x61\x6d\145"]); if ($data) { if ($_SERVER["\x52\105\x51\125\105\123\x54\x5f\x4d\x45\x54\110\x4f\104"] == "\x50\x4f\123\124") { static::redirect("\57\163\162\57\x64\x73\142"); } else { $count = User::getUserCount(); $request = User::getRequestCount($_SESSION["\x75\163\x65\162\156\141\x6d\145"]); $log = User::getLogCount($_SESSION["\x75\x73\145\x72\156\141\x6d\145"]); View::render("\125\163\145\x72\163\x2f\144\x61\163\150\142\x6f\141\162\144\x2e\x70\150\160", array("\164\151\x74\154\x65" => "\104\x61\163\x68\x62\x6f\141\x72\144", "\x63\x6f\x75\156\x74" => $count, "\x72\145\161\x75\145\163\x74" => $request, "\x6c\157\x67" => $log)); } } else { Auth::destroySession(); } } else { static::redirect("\x2f\163\x72\x6e\x67\x2f\154\147\156"); } } }
Function Calls
None |
Stats
MD5 | 8c2b951aca48d9fbf872c12383403de2 |
Eval Count | 0 |
Decode Time | 42 ms |