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.217.69
Domains :
Cant Read [ /etc/named.conf ]
User : pilasate
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
pilasate /
schoolms /
vendor /
league /
csv /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Query
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
Serializer
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
AbstractCsv.php
18.2
KB
-rw-rw-rw-
2025-02-27 23:00
Bom.php
3.63
KB
-rw-rw-rw-
2025-02-27 23:00
Buffer.php
14.58
KB
-rw-rw-rw-
2025-02-27 23:00
ByteSequence.php
1.09
KB
-rw-rw-rw-
2025-02-27 23:00
CallbackStreamFilter.php
4.57
KB
-rw-rw-rw-
2025-02-27 23:00
CannotInsertRecord.php
1.44
KB
-rw-rw-rw-
2025-02-27 23:00
CharsetConverter.php
13.16
KB
-rw-rw-rw-
2025-02-27 23:00
ColumnConsistency.php
1.17
KB
-rw-rw-rw-
2025-02-27 23:00
EncloseField.php
4.25
KB
-rw-rw-rw-
2025-02-27 23:00
EscapeFormula.php
4.21
KB
-rw-rw-rw-
2025-02-27 23:00
Exception.php
437
B
-rw-rw-rw-
2025-02-27 23:00
FragmentFinder.php
13.07
KB
-rw-rw-rw-
2025-02-27 23:00
FragmentNotFound.php
407
B
-rw-rw-rw-
2025-02-27 23:00
HTMLConverter.php
7.3
KB
-rw-rw-rw-
2025-02-27 23:00
HttpHeaders.php
1.88
KB
-rw-rw-rw-
2025-02-27 23:00
Info.php
2.38
KB
-rw-rw-rw-
2025-02-27 23:00
InvalidArgument.php
3.96
KB
-rw-rw-rw-
2025-02-27 23:00
JsonConverter.php
18.97
KB
-rw-rw-rw-
2025-02-27 23:00
MapIterator.php
1.75
KB
-rw-rw-rw-
2025-02-27 23:00
RFC4180Field.php
6.8
KB
-rw-rw-rw-
2025-02-27 23:00
RdbmsResult.php
2.28
KB
-rw-rw-rw-
2025-02-27 23:00
Reader.php
17.39
KB
-rw-rw-rw-
2025-02-27 23:00
ResultSet.php
20.3
KB
-rw-rw-rw-
2025-02-27 23:00
Statement.php
16.9
KB
-rw-rw-rw-
2025-02-27 23:00
Stream.php
15.21
KB
-rw-rw-rw-
2025-02-27 23:00
StreamFilter.php
5.59
KB
-rw-rw-rw-
2025-02-27 23:00
SwapDelimiter.php
5.37
KB
-rw-rw-rw-
2025-02-27 23:00
SyntaxError.php
1.64
KB
-rw-rw-rw-
2025-02-27 23:00
TabularData.php
2.24
KB
-rw-rw-rw-
2025-02-27 23:00
TabularDataReader.php
5.13
KB
-rw-rw-rw-
2025-02-27 23:00
TabularDataWriter.php
1.21
KB
-rw-rw-rw-
2025-02-27 23:00
UnableToProcessCsv.php
363
B
-rw-rw-rw-
2025-02-27 23:00
UnavailableFeature.php
1.05
KB
-rw-rw-rw-
2025-02-27 23:00
UnavailableStream.php
787
B
-rw-rw-rw-
2025-02-27 23:00
Writer.php
9.92
KB
-rw-rw-rw-
2025-02-27 23:00
XMLConverter.php
8.89
KB
-rw-rw-rw-
2025-02-27 23:00
functions.php
1.6
KB
-rw-rw-rw-
2025-02-27 23:00
functions_include.php
342
B
-rw-rw-rw-
2025-02-27 23:00
Save
Rename
<?php /** * League.Csv (https://csv.thephpleague.com) * * (c) Ignace Nyamagana Butera <nyamsprod@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace League\Csv; use SplFileObject; use Stringable; use Throwable; use ValueError; enum Bom: string { case Utf32Le = "\xFF\xFE\x00\x00"; case Utf32Be = "\x00\x00\xFE\xFF"; case Utf16Be = "\xFE\xFF"; case Utf16Le = "\xFF\xFE"; case Utf8 = "\xEF\xBB\xBF"; public static function fromSequence(mixed $sequence): self { return self::tryFromSequence($sequence) ?? throw new ValueError('No BOM sequence could be found on the given sequence.'); } public static function tryFromSequence(mixed $sequence): ?self { $str = match (true) { $sequence instanceof SplFileObject, $sequence instanceof Stream => self::getContents($sequence, 4, 0), is_resource($sequence) => stream_get_contents($sequence, 4, 0), $sequence instanceof AbstractCsv => $sequence->getInputBOM(), $sequence instanceof Stringable, is_string($sequence) => substr((string) $sequence, 0, 4), default => $sequence, }; if (!is_string($str) || '' === rtrim($str)) { return null; } foreach (self::cases() as $bom) { if (str_starts_with($str, $bom->value)) { return $bom; } } return null; } private static function getContents(Stream|SplFileObject $sequence, int $length, int $offset): ?string { $position = $sequence->ftell(); if (false === $position) { return null; } try { $sequence->fseek($offset); $str = $sequence->fread($length); $sequence->fseek($position); if (false === $str) { return null; } return $str; } catch (Throwable) { return null; } } public static function fromEncoding(string $name): self { return self::tryFromEncoding($name) ?? throw new ValueError('Unknown or unsupported BOM name `'.$name.'`.'); } /** * @see https://unicode.org/faq/utf_bom.html#gen7 */ public static function tryFromEncoding(string $name): ?self { return match (strtoupper(str_replace(['_', '-'], '', $name))) { 'UTF8' => self::Utf8, 'UTF16', 'UTF16BE' => self::Utf16Be, 'UTF16LE' => self::Utf16Le, 'UTF32', 'UTF32BE' => self::Utf32Be, 'UTF32LE' => self::Utf32Le, default => null, }; } public function length(): int { return strlen($this->value); } public function encoding(): string { return match ($this) { self::Utf16Le => 'UTF-16LE', self::Utf16Be => 'UTF-16BE', self::Utf32Le => 'UTF-32LE', self::Utf32Be => 'UTF-32BE', self::Utf8 => 'UTF-8', }; } public function isUtf8(): bool { return match ($this) { self::Utf8 => true, default => false, }; } public function isUtf16(): bool { return match ($this) { self::Utf16Le, self::Utf16Be => true, default => false, }; } public function isUtf32(): bool { return match ($this) { self::Utf32Le, self::Utf32Be => true, default => false, }; } }