UnPackFile Deprecated

Deprecated. Use the UnzipFile script instead. UnPack a file using fileName or entryID to specify a file. Files unpacked will be pushed to the war room and names will be pushed to the context. supported types are: 7z (.7z), ACE (.ace), ALZIP (.alz), AR (.a), ARC (.arc), ARJ (.arj), BZIP2 (.bz2), CAB (.cab), compress (.Z), CPIO (.cpio), DEB (.deb), DMS (.dms), GZIP (.gz), LRZIP (.lrz), LZH (.lha, .lzh), LZIP (.lz), LZMA (.lzma), LZOP (.lzo), RPM (.rpm), RAR (.rar), RZIP (.rz), TAR (.tar), XZ (.xz), ZIP (.zip, .jar) and ZOO (.zoo)

python · Common Scripts

Details

IDUnPackFile
Languagepython
From Version5.0.0
Docker Imagedemisto/unrar:1.4
TagsUtility file

README

Unpacks a file using the fileName or entryID to specify a file. Files unpacked will be pushed to the War Room and names will be pushed to the context.

Supported types include, 7z (.7z), ACE (.ace), ALZIP (.alz), AR (.a), ARC (.arc), ARJ (.arj), BZIP2 (.bz2), CAB (.cab), compress (.Z), CPIO (.cpio), DEB (.deb), DMS (.dms), GZIP (.gz), LRZIP (.lrz), LZH (.lha, .lzh), LZIP (.lz), LZMA (.lzma), LZOP (.lzo), RPM (.rpm), RAR (.rar), RZIP (.rz), TAR (.tar), XZ (.xz), ZIP (.zip, .jar) and ZOO (.zoo)

Script Data


Name Description
Script Type python
Tags Utility, file

Inputs


Argument Name Description
fileName The name of the file to unpack.
entryID The entry ID of the attached packed file in the War Room.
lastPackedFileInWarroom The packaged file extension in the set to look for the last of its kind in the War Room.

Outputs


Path Description Type
ExtractedFiles The list of file names which are extracted from the package. Unknown
commonfields:
  id: UnPackFile
  version: -1
name: UnPackFile
script: ''
type: python
subtype: python2
tags:
- Utility
- file
comment: |-
  Deprecated. Use the UnzipFile script instead. UnPack a file using fileName or entryID to specify a file. Files unpacked will be pushed to the war room and names will be pushed to the context.
  supported types are:
  7z (.7z), ACE (.ace), ALZIP (.alz), AR (.a), ARC (.arc), ARJ (.arj), BZIP2 (.bz2), CAB (.cab), compress (.Z), CPIO (.cpio), DEB (.deb), DMS (.dms), GZIP (.gz), LRZIP (.lrz), LZH (.lha, .lzh), LZIP (.lz), LZMA (.lzma), LZOP (.lzo), RPM (.rpm), RAR (.rar), RZIP (.rz), TAR (.tar), XZ (.xz), ZIP (.zip, .jar) and ZOO (.zoo)
enabled: true
args:
- name: fileName
  default: true
  description: Name of the file to unpack.
- name: entryID
  description: The entry id of the attached packed file in the warroom.
- name: lastPackedFileInWarroom
  description: Set to package file extension to look for the last of its kind in the war room.
outputs:
- contextPath: ExtractedFiles
  description: List of file names which extracted from package.
scripttarget: 0
dockerimage: demisto/unrar:1.4
fromversion: 5.0.0
deprecated: true
tests:
- No tests (auto formatted)