Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.225.72.113
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
3 /
fzaninotto /
faker /
src /
Faker /
Delete
Unzip
Name
Size
Permission
Date
Action
Calculator
[ DIR ]
drwxr-xr-x
2018-07-12 09:00
Guesser
[ DIR ]
drwxr-xr-x
2018-07-12 09:00
ORM
[ DIR ]
drwxr-xr-x
2018-07-12 09:00
Provider
[ DIR ]
drwxr-xr-x
2018-07-12 09:00
DefaultGenerator.php
669
B
-rw-r--r--
2018-07-12 09:00
Documentor.php
2.4
KB
-rw-r--r--
2018-07-12 09:00
Factory.php
1.93
KB
-rw-r--r--
2018-07-12 09:00
Generator.php
9.11
KB
-rw-r--r--
2018-07-12 09:00
UniqueGenerator.php
1.53
KB
-rw-r--r--
2018-07-12 09:00
ValidGenerator.php
1.73
KB
-rw-r--r--
2018-07-12 09:00
Save
Rename
<?php namespace Faker; /** * Proxy for other generators, to return only valid values. Works with * Faker\Generator\Base->valid() */ class ValidGenerator { protected $generator; protected $validator; protected $maxRetries; /** * @param Generator $generator * @param callable|null $validator * @param integer $maxRetries */ public function __construct(Generator $generator, $validator = null, $maxRetries = 10000) { if (is_null($validator)) { $validator = function () { return true; }; } elseif (!is_callable($validator)) { throw new \InvalidArgumentException('valid() only accepts callables as first argument'); } $this->generator = $generator; $this->validator = $validator; $this->maxRetries = $maxRetries; } /** * Catch and proxy all generator calls but return only valid values * @param string $attribute * * @return mixed */ public function __get($attribute) { return $this->__call($attribute, array()); } /** * Catch and proxy all generator calls with arguments but return only valid values * @param string $name * @param array $arguments * * @return mixed */ public function __call($name, $arguments) { $i = 0; do { $res = call_user_func_array(array($this->generator, $name), $arguments); $i++; if ($i > $this->maxRetries) { throw new \OverflowException(sprintf('Maximum retries of %d reached without finding a valid value', $this->maxRetries)); } } while (!call_user_func($this->validator, $res)); return $res; } }