Base64ListToFile
This Script is part of the Common Scripts Pack.#
Converts Base64 file in a list to a binary file and upload to warroom
Script Data#
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | list, Utility |
| Cortex XSOAR Version | 5.0.0 |
Inputs#
| Argument Name | Description |
|---|---|
| listname | List Name of Base64 item (need to be a single file in list) |
| filename | Optional Warroom Output Filename (default filename is list name) |
| isZipFile | Is data compressed (zip format)? |
Outputs#
| Path | Description | Type |
|---|---|---|
| File.Name | Filename (only in case of report type=json) | Unknown |
| File.Type | File type e.g. "PE" (only in case of report type=json) | Unknown |
| File.Size | File size (only in case of report type=json) | Unknown |
| File.MD5 | MD5 hash of the file (only in case of report type=json) | Unknown |
| File.SHA1 | SHA1 hash of the file (only in case of report type=json) | Unknown |
| File.SHA256 | SHA256 hash of the file (only in case of report type=json) | Unknown |
| File.EntryID | EntryID of the file (only in case of report type=json) | Unknown |
Script Examples#
Example command#
!Base64ListToFile listname="test_list_name" filename="test_file_name.txt" isZipFile="no"