extract Zip
Extracts a ZIP archive to a target directory with Zip-Slip protection.
Parameters
zip File
The ZIP archive to extract.
target Dir
The directory to extract into (created if it does not exist).
Throws
if any entry escapes the target directory.