Linux vmi2545633.contaboserver.net 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Apache/2.4.62 (Debian)
Server IP : 127.0.0.1 & Your IP : 127.0.0.1
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
softmedya.net /
vendor /
laravel /
pail /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Console
[ DIR ]
drwxr-xr-x
2025-06-05 13:55
Contracts
[ DIR ]
drwxr-xr-x
2025-06-05 13:55
Guards
[ DIR ]
drwxr-xr-x
2025-06-05 13:55
Printers
[ DIR ]
drwxr-xr-x
2025-06-05 13:55
ValueObjects
[ DIR ]
drwxr-xr-x
2025-06-05 13:55
File.php
1.86
KB
-rw-r--r--
2025-06-05 13:55
Files.php
540
B
-rw-r--r--
2025-06-05 13:55
Handler.php
4.24
KB
-rw-r--r--
2025-06-05 13:55
LoggerFactory.php
652
B
-rw-r--r--
2025-06-05 13:55
Options.php
2.05
KB
-rw-r--r--
2025-06-05 13:55
PailServiceProvider.php
2.34
KB
-rw-r--r--
2025-06-05 13:55
ProcessFactory.php
1.84
KB
-rw-r--r--
2025-06-05 13:55
Save
Rename
<?php namespace Laravel\Pail; use Illuminate\Support\Facades\Process; use Illuminate\Support\Str; use Laravel\Pail\Printers\CliPrinter; use Laravel\Pail\ValueObjects\MessageLogged; use Symfony\Component\Console\Output\OutputInterface; class ProcessFactory { /** * Creates a new instance of the process factory. */ public function run(File $file, OutputInterface $output, string $basePath, Options $options): void { $printer = new CliPrinter($output, $basePath); $remainingBuffer = ''; Process::timeout($options->timeout()) ->tty(false) ->run( $this->command($file), function (string $type, string $buffer) use ($options, $printer, &$remainingBuffer) { $lines = Str::of($buffer)->explode("\n"); if ($remainingBuffer !== '' && isset($lines[0])) { $lines[0] = $remainingBuffer.$lines[0]; $remainingBuffer = ''; } if ($lines->last() === '') { $lines = $lines->slice(0, -1); } elseif (! str_ends_with((string) $lines->last(), "\n")) { $remainingBuffer = $lines->pop(); } $lines ->filter(fn (string $line) => $line !== '') ->map(fn (string $line) => MessageLogged::fromJson($line)) ->filter(fn (MessageLogged $messageLogged) => $options->accepts($messageLogged)) ->each(fn (MessageLogged $messageLogged) => $printer->print($messageLogged)); } ); } /** * Returns the raw command. */ protected function command(File $file): string { return '\\tail -F "'.$file->__toString().'"'; } }