Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
wiki.bernardino.org /
includes /
utils /
Delete
Unzip
Name
Size
Permission
Date
Action
AutoloadGenerator.php
10.85
KB
-rw-r--r--
2016-11-28 20:20
AvroValidator.php
5.23
KB
-rw-r--r--
2016-11-28 20:20
BatchRowIterator.php
8.17
KB
-rw-r--r--
2016-11-28 20:20
BatchRowUpdate.php
3.62
KB
-rw-r--r--
2016-11-28 20:20
BatchRowWriter.php
2.22
KB
-rw-r--r--
2016-11-28 20:20
FileContentsHasher.php
3.27
KB
-rw-r--r--
2016-11-28 20:20
MWCryptHKDF.php
4.05
KB
-rw-r--r--
2016-11-28 20:20
MWCryptRand.php
2.94
KB
-rw-r--r--
2016-11-28 20:20
MWFileProps.php
3.98
KB
-rw-r--r--
2016-11-28 20:20
MWRestrictions.php
3.81
KB
-rw-r--r--
2016-11-28 20:20
README
531
B
-rw-r--r--
2016-11-28 20:20
RowUpdateGenerator.php
1.34
KB
-rw-r--r--
2016-11-28 20:20
UIDGenerator.php
22.95
KB
-rw-r--r--
2016-11-28 20:20
ZipDirectoryReader.php
21.63
KB
-rw-r--r--
2016-11-28 20:20
Save
Rename
<?php /** * A cryptographic random generator class used for generating secret keys * * This is based in part on Drupal code as well as what we used in our own code * prior to introduction of this class. * * 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., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html * * @author Daniel Friesen * @file */ use MediaWiki\MediaWikiServices; class MWCryptRand { /** * @return CryptRand */ protected static function singleton() { return MediaWikiServices::getInstance()->getCryptRand(); } /** * Return a boolean indicating whether or not the source used for cryptographic * random bytes generation in the previously run generate* call * was cryptographically strong. * * @return bool Returns true if the source was strong, false if not. */ public static function wasStrong() { return self::singleton()->wasStrong(); } /** * Generate a run of (ideally) cryptographically random data and return * it in raw binary form. * You can use MWCryptRand::wasStrong() if you wish to know if the source used * was cryptographically strong. * * @param int $bytes The number of bytes of random data to generate * @param bool $forceStrong Pass true if you want generate to prefer cryptographically * strong sources of entropy even if reading from them may steal * more entropy from the system than optimal. * @return string Raw binary random data */ public static function generate( $bytes, $forceStrong = false ) { return self::singleton()->generate( $bytes, $forceStrong ); } /** * Generate a run of (ideally) cryptographically random data and return * it in hexadecimal string format. * You can use MWCryptRand::wasStrong() if you wish to know if the source used * was cryptographically strong. * * @param int $chars The number of hex chars of random data to generate * @param bool $forceStrong Pass true if you want generate to prefer cryptographically * strong sources of entropy even if reading from them may steal * more entropy from the system than optimal. * @return string Hexadecimal random data */ public static function generateHex( $chars, $forceStrong = false ) { return self::singleton()->generateHex( $chars, $forceStrong ); } }