Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.159
Cant Read [ /etc/named.conf ]
8.1.31
www-data
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
README
+ Create Folder
+ Create File
/
var /
www /
html /
sdgamatya /
vendor /
symfony /
process /
[ HOME SHELL ]
Name
Size
Permission
Action
Exception
[ DIR ]
drwxr-xr-x
Pipes
[ DIR ]
drwxr-xr-x
Tests
[ DIR ]
drwxr-xr-x
.gitignore
37
B
-rw-r--r--
CHANGELOG.md
1.53
KB
-rw-r--r--
ExecutableFinder.php
2.63
KB
-rw-r--r--
InputStream.php
2.24
KB
-rw-r--r--
LICENSE
1.06
KB
-rw-r--r--
PhpExecutableFinder.php
2.29
KB
-rw-r--r--
PhpProcess.php
2.54
KB
-rw-r--r--
Process.php
56.51
KB
-rw-r--r--
ProcessBuilder.php
7
KB
-rw-r--r--
ProcessUtils.php
4.05
KB
-rw-r--r--
README.md
490
B
-rw-r--r--
composer.json
791
B
-rw-r--r--
phpunit.xml.dist
864
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : InputStream.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\Component\Process; use Symfony\Component\Process\Exception\RuntimeException; /** * Provides a way to continuously write to the input of a Process until the InputStream is closed. * * @author Nicolas Grekas <p@tchwork.com> */ class InputStream implements \IteratorAggregate { private $onEmpty = null; private $input = array(); private $open = true; /** * Sets a callback that is called when the write buffer becomes empty. */ public function onEmpty(callable $onEmpty = null) { $this->onEmpty = $onEmpty; } /** * Appends an input to the write buffer. * * @param resource|scalar|\Traversable|null The input to append as stream resource, scalar or \Traversable */ public function write($input) { if (null === $input) { return; } if ($this->isClosed()) { throw new RuntimeException(sprintf('%s is closed', static::class)); } $this->input[] = ProcessUtils::validateInput(__METHOD__, $input); } /** * Closes the write buffer. */ public function close() { $this->open = false; } /** * Tells whether the write buffer is closed or not. */ public function isClosed() { return !$this->open; } public function getIterator() { $this->open = true; while ($this->open || $this->input) { if (!$this->input) { yield ''; continue; } $current = array_shift($this->input); if ($current instanceof \Iterator) { foreach ($current as $cur) { yield $cur; } } else { yield $current; } if (!$this->input && $this->open && null !== $onEmpty = $this->onEmpty) { $this->write($onEmpty($this)); } } } }
Close