Ghost Exploiter Team Official
Mass Deface
Directory >>
/
var
/
www
/
html
/
back
/
vendor
/
react
/
dns
/
src
/
Query
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
type
file
dir
+File/Dir
CachingExecutor.php
2.672KB
edt
ren
CancellationException.php
0.097KB
edt
ren
CoopExecutor.php
3.352KB
edt
ren
ExecutorInterface.php
1.427KB
edt
ren
FallbackExecutor.php
1.679KB
edt
ren
HostsFileExecutor.php
2.979KB
edt
ren
Query.php
1.953KB
edt
ren
RetryExecutor.php
2.763KB
edt
ren
SelectiveTransportExecu
...
3.048KB
edt
ren
TcpTransportExecutor.php
13.635KB
edt
ren
TimeoutException.php
0.085KB
edt
ren
TimeoutExecutor.php
2.694KB
edt
ren
UdpTransportExecutor.php
8.344KB
edt
ren
<?php namespace React\Dns\Query; use React\Promise\Deferred; use React\Promise\PromiseInterface; final class RetryExecutor implements ExecutorInterface { private $executor; private $retries; public function __construct(ExecutorInterface $executor, $retries = 2) { $this->executor = $executor; $this->retries = $retries; } public function query(Query $query) { return $this->tryQuery($query, $this->retries); } public function tryQuery(Query $query, $retries) { $deferred = new Deferred(function () use (&$promise) { if ($promise instanceof PromiseInterface && \method_exists($promise, 'cancel')) { $promise->cancel(); } }); $success = function ($value) use ($deferred, &$errorback) { $errorback = null; $deferred->resolve($value); }; $executor = $this->executor; $errorback = function ($e) use ($deferred, &$promise, $query, $success, &$errorback, &$retries, $executor) { if (!$e instanceof TimeoutException) { $errorback = null; $deferred->reject($e); } elseif ($retries <= 0) { $errorback = null; $deferred->reject($e = new \RuntimeException( 'DNS query for ' . $query->describe() . ' failed: too many retries', 0, $e )); // avoid garbage references by replacing all closures in call stack. // what a lovely piece of code! $r = new \ReflectionProperty('Exception', 'trace'); if (\PHP_VERSION_ID < 80100) { $r->setAccessible(true); } $trace = $r->getValue($e); // Exception trace arguments are not available on some PHP 7.4 installs // @codeCoverageIgnoreStart foreach ($trace as $ti => $one) { if (isset($one['args'])) { foreach ($one['args'] as $ai => $arg) { if ($arg instanceof \Closure) { $trace[$ti]['args'][$ai] = 'Object(' . \get_class($arg) . ')'; } } } } // @codeCoverageIgnoreEnd $r->setValue($e, $trace); } else { --$retries; $promise = $executor->query($query)->then( $success, $errorback ); } }; $promise = $this->executor->query($query)->then( $success, $errorback ); return $deferred->promise(); } }