Trait Bomb
Responsibility: Detect if uploaded file is not ZIP or PNG bomb.
Direct Known Users
MvcCore\Ext\Forms\Validators\Files
Namespace: MvcCore\Ext\Forms\Validators\Files\Validations
Located at ext-form-field-file/src/MvcCore/Ext/Forms/Validators/Files/Validations/Bomb.php
Located at ext-form-field-file/src/MvcCore/Ext/Forms/Validators/Files/Validations/Bomb.php
protected
boolean|null
|
#
validateBomb( string & $file, string $uploadedFileName,…, integer $level,… )
Try to detect archive bomb if necessary. |
protected
stdClass
|
#
validateBombRecursive( string $fullPath, stdClass & $recursiveInfo, integer $level = 0 )
Try to detect file bomb recursively. |
protected
|
|
protected
stdClass
|
#
validateBombRecursiveArchive(
Try to detect ZIP bomb recursively. |
protected
stdClass
|
#
validateBombRecursiveArchiveEntriesSize(
Complete all nested items size recursivelly. If there is detected any ZIP bomb aspect, stop the recursion. |
protected
|