Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

$server_addr = !@$_SERVER["\123\105\122\x56\x45\x52\137\101\x44\104\x52"] ? function_ex..

Decoded Output download

<?   
 $server_addr = !@$_SERVER["SERVER_ADDR"] ? function_exists("gethostbyname") ? @gethostbyname($_SERVER["SERVER_NAME"]) : "????" : @$_SERVER["SERVER_ADDR"];  
  ?>

Did this file decode correctly?

Original Code


 $server_addr = !@$_SERVER["\123\105\122\x56\x45\x52\137\101\x44\104\x52"] ? function_exists("\147\x65\x74\150\x6f\x73\x74\142\x79\x6e\x61\155\x65") ? @gethostbyname($_SERVER["\x53\x45\x52\126\105\x52\x5f\x4e\x41\115\105"]) : "\x3f\x3f\x3f\x3f" : @$_SERVER["\123\x45\122\126\105\122\137\101\104\x44\122"]; 
 

Function Calls

None

Variables

$server_addr ['TernaryOp', {'expr': ['FunctionCall', {'name': 'function_exists', 'params': [['Parameter', {'node': 'gethostbyname', 'is_ref': False}]]}], 'iftrue': ['Silence', {'expr': ['FunctionCall', {'name': 'gethostbyname', 'params': [['Parameter', {'node': ['ArrayOffset', {'expr': 'SERVER_NAME', 'node': ['Variable', {'name': '$_SERVER'}]}], 'is_ref': False}]]}]}], 'iffalse': '????'}]

Stats

MD5 5ad482e66e186735573221fed34b22ce
Eval Count 0
Decode Time 44 ms