Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
public function method() { $a = null; $a = Hash::get(); if(!empty($a..
Decoded Output download
<? public function method()
{
$a = null;
$a = Hash::get();
if(!empty($a)){
$a_1 = url("/admin/license");
$b_2 = url("/admin/login");
$c_3 = url('/');
if(URL::current()!= $a_1 and URL::current()!= $b_2 and URL::current()!= $c_3){
if(isset($_COOKIE['checkhttps'])){
$cc = $_COOKIE['checkhttps'];
if (!DB::table("admins")->where("id", 1)->where("license", $cc)->exists()) { header("Location: license"); }
}else{
$check = true;
if(isset($a['status'])){
if(!$a['status']){
$c = "c" . "o" . "d" . "e" . "s" . "e" . "l"
. "l" . "m" . "a" . "r" . "k" . "e" . "t" . "*"
. "l" . "i" . "c" . "e" . "n" . "c" . "e" . "*"
. "e" . "r" . "r" . "o" . "r";
return Http::get($c);
}
}else{
$c = "c" . "o" . "d" . "e" . "s" . "e" . "l"
. "l" . "m" . "a" . "r" . "k" . "e" . "t" . "*"
. "l" . "i" . "c" . "e" . "n" . "c" . "e" . "*"
. "e" . "r" . "r" . "o" . "r";
return Http::get($c);
}
}
}else{
}
}else{
$c = "c" . "o" . "d" . "e" . "s" . "e" . "l"
. "l" . "m" . "a" . "r" . "k" . "e" . "t" . "*"
. "l" . "i" . "c" . "e" . "n" . "c" . "e" . "*"
. "e" . "r" . "r" . "o" . "r";
return Http::get($c);
}
return $this->getMethod();
} ?>
Did this file decode correctly?
Original Code
public function method()
{
$a = null;
$a = Hash::get();
if(!empty($a)){
$a_1 = url("\x2f\141\144\155\x69\156\x2f\x6c\151\143\x65\156\163\x65");
$b_2 = url("\x2f\141\x64\155\x69\156\57\x6c\157\x67\151\x6e");
$c_3 = url('/');
if(URL::current()!= $a_1 and URL::current()!= $b_2 and URL::current()!= $c_3){
if(isset($_COOKIE['checkhttps'])){
$cc = $_COOKIE['checkhttps'];
if (!DB::table("\141\x64\155\151\x6e\x73")->where("\x69\144", 1)->where("\154\x69\x63\x65\x6e\x73\145", $cc)->exists()) { header("\114\x6f\143\141\164\x69\157\156\72\40\x6c\x69\x63\x65\156\163\x65"); }
}else{
$check = true;
if(isset($a['status'])){
if(!$a['status']){
$c = "\143" . "\157" . "\x64" . "\145" . "\163" . "\145" . "\154"
. "\x6c" . "\155" . "\x61" . "\162" . "\x6b" . "\x65" . "\x74" . "\52"
. "\154" . "\x69" . "\143" . "\145" . "\x6e" . "\x63" . "\145" . "\52"
. "\x65" . "\162" . "\162" . "\157" . "\162";
return Http::get($c);
}
}else{
$c = "\143" . "\157" . "\x64" . "\145" . "\163" . "\145" . "\154"
. "\x6c" . "\155" . "\x61" . "\162" . "\x6b" . "\x65" . "\x74" . "\52"
. "\154" . "\x69" . "\143" . "\145" . "\x6e" . "\x63" . "\145" . "\52"
. "\x65" . "\162" . "\162" . "\157" . "\162";
return Http::get($c);
}
}
}else{
}
}else{
$c = "\143" . "\157" . "\x64" . "\145" . "\163" . "\145" . "\154"
. "\x6c" . "\155" . "\x61" . "\162" . "\x6b" . "\x65" . "\x74" . "\52"
. "\154" . "\x69" . "\143" . "\145" . "\x6e" . "\x63" . "\145" . "\52"
. "\x65" . "\162" . "\162" . "\157" . "\162";
return Http::get($c);
}
return $this->getMethod();
}
Function Calls
None |
Stats
MD5 | 15b9c25ce3ad44f6b020cf00fee0abe6 |
Eval Count | 0 |
Decode Time | 49 ms |