__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
declare(strict_types=1);
namespace ZipStream;
/**
* @internal
*/
abstract class EndOfCentralDirectory
{
private const SIGNATURE = 0x06054b50;
public static function generate(
int $numberOfThisDisk,
int $numberOfTheDiskWithCentralDirectoryStart,
int $numberOfCentralDirectoryEntriesOnThisDisk,
int $numberOfCentralDirectoryEntries,
int $sizeOfCentralDirectory,
int $centralDirectoryStartOffsetOnDisk,
string $zipFileComment,
): string {
/** @psalm-suppress MixedArgument */
return PackField::pack(
new PackField(format: 'V', value: static::SIGNATURE),
new PackField(format: 'v', value: $numberOfThisDisk),
new PackField(format: 'v', value: $numberOfTheDiskWithCentralDirectoryStart),
new PackField(format: 'v', value: $numberOfCentralDirectoryEntriesOnThisDisk),
new PackField(format: 'v', value: $numberOfCentralDirectoryEntries),
new PackField(format: 'V', value: $sizeOfCentralDirectory),
new PackField(format: 'V', value: $centralDirectoryStartOffsetOnDisk),
new PackField(format: 'v', value: strlen($zipFileComment)),
) . $zipFileComment;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Exception | Folder | 0777 |
|
|
| Zip64 | Folder | 0777 |
|
|
| Zs | Folder | 0777 |
|
|
| CentralDirectoryFileHeader.php | File | 1.91 KB | 0777 |
|
| CompressionMethod.php | File | 2.09 KB | 0777 |
|
| DataDescriptor.php | File | 616 B | 0777 |
|
| EndOfCentralDirectory.php | File | 1.22 KB | 0777 |
|
| Exception.php | File | 103 B | 0777 |
|
| File.php | File | 13.06 KB | 0777 |
|
| GeneralPurposeBitFlag.php | File | 2.39 KB | 0777 |
|
| LocalFileHeader.php | File | 1.31 KB | 0777 |
|
| OperationMode.php | File | 803 B | 0777 |
|
| PackField.php | File | 1.44 KB | 0777 |
|
| Time.php | File | 1.09 KB | 0777 |
|
| Version.php | File | 178 B | 0777 |
|
| ZipStream.php | File | 27.08 KB | 0777 |
|