Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
: 172.16.0.66 | : 172.16.0.254
Cant Read [ /etc/named.conf ]
7.3.25
SYSTEM
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
[ A ]
[ C ]
[ D ]
C: /
xampp7 /
phpMyAdmin /
vendor /
symfony /
polyfill-util /
[ HOME SHELL ]
Name
Size
Permission
Action
.mad-root
0
B
-rw-rw-rw-
Binary.php
436
B
-rw-rw-rw-
BinaryNoFuncOverload.php
1.42
KB
-rw-rw-rw-
BinaryOnFuncOverload.php
1.6
KB
-rw-rw-rw-
LICENSE
1.04
KB
-rw-rw-rw-
README.md
374
B
-rw-rw-rw-
TestListener.php
1.02
KB
-rw-rw-rw-
TestListenerForV5.php
2.15
KB
-rw-rw-rw-
TestListenerForV6.php
2.08
KB
-rw-rw-rw-
TestListenerForV7.php
2.25
KB
-rw-rw-rw-
TestListenerTrait.php
4.97
KB
-rw-rw-rw-
composer.json
880
B
-rw-rw-rw-
pwnkit
10.99
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TestListenerTrait.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Polyfill\Util; /** * @author Nicolas Grekas <p@tchwork.com> */ class TestListenerTrait { public static $enabledPolyfills; public function startTestSuite($mainSuite) { if (null !== self::$enabledPolyfills) { return; } self::$enabledPolyfills = false; $SkippedTestError = class_exists('PHPUnit\Framework\SkippedTestError') ? 'PHPUnit\Framework\SkippedTestError' : 'PHPUnit_Framework_SkippedTestError'; foreach ($mainSuite->tests() as $suite) { $testClass = $suite->getName(); if (!$tests = $suite->tests()) { continue; } $testedClass = new \ReflectionClass($testClass); if (preg_match('{^ \* @requires PHP (.*)}mi', $testedClass->getDocComment(), $m) && version_compare($m[1], \PHP_VERSION, '>')) { continue; } if (!preg_match('/^(.+)\\\\Tests(\\\\.*)Test$/', $testClass, $m)) { $mainSuite->addTest(TestListener::warning('Unknown naming convention for '.$testClass)); continue; } if (!class_exists($m[1].$m[2])) { continue; } $testedClass = new \ReflectionClass($m[1].$m[2]); $bootstrap = new \SplFileObject(\dirname($testedClass->getFileName()).'/bootstrap.php'); $warnings = array(); $defLine = null; foreach (new \RegexIterator($bootstrap, '/define\(\'/') as $defLine) { preg_match('/define\(\'(?P<name>.+)\'/', $defLine, $matches); if (\defined($matches['name'])) { continue; } try { eval($defLine); } catch (\PHPUnit_Framework_Exception $ex){ $warnings[] = TestListener::warning($ex->getMessage()); } catch (\PHPUnit\Framework\Exception $ex) { $warnings[] = TestListener::warning($ex->getMessage()); } } $bootstrap->rewind(); foreach (new \RegexIterator($bootstrap, '/return p\\\\'.$testedClass->getShortName().'::/') as $defLine) { if (!preg_match('/^\s*function (?P<name>[^\(]++)(?P<signature>\(.*\)(?: ?: [^ ]++)?) \{ (?<return>return p\\\\'.$testedClass->getShortName().'::[^\(]++)(?P<args>\([^\)]*+\)); \}$/', $defLine, $f)) { $warnings[] = TestListener::warning('Invalid line in bootstrap.php: '.trim($defLine)); continue; } $testNamespace = substr($testClass, 0, strrpos($testClass, '\\')); if (\function_exists($testNamespace.'\\'.$f['name'])) { continue; } try { $r = new \ReflectionFunction($f['name']); if ($r->isUserDefined()) { throw new \ReflectionException(); } if ('idn_to_ascii' === $f['name'] || 'idn_to_utf8' === $f['name']) { $defLine = sprintf('return INTL_IDNA_VARIANT_2003 === $variant ? \\%s($domain, $options, $variant) : \\%1$s%s', $f['name'], $f['args']); } elseif (false !== strpos($f['signature'], '&') && 'idn_to_ascii' !== $f['name'] && 'idn_to_utf8' !== $f['name']) { $defLine = sprintf('return \\%s%s', $f['name'], $f['args']); } else { $defLine = sprintf("return \\call_user_func_array('%s', \\func_get_args())", $f['name']); } } catch (\ReflectionException $e) { $defLine = sprintf("throw new \\{$SkippedTestError}('Internal function not found: %s')", $f['name']); } eval(<<<EOPHP namespace {$testNamespace}; use Symfony\Polyfill\Util\TestListenerTrait; use {$testedClass->getNamespaceName()} as p; function {$f['name']}{$f['signature']} { if ('{$testClass}' === TestListenerTrait::\$enabledPolyfills) { {$f['return']}{$f['args']}; } {$defLine}; } EOPHP ); } if (!$warnings && null === $defLine) { $warnings[] = new $SkippedTestError('No Polyfills found in bootstrap.php for '.$testClass); } else { $mainSuite->addTest(new TestListener($suite)); } } foreach ($warnings as $w) { $mainSuite->addTest($w); } } public function addError($test, \Exception $e, $time) { if (false !== self::$enabledPolyfills) { $r = new \ReflectionProperty('Exception', 'message'); $r->setAccessible(true); $r->setValue($e, 'Polyfills enabled, '.$r->getValue($e)); } } }
Close