Linux sg77.dns-private.com 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
LiteSpeed
Server IP : 135.181.230.13 & Your IP : 216.73.216.199
Domains :
Cant Read [ /etc/named.conf ]
User : pilasate
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
pilasate /
schoolms /
vendor /
symfony /
console /
Delete
Unzip
Name
Size
Permission
Date
Action
Attribute
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
CI
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Command
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
CommandLoader
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Completion
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
DataCollector
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Debug
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
DependencyInjection
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Descriptor
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Event
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
EventListener
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Exception
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Formatter
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Helper
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Input
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Logger
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Messenger
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Output
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Question
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Resources
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
SignalRegistry
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Style
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Tester
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Application.php
46.71
KB
-rw-rw-rw-
2024-12-10 16:49
CHANGELOG.md
11.37
KB
-rw-rw-rw-
2024-12-10 16:49
Color.php
3.7
KB
-rw-rw-rw-
2024-12-10 16:49
ConsoleEvents.php
2.12
KB
-rw-rw-rw-
2024-12-10 16:49
Cursor.php
3.88
KB
-rw-rw-rw-
2024-12-10 16:49
LICENSE
1.04
KB
-rw-rw-rw-
2024-12-10 16:49
README.md
782
B
-rw-rw-rw-
2024-12-10 16:49
SingleCommandApplication.php
1.75
KB
-rw-rw-rw-
2024-12-10 16:49
Terminal.php
6.61
KB
-rw-rw-rw-
2024-12-10 16:49
composer.json
1.63
KB
-rw-rw-rw-
2024-12-10 16:49
Save
Rename
<?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\Console; use Symfony\Component\Console\Output\OutputInterface; /** * @author Pierre du Plessis <pdples@gmail.com> */ final class Cursor { /** @var resource */ private $input; /** * @param resource|null $input */ public function __construct( private OutputInterface $output, $input = null, ) { $this->input = $input ?? (\defined('STDIN') ? \STDIN : fopen('php://input', 'r+')); } /** * @return $this */ public function moveUp(int $lines = 1): static { $this->output->write(\sprintf("\x1b[%dA", $lines)); return $this; } /** * @return $this */ public function moveDown(int $lines = 1): static { $this->output->write(\sprintf("\x1b[%dB", $lines)); return $this; } /** * @return $this */ public function moveRight(int $columns = 1): static { $this->output->write(\sprintf("\x1b[%dC", $columns)); return $this; } /** * @return $this */ public function moveLeft(int $columns = 1): static { $this->output->write(\sprintf("\x1b[%dD", $columns)); return $this; } /** * @return $this */ public function moveToColumn(int $column): static { $this->output->write(\sprintf("\x1b[%dG", $column)); return $this; } /** * @return $this */ public function moveToPosition(int $column, int $row): static { $this->output->write(\sprintf("\x1b[%d;%dH", $row + 1, $column)); return $this; } /** * @return $this */ public function savePosition(): static { $this->output->write("\x1b7"); return $this; } /** * @return $this */ public function restorePosition(): static { $this->output->write("\x1b8"); return $this; } /** * @return $this */ public function hide(): static { $this->output->write("\x1b[?25l"); return $this; } /** * @return $this */ public function show(): static { $this->output->write("\x1b[?25h\x1b[?0c"); return $this; } /** * Clears all the output from the current line. * * @return $this */ public function clearLine(): static { $this->output->write("\x1b[2K"); return $this; } /** * Clears all the output from the current line after the current position. */ public function clearLineAfter(): self { $this->output->write("\x1b[K"); return $this; } /** * Clears all the output from the cursors' current position to the end of the screen. * * @return $this */ public function clearOutput(): static { $this->output->write("\x1b[0J"); return $this; } /** * Clears the entire screen. * * @return $this */ public function clearScreen(): static { $this->output->write("\x1b[2J"); return $this; } /** * Returns the current cursor position as x,y coordinates. */ public function getCurrentPosition(): array { static $isTtySupported; if (!$isTtySupported ??= '/' === \DIRECTORY_SEPARATOR && stream_isatty(\STDOUT)) { return [1, 1]; } $sttyMode = shell_exec('stty -g'); shell_exec('stty -icanon -echo'); @fwrite($this->input, "\033[6n"); $code = trim(fread($this->input, 1024)); shell_exec(\sprintf('stty %s', $sttyMode)); sscanf($code, "\033[%d;%dR", $row, $col); return [$col, $row]; } }