编辑:class-phpass.php
<?php /** * Portable PHP password hashing framework. * @package phpass * @since 2.5.0 * @version 0.5 / WordPress * @link https://www.openwall.com/phpass/ */ # # Portable PHP password hashing framework. # # Version 0.5.4 / WordPress. # # Written by Solar Designer <solar at openwall.com> in 2004-2006 and placed in # the public domain. Revised in subsequent years, still public domain. # # There's absolutely no warranty. # # The homepage URL for this framework is: # # http://www.openwall.com/phpass/ # # Please be sure to update the Version line if you edit this file in any way. # It is suggested that you leave the main version number intact, but indicate # your project name (after the slash) and add your own revision information. # # Please do not change the "private" password hashing method implemented in # here, thereby making your hashes incompatible. However, if you must, please # change the hash type identifier (the "$P$") to something different. # # Obviously, since this code is in the public domain, the above are not # requirements (there can be none), but merely suggestions. # /** * Portable PHP password hashing framework. * * @package phpass * @version 0.5 / WordPress * @link https://www.openwall.com/phpass/ * @since 2.5.0 */ class PasswordHash { var $itoa64; var $iteration_count_log2; var $portable_hashes; var $random_state; function __construct($iteration_count_log2, $portable_hashes) { $this->itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; if ($iteration_count_log2 < 4 || $iteration_count_log2 > 31) { $iteration_count_log2 = 8; } $this->iteration_count_log2 = $iteration_count_log2; $this->portable_hashes = $portable_hashes; $this->random_state = microtime(); if (function_exists('getmypid')) { $this->random_state .= getmypid(); } } function PasswordHash($iteration_count_log2, $portable_hashes) { self::__construct($iteration_count_log2, $portable_hashes); } function get_random_bytes($count) { $output = ''; if (@is_readable('/dev/urandom') && ($fh = @fopen('/dev/urandom', 'rb'))) { $output = fread($fh, $count); fclose($fh); } if (strlen($output) < $count) { $output = ''; for ($i = 0; $i < $count; $i += 16) { $this->random_state = md5(microtime() . $this->random_state); $output .= md5($this->random_state, TRUE); } $output = substr($output, 0, $count); } return $output; } function encode64($input, $count) { $output = ''; $i = 0; do { $value = ord($input[$i++]); $output .= $this->itoa64[$value & 0x3f]; if ($i < $count) { $value |= ord($input[$i]) << 8; } $output .= $this->itoa64[($value >> 6) & 0x3f]; if ($i++ >= $count) { break; } if ($i < $count) { $value |= ord($input[$i]) << 16; } $output .= $this->itoa64[($value >> 12) & 0x3f]; if ($i++ >= $count) { break; } $output .= $this->itoa64[($value >> 18) & 0x3f]; } while ($i < $count); return $output; } function gensalt_private($input) { $output = '$P$'; $output .= $this->itoa64[min($this->iteration_count_log2 + 5, 30)]; $output .= $this->encode64($input, 6); return $output; } function crypt_private($password, $setting) { $output = '*0'; if (substr($setting, 0, 2) === $output) { $output = '*1'; } $id = substr($setting, 0, 3); # We use "$P$", phpBB3 uses "$H$" for the same thing if ($id !== '$P$' && $id !== '$H$') { return $output; } $count_log2 = strpos($this->itoa64, $setting[3]); if ($count_log2 < 7 || $count_log2 > 30) { return $output; } $count = 1 << $count_log2; $salt = substr($setting, 4, 8); if (strlen($salt) !== 8) { return $output; } # We were kind of forced to use MD5 here since it's the only # cryptographic primitive that was available in all versions # of PHP in use. To implement our own low-level crypto in PHP # would have resulted in much worse performance and # consequently in lower iteration counts and hashes that are # quicker to crack (by non-PHP code). $hash = md5($salt . $password, TRUE); do { $hash = md5($hash . $password, TRUE); } while (--$count); $output = substr($setting, 0, 12); $output .= $this->encode64($hash, 16); return $output; } function gensalt_blowfish($input) { # This one needs to use a different order of characters and a # different encoding scheme from the one in encode64() above. # We care because the last character in our encoded string will # only represent 2 bits. While two known implementations of # bcrypt will happily accept and correct a salt string which # has the 4 unused bits set to non-zero, we do not want to take # chances and we also do not want to waste an additional byte # of entropy. $itoa64 = './ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; $output = '$2a$'; $output .= chr((int)(ord('0') + $this->iteration_count_log2 / 10)); $output .= chr(ord('0') + $this->iteration_count_log2 % 10); $output .= '$'; $i = 0; do { $c1 = ord($input[$i++]); $output .= $itoa64[$c1 >> 2]; $c1 = ($c1 & 0x03) << 4; if ($i >= 16) { $output .= $itoa64[$c1]; break; } $c2 = ord($input[$i++]); $c1 |= $c2 >> 4; $output .= $itoa64[$c1]; $c1 = ($c2 & 0x0f) << 2; $c2 = ord($input[$i++]); $c1 |= $c2 >> 6; $output .= $itoa64[$c1]; $output .= $itoa64[$c2 & 0x3f]; } while (1); return $output; } function HashPassword($password) { if ( strlen( $password ) > 4096 ) { return '*'; } $random = ''; if (CRYPT_BLOWFISH === 1 && !$this->portable_hashes) { $random = $this->get_random_bytes(16); $hash = crypt($password, $this->gensalt_blowfish($random)); if (strlen($hash) === 60) { return $hash; } } if (strlen($random) < 6) { $random = $this->get_random_bytes(6); } $hash = $this->crypt_private($password, $this->gensalt_private($random)); if (strlen($hash) === 34) { return $hash; } # Returning '*' on error is safe here, but would _not_ be safe # in a crypt(3)-like function used _both_ for generating new # hashes and for validating passwords against existing hashes. return '*'; } function CheckPassword($password, $stored_hash) { if ( strlen( $password ) > 4096 ) { return false; } $hash = $this->crypt_private($password, $stored_hash); if ($hash[0] === '*') { $hash = crypt($password, $stored_hash); } # This is not constant-time. In order to keep the code simple, # for timing safety we currently rely on the salts being # unpredictable, which they are at least in the non-fallback # cases (that is, when we use /dev/urandom and bcrypt). return $hash === $stored_hash; } }
保存文件
位置:
home
/
fembzvrs
/
zimeza.com
/
wp-includes
批量上传
创建
创建
批量权限
批量删除
名称
权限
大小
修改时间
操作
↑ 返回上级
-
-
-
-
ID3
drwxr-xr-x
-
2025-07-06 02:11
权限
删除
重命名
IXR
drwxr-xr-x
-
2025-07-18 20:29
权限
删除
重命名
PHPMailer
drwxr-xr-x
-
2026-01-29 20:52
权限
删除
重命名
Requests
drwxr-xr-x
-
2025-07-06 02:11
权限
删除
重命名
SimplePie
drwxr-xr-x
-
2025-07-06 02:11
权限
删除
重命名
Text
drwxr-xr-x
-
2025-07-06 02:11
权限
删除
重命名
abilities-api
drwxr-xr-x
-
2025-12-03 02:17
权限
删除
重命名
assets
drwxr-xr-x
-
2025-07-06 02:11
权限
删除
重命名
block-bindings
drwxr-xr-x
-
2025-12-21 04:19
权限
删除
重命名
block-patterns
drwxr-xr-x
-
2025-12-21 04:19
权限
删除
重命名
block-supports
drwxr-xr-x
-
2025-12-03 02:17
权限
删除
重命名
blocks
drwxr-xr-x
-
2025-12-03 02:17
权限
删除
重命名
certificates
drwxr-xr-x
-
2025-07-06 02:11
权限
删除
重命名
css
drwxr-xr-x
-
2025-07-06 02:11
权限
删除
重命名
customize
drwxr-xr-x
-
2025-07-06 17:21
权限
删除
重命名
fonts
drwxr-xr-x
-
2025-07-06 02:11
权限
删除
重命名
html-api
drwxr-xr-x
-
2025-12-21 04:20
权限
删除
重命名
images
drwxr-xr-x
-
2025-07-06 02:11
权限
删除
重命名
interactivity-api
drwxr-xr-x
-
2025-12-21 04:20
权限
删除
重命名
js
drwxr-xr-x
-
2025-12-03 02:17
权限
删除
重命名
l10n
drwxr-xr-x
-
2025-12-21 04:21
权限
删除
重命名
php-compat
drwxr-xr-x
-
2025-07-06 02:11
权限
删除
重命名
pomo
drwxr-xr-x
-
2025-07-06 02:11
权限
删除
重命名
rest-api
drwxr-xr-x
-
2025-12-21 04:21
权限
删除
重命名
sitemaps
drwxr-xr-x
-
2025-07-06 02:11
权限
删除
重命名
sodium_compat
drwxr-xr-x
-
2025-07-06 02:11
权限
删除
重命名
style-engine
drwxr-xr-x
-
2025-07-06 02:11
权限
删除
重命名
theme-compat
drwxr-xr-x
-
2026-05-13 12:01
权限
删除
重命名
widgets
drwxr-xr-x
-
2025-12-21 04:21
权限
删除
重命名
admin-bar.php
-rw-r--r--
36.1 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
atomlib.php
-rw-r--r--
11.9 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
block-bindings.php
-rw-r--r--
7.35 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
block-i18n.json
-rw-r--r--
316 B
2021-08-11 13:08
编辑
下载
权限
删除
重命名
block-template-utils.php
-rw-r--r--
61.02 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
block-template.php
-rw-r--r--
15 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
blocks.php
-rw-r--r--
112.05 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
canonical.php
-rw-r--r--
33.83 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
capabilities.php
-rw-r--r--
42.63 KB
2026-02-04 02:17
编辑
下载
权限
删除
重命名
class-IXR.php
-rw-r--r--
2.55 KB
2025-01-23 00:48
编辑
下载
权限
删除
重命名
class-avif-info.php
-rw-r--r--
28.92 KB
2024-04-26 19:02
编辑
下载
权限
删除
重命名
class-feed.php
-rw-r--r--
539 B
2024-10-01 02:50
编辑
下载
权限
删除
重命名
class-phpass.php
-rw-r--r--
6.61 KB
2024-09-18 01:08
编辑
下载
权限
删除
重命名
class-requests.php
-rw-r--r--
2.18 KB
2023-04-05 17:12
编辑
下载
权限
删除
重命名
class-simplepie.php
-rw-r--r--
453 B
2024-10-01 02:50
编辑
下载
权限
删除
重命名
class-walker-category-dropdown.php
-rw-r--r--
2.41 KB
2023-09-14 16:46
编辑
下载
权限
删除
重命名
class-walker-nav-menu.php
-rw-r--r--
11.76 KB
2025-01-22 02:26
编辑
下载
权限
删除
重命名
class-wp-admin-bar.php
-rw-r--r--
17.46 KB
2024-07-18 04:52
编辑
下载
权限
删除
重命名
class-wp-ajax-response.php
-rw-r--r--
5.14 KB
2022-09-12 19:47
编辑
下载
权限
删除
重命名
class-wp-application-passwords.php
-rw-r--r--
16.7 KB
2025-04-03 18:38
编辑
下载
权限
删除
重命名
class-wp-block-editor-context.php
-rw-r--r--
1.32 KB
2022-09-12 19:47
编辑
下载
权限
删除
重命名
class-wp-block-list.php
-rw-r--r--
4.6 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
class-wp-block-metadata-registry.php
-rw-r--r--
11.62 KB
2025-03-06 03:17
编辑
下载
权限
删除
重命名
class-wp-block-pattern-categories-registry.php
-rw-r--r--
5.32 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
class-wp-block-patterns-registry.php
-rw-r--r--
10.99 KB
2026-03-11 02:16
编辑
下载
权限
删除
重命名
class-wp-block-styles-registry.php
-rw-r--r--
6.34 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
class-wp-block-template.php
-rw-r--r--
1.99 KB
2024-09-20 06:07
编辑
下载
权限
删除
重命名
class-wp-block-templates-registry.php
-rw-r--r--
7.02 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
class-wp-block-type-registry.php
-rw-r--r--
4.91 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
class-wp-block-type.php
-rw-r--r--
16.86 KB
2024-05-02 04:01
编辑
下载
权限
删除
重命名
class-wp-block.php
-rw-r--r--
24.23 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
class-wp-classic-to-block-menu-converter.php
-rw-r--r--
3.97 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
class-wp-customize-manager.php
-rw-r--r--
198.38 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
class-wp-customize-panel.php
-rw-r--r--
10.46 KB
2025-01-23 00:48
编辑
下载
权限
删除
重命名
class-wp-date-query.php
-rw-r--r--
35.3 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
class-wp-dependencies.php
-rw-r--r--
16.61 KB
2026-02-04 02:17
编辑
下载
权限
删除
重命名
class-wp-duotone.php
-rw-r--r--
39.83 KB
2024-06-14 16:18
编辑
下载
权限
删除
重命名
class-wp-feed-cache-transient.php
-rw-r--r--
3.23 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
class-wp-http-ixr-client.php
-rw-r--r--
3.42 KB
2026-03-11 02:16
编辑
下载
权限
删除
重命名
class-wp-list-util.php
-rw-r--r--
7.27 KB
2024-02-28 03:38
编辑
下载
权限
删除
重命名
class-wp-locale-switcher.php
-rw-r--r--
6.62 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
class-wp-matchesmapregex.php
-rw-r--r--
1.79 KB
2024-02-06 06:25
编辑
下载
权限
删除
重命名
class-wp-oembed.php
-rw-r--r--
30.93 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
class-wp-paused-extensions-storage.php
-rw-r--r--
4.99 KB
2024-09-03 22:19
编辑
下载
权限
删除
重命名
class-wp-post-type.php
-rw-r--r--
29.96 KB
2025-02-09 16:09
编辑
下载
权限
删除
重命名
class-wp-recovery-mode-cookie-service.php
-rw-r--r--
6.72 KB
2022-10-04 07:59
编辑
下载
权限
删除
重命名
class-wp-recovery-mode-email-service.php
-rw-r--r--
10.92 KB
2023-05-02 19:45
编辑
下载
权限
删除
重命名
class-wp-recovery-mode-key-service.php
-rw-r--r--
4.77 KB
2025-02-17 16:24
编辑
下载
权限
删除
重命名
class-wp-recovery-mode-link-service.php
-rw-r--r--
3.38 KB
2022-09-12 19:47
编辑
下载
权限
删除
重命名
class-wp-recovery-mode.php
-rw-r--r--
11.18 KB
2025-02-23 16:11
编辑
下载
权限
删除
重命名
class-wp-rewrite.php
-rw-r--r--
62.19 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
class-wp-script-modules.php
-rw-r--r--
32.15 KB
2026-02-04 02:17
编辑
下载
权限
删除
重命名
class-wp-simplepie-file.php
-rw-r--r--
3.47 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
class-wp-simplepie-sanitize-kses.php
-rw-r--r--
1.87 KB
2025-01-23 00:48
编辑
下载
权限
删除
重命名
class-wp-styles.php
-rw-r--r--
12.54 KB
2026-02-04 02:17
编辑
下载
权限
删除
重命名
class-wp-tax-query.php
-rw-r--r--
19.12 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
class-wp-term-query.php
-rw-r--r--
39.99 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
class-wp-term.php
-rw-r--r--
5.17 KB
2022-09-12 19:47
编辑
下载
权限
删除
重命名
class-wp-text-diff-renderer-inline.php
-rw-r--r--
979 B
2024-02-15 00:27
编辑
下载
权限
删除
重命名
class-wp-text-diff-renderer-table.php
-rw-r--r--
18.44 KB
2025-01-23 00:48
编辑
下载
权限
删除
重命名
class-wp-textdomain-registry.php
-rw-r--r--
10.24 KB
2024-11-20 07:50
编辑
下载
权限
删除
重命名
class-wp-url-pattern-prefixer.php
-rw-r--r--
4.69 KB
2025-02-19 03:32
编辑
下载
权限
删除
重命名
class-wp-user-meta-session-tokens.php
-rw-r--r--
2.94 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
class-wp-user-query.php
-rw-r--r--
43.13 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
class-wp-walker.php
-rw-r--r--
13.01 KB
2024-07-26 11:56
编辑
下载
权限
删除
重命名
class-wp.php
-rw-r--r--
25.86 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
class.wp-dependencies.php
-rw-r--r--
373 B
2022-09-20 18:17
编辑
下载
权限
删除
重命名
class.wp-scripts.php
-rw-r--r--
343 B
2022-09-20 18:17
编辑
下载
权限
删除
重命名
class.wp-styles.php
-rw-r--r--
338 B
2022-09-20 18:17
编辑
下载
权限
删除
重命名
comment-template.php
-rw-r--r--
100.73 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
comment.php
-rw-r--r--
130.93 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
compat-utf8.php
-rw-r--r--
19.1 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
compat.php
-rw-r--r--
17.41 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
date.php
-rw-r--r--
400 B
2022-06-17 15:20
编辑
下载
权限
删除
重命名
default-constants.php
-rw-r--r--
11.1 KB
2024-10-01 03:58
编辑
下载
权限
删除
重命名
default-filters.php
-rw-r--r--
37.02 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
deprecated.php
-rw-r--r--
188.13 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
error-protection.php
-rw-r--r--
4.02 KB
2023-05-02 19:45
编辑
下载
权限
删除
重命名
error_log
-rw-r--r--
564 B
2026-05-14 05:46
编辑
下载
权限
删除
重命名
feed-atom-comments.php
-rw-r--r--
5.38 KB
2024-03-04 17:41
编辑
下载
权限
删除
重命名
feed-atom.php
-rw-r--r--
3.05 KB
2025-01-23 00:48
编辑
下载
权限
删除
重命名
feed-rdf.php
-rw-r--r--
2.61 KB
2020-01-29 05:45
编辑
下载
权限
删除
重命名
feed-rss.php
-rw-r--r--
1.16 KB
2020-01-29 05:45
编辑
下载
权限
删除
重命名
feed-rss2.php
-rw-r--r--
3.71 KB
2020-01-29 05:45
编辑
下载
权限
删除
重命名
feed.php
-rw-r--r--
24.6 KB
2026-02-04 02:17
编辑
下载
权限
删除
重命名
formatting.php
-rw-r--r--
346.43 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
functions.php
-rw-r--r--
281.84 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
functions.wp-styles.php
-rw-r--r--
8.44 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
global-styles-and-settings.php
-rw-r--r--
20.71 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
l10n.php
-rw-r--r--
67.18 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
load.php
-rw-r--r--
55.19 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
media-template.php
-rw-r--r--
61.72 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
media.php
-rw-r--r--
216.06 KB
2026-03-11 02:16
编辑
下载
权限
删除
重命名
ms-default-constants.php
-rw-r--r--
4.81 KB
2024-06-14 00:50
编辑
下载
权限
删除
重命名
ms-default-filters.php
-rw-r--r--
6.48 KB
2023-02-24 06:23
编辑
下载
权限
删除
重命名
ms-files.php
-rw-r--r--
2.79 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
ms-functions.php
-rw-r--r--
89.69 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
ms-load.php
-rw-r--r--
19.42 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
ms-network.php
-rw-r--r--
3.69 KB
2023-05-02 15:26
编辑
下载
权限
删除
重命名
ms-site.php
-rw-r--r--
40.74 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
post.php
-rw-r--r--
289.13 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
rest-api.php
-rw-r--r--
98.29 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
revision.php
-rw-r--r--
30.02 KB
2025-01-28 04:07
编辑
下载
权限
删除
重命名
robots-template.php
-rw-r--r--
5.06 KB
2022-04-06 19:33
编辑
下载
权限
删除
重命名
script-loader.php
-rw-r--r--
154.63 KB
2026-02-04 02:17
编辑
下载
权限
删除
重命名
spl-autoload-compat.php
-rw-r--r--
441 B
2020-11-12 16:17
编辑
下载
权限
删除
重命名
style-engine.php
-rw-r--r--
7.39 KB
2024-05-03 08:47
编辑
下载
权限
删除
重命名
template.php
-rw-r--r--
35.97 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
theme-i18n.json
-rw-r--r--
1.69 KB
2026-02-04 02:17
编辑
下载
权限
删除
重命名
update.php
-rw-r--r--
37.45 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
user.php
-rw-r--r--
173.89 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
utf8.php
-rw-r--r--
7.09 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
version.php
-rw-r--r--
1.08 KB
2026-03-12 02:16
编辑
下载
权限
删除
重命名
wp-db.php
-rw-r--r--
445 B
2022-07-22 02:45
编辑
下载
权限
删除
重命名