Zip
extends ZipArchive
in package
Extends ZipArchive class to add a check for Zip Bombing
Table of Contents
Properties
- $opened : mixed
Methods
- close() : bool
- isZipBomb() : bool
- Check if the zip archive is a Zip Bomb
- open() : mixed
Properties
$opened
protected
mixed
$opened
= false
Methods
close()
public
close() : bool
Tags
Return values
boolisZipBomb()
Check if the zip archive is a Zip Bomb
public
isZipBomb() : bool
Return values
boolopen()
public
open(mixed $filename[, mixed $flags = 0 ][, bool $checkZipBomb = true ]) : mixed
Parameters
- $filename : mixed
- $flags : mixed = 0
- $checkZipBomb : bool = true
-
If true, check for Zip Bombing